Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on Rhel8 - no Objective-C Compiler support ? #79

Open
morgancoxuk opened this issue Nov 6, 2019 · 3 comments
Open

Compiling on Rhel8 - no Objective-C Compiler support ? #79

morgancoxuk opened this issue Nov 6, 2019 · 3 comments

Comments

@morgancoxuk
Copy link

Hi.

Any way of compiling this on a rhel8 system ? As they dropped Objective-C Compiler support, there are no gcc Objective-C packages available.

@zt-sv
Copy link

zt-sv commented Dec 3, 2020

Hi,
You could add this repo:

[csi-gcc]
name=csi-gcc
baseurl=https://dl.cloudsmith.io/public/csi/gcc/rpm/el/8/$basearch
enabled=1
gpgkey=https://dl.cloudsmith.io/public/csi/gcc/cfg/gpg/gpg.7E04A007BA668C3C.key
gpgcheck=1

install gcc-objc package, which add Objective-C support for GCC. And compile :)

But, first you have to compile re2c package, which also missed on RHEL8.

I added a full solution into this Ansible role: kyl191/ansible-role-openvpn#123

@robert-scheck
Copy link

I started working on getting openvpn-auth-ldap directly into EPEL 8, this also avoids the usage of (untrusted) third-party repositories.

robert-scheck added a commit to robert-scheck/openvpn-auth-ldap that referenced this issue Sep 27, 2021
…threerings#79)

Red Hat decided to remove the support for the Objective C language for Red
Hat Enterprise Linux 8 (and later) from the GCC packages. Unfortunately GCC
is not really modular, so /usr/bin/gcc keeps telling "Objective-C compiler
not installed on this system" until the alternative GCC /usr/bin/gobjc from
the gcc-objc RPM package from Fedora EPEL 8 is being used.
@robert-scheck
Copy link

robert-scheck commented Oct 9, 2021

Meanwhile the openvpn-auth-ldap RPM package landed in EPEL 8 (including its build chain for those who would like to build the package on their own, however this needs #85 to be manually applied until it's merged).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants