Compilation Issue
Alan DeKok
aland at deployingradius.com
Thu May 2 13:03:06 CEST 2019
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.
More information about the Freeradius-Users
mailing list