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

Re: Libtool error in current CVS.

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2001-03-28 10:46:05 CEST

On Tue, 27 Mar 2001, Greg Stein wrote:

> On Tue, Mar 27, 2001 at 10:14:05PM -0800, Mo DeJong wrote:
> > Is anyone else seeing this?
>
> Nope :-)
>
> > /bin/sh ../../libtool --silent --mode=link gcc -pthread -o
> > libsvn_ra_local.la -rpath /usr/local/lib ra_plugin.lo split_url.lo
> > checkout.lo update.lo -L../../subversion/libsvn_fs/.libs -lsvn_fs
> > -L../../subversion/libsvn_delta/.libs -lsvn_delta
> > -L../../subversion/libsvn_subr/.libs -lsvn_subr -lm -lcrypt -lnsl -ldl
> > -L/home/mo/project/build/subversion/db/dist -ldb
> > ../../libtool: ../../subversion/libsvn_fs/.libs: No such file or directory
> > libtool: link: cannot determine absolute directory name of
> > `../../subversion/libsvn_fs/.libs'
> > make[3]: *** [libsvn_ra_local.la] Error 1
> > make[3]: Leaving directory
> > `/usr/local/project/build/subversion/subversion/libsvn_ra_local'
> > make[2]: *** [all-recursive] Error 1
>
> Did you try to build libsvn_ra_local before libsvn_fs? Maybe on your system,
> libsvn_fs and libsvn_ra_local aren't being built (due to missing -ldb), yet
> you went into a directory and tried to build one?

Looks like a little build order problem, this patch
fixes it (for me anyway).

Index: subversion/Makefile.am
===================================================================
RCS file: /cvs/subversion/subversion/Makefile.am,v
retrieving revision 1.25
diff -u -r1.25 Makefile.am
--- subversion/Makefile.am 2001/03/09 17:53:41 1.25
+++ subversion/Makefile.am 2001/03/28 08:40:37
@@ -8,9 +8,9 @@
           libsvn_wc \
           libsvn_ra \
           libsvn_ra_dav \
- libsvn_ra_local \
           libsvn_client \
           @FS_BASED_DIRS@ \
+ libsvn_ra_local \
           client \
           @APACHE_MODULES@ \
           tests

Now the reall strange part. When I try
to build that, it goes into the client
subdir and spits out and error like:

make[1]: Entering directory
`/usr/local/project/build/subversion/subversion/client'
/bin/sh ../../libtool --mode=link gcc -pthread -g
-Wall -o svn main.o status ...
...
gcc: /usr/local/project/build/subversion/neon/src/.libs/.libs/libneon.a:
No such
 file or directory
gcc:
/usr/local/project/build/subversion/subversion/libsvn_fs/.libs/.libs/libsvn
_fs.a: No such file or directory

I got rid of the --quiet argument to libtool, it seems
that somewhere along the way, libtool adds a second .libs
dir to the relative path it is looking up.

../../neon/src/libneon.la -> /usr/local/project/build/subversion/neon/src/.libs/.libs/libneon.a

This one has me stumped. Anyone have any ideas what might
have changed to cause this?

Mo DeJong
Red Hat Inc
Received on Sat Oct 21 14:36:26 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.