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

Subversion Compilation Problem on Solaris 10 With Apache 2.2.4

From: Moudry, Mipam <mipam.moudry_at_medtronic.com>
Date: 2007-04-04 17:02:36 CEST

Hello,
I have encountered a serious problem with the latest version of
Subversion (1.4.3). I am trying to compile it on my Solaris 10 (sparc)
box agaist Apache 2.2.4. The apache was built from source.

My configure command for subversion : ./configure
--prefix=/usr2/local/svn --with-apxs=/usr/local/apache2/bin/apxs
--with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2/
My configure command for apache : ./configure --enable-dav
--enable-dav-fs --enable-dav-lock --enable-deflate --enable-proxy
--enable-ldap --enable-authnz-ldap --enable-proxy-ajp
--enable-proxy-connect --enable-proxy-http --enable-so --enable-ssl
--with-ssl=/usr/local/ssl --with-ldap --with-included-apr

Here are the last output lines of the 'make install' command :
cd subversion/svn && /bin/bash
/usr2/local/temp_apps_mipam/subversion-1.4.3/libtool --tag=CC --silent
--mode=link gcc -g -O2 -g -O2 -D_LARGEFILE64_SOURCE -DNE_LFS
-L/usr/local/apache2/lib -rpath /usr/local/lib -o svn add-cmd.o
blame-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 help-cmd.o import-cmd.o
info-cmd.o list-cmd.o lock-cmd.o log-cmd.o main.o merge-cmd.o
mkdir-cmd.o move-cmd.o notify.o propdel-cmd.o propedit-cmd.o
propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o
revert-cmd.o status-cmd.o status.o switch-cmd.o unlock-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_diff/libsvn_diff-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la
/usr/local/apache2/lib/libaprutil-1.la -lldap -ldl -lpthread -lexpat
-liconv /usr/local/apache2/lib/libapr-1.la -luuid -lsendfile -lrt
-lsocket -lnsl - lpthread /usr/local/lib/libneon.la -lsocket -lz
ld: warning: file ../../subversion/libsvn_wc/.libs/libsvn_wc-1: linked
to
/usr2/local/temp_apps_mipam/subversion-1.4.3/subversion/libsvn_wc/.libs/
libsvn_wc- 1: attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_ra/.libs/libsvn_ra-1: linked
to
/usr2/local/temp_apps_mipam/subversion-1.4.3/subversion/libsvn_ra/.libs/
libsvn_ra- 1: attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_delta/.libs/libsvn_delta-1:
linked to /usr2/local/temp_apps_mipam/subversion-
1.4.3/subversion/libsvn_delta/.libs/libsvn_delta-1: attempted multiple
inclusion of file
ld: warning: file ../../subversion/libsvn_diff/.libs/libsvn_diff-1:
linked to /usr2/local/temp_apps_mipam/subversion-
1.4.3/subversion/libsvn_diff/.libs/libsvn_diff-1: attempted multiple
inclusion of file
ld: warning: file ../../subversion/libsvn_subr/.libs/libsvn_subr-1:
linked to /usr2/local/temp_apps_mipam/subversion-
1.4.3/subversion/libsvn_subr/.libs/libsvn_subr-1: attempted multiple
inclusion of file
ld: fatal: recording name conflict: file
`/usr/local/apache2/lib/libexpat.so' and file
`/usr/local/lib/libexpat.so' provide identical dependency names:
libexpat.so.0 (possible multiple inclusion of the same file)
ld: fatal: File processing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `subversion/svn/svn'

I have tried pretty much everything I could think of:
        - Uninstalling the solaris libexpat package: I would get an
error that says that /usr/local/lib/libexpat.so doesn't exist
        - Renaming the apache libexpat.so to something else: I would get
an error that says that /usr/local/apache2/lib/libexpat.so doesn't exist
        - Changing the LD_LIBRARY_PATH to include the apache's
/usr/local/apache2/lib in the first place:no change
        - Changing the LD_LIBRARY_PATH to exclude the /usr/local/lib:no
change
        - Searched the google and subversion sites with all possible
combinations of the error:no solution found

Of course I have rerun the '.configure ' and 'make clean' between each
build attempt. Does anybody know what is happening here?

Thanks,

Mipam Moudry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 4 17:03:11 2007

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

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