openvpn-auth-ldap
openvpn-auth-ldap copied to clipboard
Compiling on Rhel8 - no Objective-C Compiler support ?
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.
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: https://github.com/kyl191/ansible-role-openvpn/pull/123
I started working on getting openvpn-auth-ldap directly into EPEL 8, this also avoids the usage of (untrusted) third-party repositories.
- gcc-epel: https://bugzilla.redhat.com/show_bug.cgi?id=1983416
- gnustep-make: https://bugzilla.redhat.com/show_bug.cgi?id=1983417
- gnustep-base: https://bugzilla.redhat.com/show_bug.cgi?id=1983421
- openvpn-auth-ldap: https://bugzilla.redhat.com/show_bug.cgi?id=1981947
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).