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

Getting "make install" to succeed...

From: Peter Raymond <Peter.Raymond_at_merant.com>
Date: 2001-07-04 18:32:53 CEST

Hi,

Does anyone know how to solve the problem where "make install"
is failing because it has changed directory.
I noticed in earlier posts in this group that others had also
found this problem, but I could not find a post describing any
workaround or solution.

I am building subversion on Solaris 2.7 using autoconf 2.50 and
libtool 1.4.

I have done a successful autogen, configure and make, but the
"make install" fails. It seems to have changed directory to
the libsvn_ra_dav directory but not changed back, it then fails
looking for the relative path:
 
"subversion/libsvn_ra_dav/.libs/libsvn_ra_dav.so.0.0.0T"

I am not using GNU make, I am using the Sun SparcWorks compiler and
tools, do you think this might be the problem?

The tail of my make log reads:

cd /export/hitomi/tmp/subversion/subversion/libsvn_ra_dav; /bin/sh
/export/hitomi/tmp/subversion/libtool --mode=relink gcc -DSOLARIS2=7
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthreads -I./subversion/include -I.
-I./apr/include -I./neon/src -I./expat-lite
-I/usr/local/BerkeleyDB.3.2/include -rpath /usr/local/lib -o
libsvn_ra_dav.la commit.lo fetch.lo merge.lo props.lo options.lo session.lo
util.lo -L/export/hitomi/tmp/subversion/neon/src -lneon -lm -lsocket -lnsl
-lsocket -lnsl -ldl
/usr/ccs/bin/ld -G -h libsvn_ra_dav.so.0 -o .libs/libsvn_ra_dav.so.0.0.0
commit.lo fetch.lo merge.lo props.lo options.lo session.lo util.lo
-R/usr/local/lib -L/export/hitomi/tmp/subversion/neon/src -L/usr/local/lib
-lneon -lm -lsocket -lnsl -lsocket -lnsl -ldl -lc
/export/hitomi/tmp/subversion/apr/build/install.sh -c
subversion/libsvn_ra_dav/.libs/libsvn_ra_dav.so.0.0.0T
/usr/local/lib/libsvn_ra_dav.so.0.0.0
cp: cannot access subversion/libsvn_ra_dav/.libs/libsvn_ra_dav.so.0.0.0T
mv: cannot access /usr/local/lib/#inst.24371#
(cd /usr/local/lib && rm -f libsvn_ra_dav.so.0 && ln -s
libsvn_ra_dav.so.0.0.0 libsvn_ra_dav.so.0)
(cd /usr/local/lib && rm -f libsvn_ra_dav.so && ln -s libsvn_ra_dav.so.0.0.0
libsvn_ra_dav.so)
chmod +x /usr/local/lib/libsvn_ra_dav.so.0.0.0
chmod: WARNING: can't access /usr/local/lib/libsvn_ra_dav.so.0.0.0
make: *** [install-lib] Error 1

BTW...I also had to apply the patches that Jon Trowbridge posted
to the mailing list to get the code to link. Will these changes
be patched into the code base?

Regards,
Peter Raymond.
Received on Sat Oct 21 14:36:33 2006

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

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