Git master branch & Debian build

Olivier Beytrison olivier at heliosnet.org
Fri Nov 16 18:25:44 CET 2012



On 16.11.2012 16:55, Alan DeKok wrote:
> Olivier Beytrison wrote:
>> With those activated, it fails at linking rlm_sql_log.la
>> LINK rlm_sql_log.la rlm_sql_log.lo
>> libtool: link: warning: `-release' is ignored for convenience libraries
> 
>   Well, that's minor.
> 
>> ar:
>> /opt/src/freeradius/FR3/freeradius-server/src/modules/rlm_sql/.libs/.libs/rlm_sql.a:
>> No such file or directory
>> (there two times .libs in the path, when one is enough. editing the
>> Makefile and removing the .libs in RLM_LIBS works, but it fails further
>> down.
> 
>   I have no idea why the extra .libs is there.  Where is RLM_LIBS adding
> the .libs?  It shouldn't be doing that.
> 
>> --sourcedir=/opt/src/freeradius/FR3/freeradius-server/debian/tmp/ -p
>> libfreeradius3
>> dh_install: libfreeradius3 missing files
>> (usr/lib/freeradius/libfreeradius*-3.*.so), aborting
> 
>   Hmm... that should be there.
> 
>> usr/lib/freeradius/libfreeradius-radius-3.0.0.la -> libfreeradius-radius.la
>> usr/lib/freeradius/libfreeradius-radius.a
>> usr/lib/freeradius/libfreeradius-radius.la
>> usr/lib/freeradius/libfreeradius-radius.so
>>
>> so yeah no libfreeradius-3.*.so
> 
>   I hate libtool.  It's magic.  The authors seem to be hell-bent on
> making everyone's lives more difficult.
> 
>   We tell it to make a library with versioning.  What does it do?
> Create a ".la" with versioning, but not a ".so" with versioning.
> 
>   Libtool needs to die in fire.
> 
>   Change the debian build so that it uses --boilermake=yes, and delete
> --with-system-libltdl and --with-system-libtool.
> 

Tried with my git clone from yesterday but still got a weird error at
the begining of the package creation. cloned a fresh copy, added a few
arguments to debian/rules. Compilation is ok, weird error persist.

see http://pastebin.com/JDHm5dWq

-- 

 Olivier Beytrison
 Network & Security Engineer, HES-SO Fribourg

 Mail: olivier at heliosnet.org


More information about the Freeradius-Users mailing list