Hello,
I am trying to build a SVN-Server 1.6.3 on a Solaris 10 / SunOS 5.10
System. I read the installation&dependencies instructions. (But I might
have missed out something or get something wrong, because I´m not a native
speaker, so there is no need to flame me. ;-) )
Downloaded subversion-1.6.3.tar.gz and subversion-deps-1.6.3.tar.gz.
I can´t build as root due to restrictions. I have to build as a normal user
named userxyz.
I tried with:
ld is Solaris Link Editors: 5.10-1.489
gcc 3.4.4
make 3.80
then:
ld is Solaris Link Editors: 5.10-1.489
gcc 3.4.4
gmake 3.80
and later
ld gnu 2.15
gcc 3.4.4
gmake 3.80
I tried using autogen.sh to find any missing libs. autogen.sh says
everything is fine.
I tried several configuration options (configures options
--enable-all-static is broken) all without success.
I used make clean or gmake clean to clean up after errors.
./configure --prefix=/app/usrxyz/opt/SVN-1.63-Server --enable-shared="no"
--enable-static="yes"
./configure --prefix=/app/usrxyz/opt/SVN-1.63-Server --enable-shared="yes"
--enable-static="no"
./configure --prefix=/app/usrxyz/opt/SVN-1.63-Server --enable-shared="yes"
--enable-static="no" --without-serf
LD_LIBRARY_PATH=/usr/sfw/lib:/lib:/usr/lib:/usr/ccs/lib:/usr/lib:/usr/local/lib:/lib
LDFLAGS="-L /usr/local/lib -R /usr/local/lib -L /usr/sfw/lib
-R /usr/sfw/lib -L /usr/lib -R /usr/lib -L /usr/ccs/lib -R /usr/ccs/lib
-L /lib -R /lib"
I am ending up with this error:
subversion/svn
&& /bin/bash /app/userxyz/opt/source/subversion-1.6.3/libtool --tag=CC
--silent --mode=link gcc -all-static -g -O2 -g -O2 -D_LARGEFILE64_SOURCE
-DNE_LFS -rpath /app/userxyz/opt/SVN-1.63-Server/lib -o svn add-cmd.o
blame-cmd.o cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o
commit-cmd.o conflict-callbacks.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 mergeinfo-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 resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o
status.o switch-cmd.o tree-conflicts.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 /app/userxyz/opt/source/subversion-1.6.3/apr-util/libaprutil-1.la
-lexpat /app/userxyz/opt/source/subversion-1.6.3/apr/libapr-1.la -luuid
-lsendfile -lrt -lsocket -lnsl
-lpthread /app/userxyz/opt/source/subversion-1.6.3/neon/src/libneon.la
-lsocket
ld: fatal: library -lm: not found
ld: fatal: library -lssl: not found
ld: fatal: library -lcrypto: not found
ld: fatal: library -luuid: not found
ld: fatal: library -lsendfile: not found
ld: fatal: library -lrt: not found
ld: fatal: library -lpthread: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lz: not found
ld: fatal: library -lexpat: not found
ld: fatal: library -lsocket: not found
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
or using the gnu linker this error:
cd subversion/svn
&& /bin/bash /app/userxyz/opt/source/subversion-1.6.3/libtool --tag=CC
--silent --mode=link gcc -g -O2 -g -O2 -D_LARGEFILE64_SOURCE -DNE_LFS
-rpath /app/userxyz/opt/SVN-1.63-Server/lib -o svn add-cmd.o blame-cmd.o
cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o
conflict-callbacks.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 mergeinfo-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
resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o
switch-cmd.o tree-conflicts.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 /app/userxyz/opt/source/subversion-1.6.3/apr-util/libaprutil-1.la
-lexpat /app/userxyz/opt/source/subversion-1.6.3/apr/libapr-1.la -luuid
-lsendfile -lrt -lsocket -lnsl
-lpthread /app/userxyz/opt/source/subversion-1.6.3/neon/src/libneon.la
-lsocket
ld: warning: file ../../subversion/libsvn_wc/.libs/libsvn_wc-1.so: linked
to /app/userxyz/opt/source/subversion-1.6.3/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 /app/userxyz/opt/source/subversion-1.6.3/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 /app/userxyz/opt/source/subversion-1.6.3/subversion/libsvn_delta/.libs/libsvn_delta-1.so:
attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_diff/.libs/libsvn_diff-1.so:
linked
to /app/userxyz/opt/source/subversion-1.6.3/subversion/libsvn_diff/.libs/libsvn_diff-1.so:
attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_subr/.libs/libsvn_subr-1.so:
linked
to /app/userxyz/opt/source/subversion-1.6.3/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
attempted multiple inclusion of file
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset /app/userxyz/opt/source/subversion-1.6.3/subversion/libsvn_subr/.libs/libsvn_subr-1.so
libintl_dngettext info-cmd.o
libintl_bindtextdomain /app/userxyz/opt/source/subversion-1.6.3/subversion/libsvn_subr/.libs/libsvn_subr-1.so
libintl_dgettext blame-cmd.o
ld: fatal: Symbol referencing errors. No output written to .libs/svn
using ./configure --prefix=/app/usrxyz/opt/SVN-1.63-Server
--enable-shared="yes" --enable-static="no" --without-serf gives me this
error:
cd subversion/svn
&& /bin/bash /app/userxyz/opt/source/subversion-1.6.3/libtool --tag=CC
--silent --mode=link gcc -g -O2 -g -O2 -D_LARGEFILE64_SOURCE -DNE_LFS
-L /usr/local/lib -R /usr/local/lib -L /usr/sfw/lib -R /usr/sfw/lib
-L /usr/lib -R /usr/lib -L /usr/ccs/lib -R /usr/ccs/lib -L /lib -R /lib
-rpath /app/userxyz/opt/SVN-1.63-Server/lib -o svn add-cmd.o blame-cmd.o
cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o
conflict-callbacks.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 mergeinfo-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
resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o
switch-cmd.o tree-conflicts.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 /app/userxyz/opt/source/subversion-1.6.3/apr-util/libaprutil-1.la
-lexpat -liconv /app/userxyz/opt/source/subversion-1.6.3/apr/libapr-1.la
-luuid -lsendfile -lrt -lsocket -lnsl
-lpthread /app/userxyz/opt/source/subversion-1.6.3/neon/src/libneon.la
-lsocket -lintl -lintl
ld: fatal: file /usr/local/lib: unknown file type
ld: fatal: File processing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
gmake: *** [subversion/svn/svn] Error 1
Thanks,
Bastian
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368288
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-06 11:14:00 CEST