[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Compilation issue: 1.1.3 on Linux

From: Yves Martin <yves.martin_at_elca.ch>
Date: 2005-03-08 09:02:12 CET

"Max Bowsher" <maxb@ukf.net> writes:

> Yves Martin wrote:
>> Hello,
>>
>> I would like to report a compilation issue on Linux (maybe already known). I
>> have compiled 1.1.3 sources on Debian woody.
>>
>> The issue: if the libsasl is lacking, ./configure ends successfully but
>> compilation fails with a linkage error (-lsasl). Isn't it possible to enhance
>> the configure script so that this library is checked too ?
>
> Subversion doesn't use any SASL libraries. At all. In any way. I've no idea how
> you could possibly be seeing this kind of error.

 Maybe not directly... I do not know exactly what's the issue. To reproduce, I
 did the following job:

# dpkg -l | grep libsasl
ii libsasl-dev 1.5.27-3.1wood Development files for authentication abstrac
ii libsasl7 1.5.27-3.1wood Authentication abstraction library.

# dpkg --purge libsasl-dev
(Reading database ... 26260 files and directories currently installed.)
Removing libsasl-dev ...

# make
 [...]
gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2 -pthread -I./subversion/include -I./subversion -I/usr/include/apr-0 -I/usr/include/apr-0 -I/usr/include -o subversion/clients/cmdline/util.o -c subversion/clients/cmdline/util.c
cd subversion/clients/cmdline && /bin/sh /home/cvsadmin/dev/subversion-1.1.3/sources/libtool --silent --mode=link gcc -g -O2 -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2 -pthread -L/usr/lib -rpath /usr/local/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-0.la -lldap -llber -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lnsl -lpthread
/usr/bin/ld: cannot find -lsasl
collect2: ld returned 1 exit status
make: *** [subversion/clients/cmdline/svn] Error 1

Of course, after installing 'libsasl-dev', compilation goes on and succeeds.

It is not a critical issue: the error is clear and the correction obvious.

 Regards,

-- 
Yves Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 8 09:03:37 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.