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

Status of Swig Java bindings on Mac OS X?

From: Christian Schaffner <chris01_at_users.sourceforge.net>
Date: 2004-05-24 16:01:46 CEST

Dear Subversion Developers

I am trying to include the swig java bindings into the Mac OS X Fink
package. What i do is (on the 1.0.4 tarball):

./configure --prefix=/sw --libexecdir='${prefix}/lib/svn'
--mandir='${prefix}/share/man' --infodir='${prefix}/share/info'
--with-neon=/sw --with-apr=/sw --with-apr-util=/sw --enable-shared
--with-apxs=/sw/sbin/apxs --without-apache --disable-mod-activation
--with-jdk=/System/Library/Frameworks/JavaVM.framework/Versions/
CurrentJDK/Home --with-swig --with-python=/sw/bin/python2.3
--with-perl=perl5.8.1

make
make swig-java
make install-swig-java DESTDIR=/sw/src/root-svn-ssl-1.0.4-11
swig_javadir=/sw/share/java/svn-ssl

A few things seem strange to me:

During 'make install-swig-java' i see lines like:

cd subversion/bindings/swig/java && /bin/sh
/sw/src/svn-ssl-1.0.4-11/subversion-1.0.4/libtool --silent --mode=link
gcc -Wl,-F. -Wl,-F. -bundle -framework Python
-L/sw/src/svn-ssl-1.0.4-11/subversion-1.0.4/subversion/bindings/swig/
.libs -L/sw/lib -rpath /sw/share/java/svn-ssl -avoid-version -module -o
_client.la svn_client.lo
../../../../subversion/bindings/swig/libsvn_swig_java-1.la
../../../../subversion/libsvn_client/libsvn_client-1.l

Shouldn't that be '-framework JavaVM' instead of '-framework Python'?

Also, on Mac OS X the built JNI library has to be named something like
'libLIBNAME.jnilib' but they are built as e.g. _wc.so at the moment

Now the questions:

1. Is it possible to build the swig java bindings from the 1.0.4
tarball on Mac OS X at the moment? Has anybody tried this before?

2. Is it possible on trunk?

3. If not, is anybody working on making swig java bindings usable on
Mac OS X?

Thanks for any help and/or comments,
Chris.

PS: Mac OS X 10.3.3, JavaVM 1.4.2, swig 1.3.20

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 24 16:02:09 2004

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

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