Hello,
I'm trying to compile the java-bindings to use subclipse,
but get strange linking errors.
I'm compiling with
./configure --with-jdk=/usr/local/java-1.5.0_03/ --with-ssl
--enable-javahl && make && make javahl
which works fine.
Then I try to install it:
================================================================
road@localhost:/tmp/subversion-1.2.0-rc4$ make install-javahl
[...]
(cd /tmp/subversion-1.2.0-rc4/subversion/bindings/java/javahl/native;
/bin/sh /tmp/subversion-1.2.0-rc4/libtool --tag=CXX --silent
--mode=relink g++ -g -O2 -g -O2 -pthread -DNEON_ZLIB -DNEON_SSL -lstdc++
-rpath /usr/local/lib -o libsvnjavahl-1.la BlameCallback.lo
CommitMessage.lo EnumMapper.lo Inputer.lo JNIByteArray.lo
JNICriticalSection.lo JNIMutex.lo JNIStackElement.lo JNIStringHolder.lo
JNIThreadData.lo JNIUtil.lo MessageReceiver.lo Notify.lo Notify2.lo
Outputer.lo Path.lo Pool.lo Prompter.lo Revision.lo SVNAdmin.lo
SVNBase.lo SVNClient.lo Targets.lo libsvnjavahl.la.lo
org_tigris_subversion_javahl_SVNAdmin.lo
org_tigris_subversion_javahl_SVNClient.lo
../../../../../subversion/libsvn_repos/libsvn_repos-1.la
../../../../../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
/tmp/subversion-1.2.0-rc4/apr-util/libaprutil-0.la -lgdbm -lexpat
/tmp/subversion-1.2.0-rc4/apr/libapr-0.la -lrt -lm -lcrypt -lnsl
-lpthread -ldl /tmp/subversion-1.2.0-rc4/neon/src/libneon.la
-L/usr/local/lib -lz -lssl -lcrypto -ldl -lexpat )
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
/usr/bin/ld: cannot find -lsvn_client-1
collect2: ld returned 1 exit status
libtool: install: error: relink `libsvnjavahl-1.la' with the above
command before installing it
make: *** [install-javahl-lib] Error 1
road@localhost:/tmp/subversion-1.2.0-rc4$
================================================================
If I run the command again, I get the following error:
================================================================
road@localhost:/tmp/subversion-1.2.0-rc4$ make install-javahl
[...]
libtool: link: warning:
`/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libexpat.la' seems to be moved
mv: cannot stat `libsvnjavahl-1.so.0.0.0': No such file or directory
libtool: install: error: relink `libsvnjavahl-1.la' with the above
command before installing it
make: *** [install-javahl-lib] Error 1
================================================================
Can anyone tell me what I did wrong?
TIA, Lutz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 11 14:53:00 2005