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

Re: db linkage -- better, but still not quite right.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-09-05 20:46:24 CEST

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:

> >
> > So... can we make static linkage aware of the local db tree?
> >
> I thought it should already. The link line should be "-L$dbdir
> -ldb", and the linker should use a specified library path before a
> system one shouldn't it?

Um, my libsvn_fs link line looks like:

cd subversion/libsvn_fs && /usr/local/bin/bash /usr/home/sussman/projects/svn/trunk/libtool --silent --mode=link gcc -D_REENTRANT -D_THREAD_SAFE -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I./apr/include -I./neon/src -I./expat-lite -I/usr/home/sussman/projects/db/dist -rpath /usr/local/lib -o libsvn_fs.la dbt.lo reps-table.lo skel.lo id.lo rev-table.lo node-rev.lo txn.lo fs.lo reps-strings.lo tree.lo key-gen.lo txn-table.lo nodes-table.lo dag.lo validate.lo err.lo strings-table.lo proplist.lo trail.lo -L/usr/home/sussman/projects/db/dist -ldb -lm -lcrypt

As you say, the -L and -l look correct.

My link line for 'svn' looks like:

/svn/trunk/libtool --silent --mode=link gcc -D_REENTRANT -D_THREAD_SAFE -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I./apr/include -I./neon/src -I./expat-lite -I/usr/home/sussman/projects/db/dist -rpath /usr/local/lib -o svn propget-cmd.o prompt.o trace-update.o proplist-cmd.o util.o import-cmd.o diff-cmd.o revert-cmd.o diff.o propdel-cmd.o checkout-cmd.o props.o delete-cmd.o propset-cmd.o add-cmd.o commit-cmd.o help-cmd.o cleanup-cmd.o feedback.o trace-commit.o status-cmd.o main.o update-cmd.o status.o ../../../subversion/libsvn_client/libsvn_client.la ../../../subversion/libsvn_wc/libsvn_wc.la ../../../subversion/libsvn_ra/libsvn_ra.la ../../../subversion/libsvn_delta/libsvn_delta.la ../../../subversion/libsvn_subr/libsvn_subr.la /usr/home/sussman/projects/svn/trunk/apr/libapr.la ../../../expat-lite/libexpat.la -lm -lcrypt

 
> Does your configure output include the line:
> "checking for built-in Berkeley DB ...yes"?

Definitely.

>
> Did you rename the 3.3.11 tree to db from db-3.3.11?
>

Definitely.

---------------------------------------------------------------------
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:40 2006

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