Compilation Issue

Alex Perez Alex.Perez-Mendez at jisc.ac.uk
Fri May 3 15:20:55 CEST 2019


> On May 3, 2019, at 5:39 AM, Nicolas Breuer <Nicolas.Breuer at belcenter.biz> wrote:
>>
>> We found the issue, that was not linked to compiler / distri / gcc / librairies broken or something like that.
>>
>> The ./configure found an old library of lib-pcap (0.9) and used that library. That caused "the make" to crash.
>    So (a) yes, a library was broken.  And (b), "make" didn't crash.  Compilation failed.
>
>> Removing the entire directory solved all problems -> without libpcap, radius sniffer module was disabled and compiling was done in 2 minutes.
>    i.e. your local system was broken.
>
>    This kind of thing happens when you use a distribution that is wildly out of date, and then try to build newer software on it.
>
>    The solution (for everyone else reading) is don't use CentOS 6.  Or, if you do, use pre-built packages available at http://packages.networkradius.com
>
>    The problem here was arguing over and over and over again about the error and the solution.  There were simple fixes which weren't used.

Also, if you really need to build your own packages for CentOS 6 instead 
of using those pre-built ones (because you have a custom module or 
similar, as we do for Moonshot), you can always use a docker/lxc 
container, a VM, or even a chroot to start from a "clean" CentOS 6 
distribution, rather than trying to use a build system that has been 
proven to not work.  That will give you and us a way to reproduce your 
build process in case you find an actual bug.

Regards,
Alex

>
>    Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
Alejandro Perez-Mendez
Technical Specialist (AAA), Trust & Identity
M (+34) 619 333 219
Skype alejandro_perez_mendez
jisc.ac.uk

Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.  



More information about the Freeradius-Users mailing list