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

build probs on FreeBSD

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-05-29 20:50:23 CEST

gstein, thank you for the new build system.... after a 4-day camping
trip, this a great surprise to return to!

I'm thrilled that I can type "make" instead of "gmake" now.

So on my FreeBSD 4.2 box, I run

  $ ./autogen.sh
  $ ./configure --enable-maintainer-mode --disable-shared
  $ make clean

...as usual, no problems. The configure script detects my DB3 libs as
usual. Then I run

  $ make

and get, after a bit of compiling:

--------
gcc -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/db3 -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I/usr/home/sussman/projects/subversion -I./apr/include -I./neon/src -I./expat-lite -o subversion/tests/libsvn_subr/hashdump-test.o -c subversion/tests/libsvn_subr/hashdump-test.c
cd subversion/tests/libsvn_subr && /usr/local/bin/bash /usr/home/sussman/projects/subversion/libtool --silent --mode=link gcc -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/db3 -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I/usr/home/sussman/projects/subversion -I./apr/include -I./neon/src -I./expat-lite -rpath /usr/local/lib -o hashdump-test hashdump-test.o ../../../subversion/tests/libsvn_test.la /usr/home/sussman/projects/subversion/subversion/libsvn_fs/libsvn_fs.la ../../../subversion/libsvn_delta/libsvn_delta.la ../../../subversion/libsvn_subr/libsvn_subr.la /usr/home/sussman/projects/subversion/apr/libapr.la /usr/home/sussman/projects/subversion/apr/shmem/unix/mm/libmm.la /usr/home/sussman/projects/subversion/expat-lite/libexpat.la -lm -lcrypt -L/usr/local/lib -ldb
libtool: link: `/usr/home/sussman/projects/subversion/subversion/libsvn_fs/libsvn_fs.la' is not a valid libtool archive
--------

I have no idea why 'hashdump-test' depends on libsvn_fs. Of course I
can get past this hurdle with a 'make libsvn_fs' from the top -- which
I do. I now re-run 'make'.

When it attempts to link the 'svn' binary, it stops:

--------
libtool: link: `/usr/home/sussman/projects/subversion/subversion/libsvn_ra_local/libsvn_ra_local.la' is not a valid libtool archive
--------

Once again, I have to manually 'make libsvn_ra_local'.
Then I run 'make' and again, the link stage of 'svn' stops again:

-------
libtool: link: `/usr/home/sussman/projects/subversion/subversion/libsvn_repos/libsvn_repos.la' is not a valid libtool archive
-------

I manually 'make libsvn_repos'.
I run 'make' again, and 'svn' links just fine.

Eventually, it attempts to link ra-local-test:

-------
/usr/libexec/elf/ld: cannot find -lsvn_repos
-------

At this point I give up, and offer a shell account on my box to
gstein. ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:30 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.