Philip Martin wrote:
> anton <anton@nezzwerk.com> writes:
>
>>apache 2.0.47
>>-------------
>>./buildconf
>>./configure --prefix=/opt/apache2/apache_2.0.47 --enable-dav --enable-so
>
>
> Does adding --with-dbm=db4 --with-berkeley-db=/... help?
>
>
----skipped----
>>/export/home/anton/tmp/subversion-0.24.2/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
>>attempted multiple inclusion of file
>>Undefined first referenced
>> symbol in file
>>gdbm_store /opt/apache2/apache_2.0.47/lib/libaprutil-0.so
>
>
> Yes, it's not being linked.
>
i have rebuilt apache as follows:
./buildconf
./configure --prefix=/opt/apache2/apache_2.0.47 --enable-dav --enable-so
--with-dbm=db4 --with-berkeley-db=/usr/local/bdb/db
make && make install
then reconfigured and attempted to rebuild subversion as follows:
./autogen.sh
./configure --with-apxs=/opt/apache2/apache/bin/apxs
--prefix=/tmp/svn_install --with-berkeley-db=/usr/local/bdb/db
--with-apr=/opt/apache2/apache --with-apr-util=/opt/apache2/apache
make
(i did have to edit out -lgdbm and -lz from the Makefile as before)
this is the output i got from make:
----skipped----
gcc -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2
-pthreads -DNEON_ZLIB -I./subversion/include -I.
-I/export/home/anton/tmp/subversion-0.24.2/neon/src
-I/tmp/svn_install/include/neon -I/usr/local/bdb/db/include
-I/opt/apache2/apache_2.0.47/include
-I/opt/apache2/apache_2.0.47/include -I/usr/local/bdb/db/include
-I/usr/local/include -o subversion/clients/cmdline/util.o -c
subversion/clients/cmdline/util.c
cd subversion/clients/cmdline && /bin/bash
/export/home/anton/tmp/subversion-0.24.2/libtool --silent --mode=link
gcc -g -O2 -pthreads -DNEON_ZLIB -L/usr/local/bdb/db/lib
-L/usr/local/lib -rpath /tmp/svn_install/lib -o svn add-cmd.o cat-cmd.o
checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o
diff-cmd.o export-cmd.o feedback.o help-cmd.o import-cmd.o info-cmd.o
log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o prompt.o
propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o
propset-cmd.o resolve-cmd.o revert-cmd.o status-cmd.o status.o
switch-cmd.o update-cmd.o util.o
../../../subversion/libsvn_client/libsvn_client-1.la
../../../subversion/libsvn_wc/libsvn_wc-1.la
../../../subversion/libsvn_ra/libsvn_ra-1.la
../../../subversion/libsvn_delta/libsvn_delta-1.la
../../../subversion/libsvn_subr/libsvn_subr-1.la
/opt/apache2/apache_2.0.47/lib/libaprutil-0.la -ldb -lexpat
/opt/apache2/apache_2.0.47/lib/libapr-0.la -lrt -lm -lsocket -lnsl
-lresolv -ldl
/export/home/anton/tmp/subversion-0.24.2/neon/src/libneon.la
-L/tmp/svn_install/lib -lnsl -lsocket -lexpat -lsocket
ld: warning: file ../../../subversion/libsvn_wc/.libs/libsvn_wc-1.so:
linked to
/export/home/anton/tmp/subversion-0.24.2/subversion/libsvn_wc/.libs/libsvn_wc-1.so:
attempted multiple inclusion of file
ld: warning: file ../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so:
linked to
/export/home/anton/tmp/subversion-0.24.2/subversion/libsvn_ra/.libs/libsvn_ra-1.so:
attempted multiple inclusion of file
ld: warning: file
../../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: linked to
/export/home/anton/tmp/subversion-0.24.2/subversion/libsvn_delta/.libs/libsvn_delta-1.so:
attempted multiple inclusion of file
ld: warning: file
../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: linked to
/export/home/anton/tmp/subversion-0.24.2/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
attempted multiple inclusion of file
Undefined first referenced
symbol in file
gdbm_store
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_nextkey
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_close
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_delete
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_strerror
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_open
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_exists
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_fetch
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_errno
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
gdbm_firstkey
/opt/apache2/apache_2.0.47/lib/libaprutil-0.so
ld: fatal: Symbol referencing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
make: *** [subversion/clients/cmdline/svn] Error 1
please let me know if there is anything else i should try.
--
anton
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 16:56:48 2003