Compilation Issue

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Fri May 3 15:31:02 CEST 2019


Hi Alex,

I will not argue with all the community 😊
I prefer indeed to use pre-built binaries but in that case it will not be useful for what I want to do.
I have a different point of view regarding the compilation issue but the life is like that, a community with different people & different points of view 😊

So please keep cool on this. It's now compiled without any problems with standard GCC & on Centos 6.

Have a nice end of week & thanks for being here.


-----Message d'origine-----
De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz at lists.freeradius.org> De la part de Alex Perez
Envoyé : vendredi 3 mai 2019 15:21
À : freeradius-users at lists.freeradius.org
Objet : Re: Compilation Issue


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

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



More information about the Freeradius-Users mailing list