openvpn-auth-ldap icon indicating copy to clipboard operation
openvpn-auth-ldap copied to clipboard

Compiling on Rhel8 - no Objective-C Compiler support ?

Open morgancoxuk opened this issue 6 years ago • 3 comments
trafficstars

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.

morgancoxuk avatar Nov 06 '19 16:11 morgancoxuk

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

zt-sv avatar Dec 03 '20 13:12 zt-sv

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

robert-scheck avatar Jul 18 '21 15:07 robert-scheck

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).

robert-scheck avatar Oct 09 '21 19:10 robert-scheck