Compilation Issue
Nicolas Breuer
Nicolas.Breuer at belcenter.biz
Thu May 2 13:05:06 CEST 2019
-rw-r--r-- 1 root root 20M May 2 10:07 freeradius-server-3.0.19.tar
[root at ns1 freeradius-server-3.0.19]# tail -f VERSION
3.0.19
-----Message d'origine-----
De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz at lists.freeradius.org> De la part de Alan DeKok
Envoyé : jeudi 2 mai 2019 13:03
À : FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Objet : Re: Compilation Issue
On May 2, 2019, at 6:47 AM, Nicolas Breuer <Nicolas.Breuer at belcenter.biz> wrote:
>
> Seems linked to GCC < 4.9
>
> Using built-in specs.
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
> Thread model: posix
>
> gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
>
> So we cannot install freeradius 3.x on Centos 6.X systems.
Not true. http://packages.networkradius.com/releases/centos/6/repo/
We do it all of the time.
I think what you've done is download the git "master", instead of v3. Look at the VERSION file, or the "git branch" output.
The master branch requires a modern C compiler, and won't work with a compiler that's almost a decade old.
Use the v3.0.x branch. It *will* work.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list