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

Re: make install problem

From: Mark Gibson <mgibson_at_bdgp.lbl.gov>
Date: 2006-05-02 15:07:37 CEST

Ryan Schmidt wrote:
> On May 1, 2006, at 22:04, Mark Gibson wrote:
>
>> Im hitting a problem with make install (Suse 10.0). i configured with
>> --with-ssl
>>
>>
>> /usr/local/lib/svn/subversion-1.3.0/ac-helpers/install-sh -c -d /
>> usr/local/lib
>> cd subversion/libsvn_subr ; /bin/sh /usr/local/lib/svn/
>> subversion-1.3.0/libtool --mode=install /usr/local/lib/svn/
>> subversion-1.3.0/ac-helpers/install-sh -c libsvn_subr-1.la /usr/
>> local/lib/libsvn_subr-1.la
>> libtool: install: warning: relinking `libsvn_subr-1.la'
>> (cd /usr/local/lib/svn/subversion-1.3.0/subversion/libsvn_subr; /
>> bin/sh /usr/local/lib/svn/subversion-1.3.0/libtool --tag=CC -- silent
>> --mode=relink gcc -g -O2 -g -O2 -pthread - D_LARGEFILE64_SOURCE
>> -DNE_LFS -L/usr/local/lib/svn/subversion-1.3.0/ apr-util/xml/expat/lib
>> -rpath /usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo
>> config.lo config_auth.lo config_file.lo config_win.lo constructors.lo
>> ctype.lo date.lo error.lo hash.lo io.lo lock.lo md5.lo nls.lo opt.lo
>> path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo
>> svn_string.lo target.lo time.lo utf.lo utf_validate.lo validate.lo
>> version.lo xml.lo /usr/
>> local/lib/svn/subversion-1.3.0/apr-util/libaprutil-0.la -ldb2 /usr/
>> local/lib/svn/subversion-1.3.0/apr-util/xml/expat/lib/libexpat.la /
>> usr/local/lib/svn/subversion-1.3.0/apr/libapr-0.la -lrt -lm -lcrypt
>> -lnsl -lpthread -ldl )
>> /usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/
>> ld: cannot find -ldb2
>> collect2: ld returned 1 exit status
>> libtool: install: error: relink `libsvn_subr-1.la' with the above
>> command before installing it
>> make: *** [install-fsmod-lib] Error 1
>
>
> Not sure exactly.... it seems to think you have BerkeleyDB version 2
> during configure, but during link can't find it. BDB2 is of course
> ancient; current version is 4.3.
>
> Do you need BerkeleyDB? If not, or you don't know, I suggest building
> Subversion without BerkeleyDB support. There should be a flag to that
> effect.

Thanks Ryan for the quick reply, very helpful. I dont need BerkeleyDB, so i
added the --without-berkeley-db option to configure (in addition to --with-ssl).
But Im still having a problem on make install (configure & make seem to go ok).
libsvn_subr-1.so.0.0.0 cant be found (also -ldb2 seems to suspiciously still be
used)
....
/usr/local/lib/svn/subversion-1.3.0/ac-helpers/install-sh -c -d /usr/local/lib
cd subversion/libsvn_subr ; /bin/sh /usr/local/lib/svn/subversion-1.3.0/libtool
--mode=install /usr/local/lib/svn/subversion-1.3.0/ac-helpers/install-sh -c
libsvn_subr-1.la /usr/local/lib/libsvn_subr-1.la
libtool: install: warning: relinking `libsvn_subr-1.la'
(cd /usr/local/lib/svn/subversion-1.3.0/subversion/libsvn_subr; /bin/sh
/usr/local/lib/svn/subversion-1.3.0/libtool --tag=CC --silent --mode=relink gcc
-g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS
-L/usr/local/lib/svn/subversion-1.3.0/apr-util/xml/expat/lib -rpath
/usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo
config_file.lo config_win.lo constructors.lo ctype.lo date.lo error.lo hash.lo
io.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo
stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo
utf_validate.lo validate.lo version.lo xml.lo
/usr/local/lib/svn/subversion-1.3.0/apr-util/libaprutil-0.la -ldb2
/usr/local/lib/svn/subversion-1.3.0/apr-util/xml/expat/lib/libexpat.la
/usr/local/lib/svn/subversion-1.3.0/apr/libapr-0.la -lrt -lm -lcrypt -lnsl
-lpthread -ldl )
mv: cannot stat `libsvn_subr-1.so.0.0.0': No such file or directory
libtool: install: error: relink `libsvn_subr-1.la' with the above command before
installing it
make: *** [install-fsmod-lib] Error 1

Thanks for your help, Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 2 15:09:40 2006

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.