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

Compiling Javahl Bindings on Mac Requires Undocumented Command

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: 2006-12-08 00:14:29 CET

Hi All,
    I was compiling Subversion and the javahl bindings a few weeks ago.
While doing this, I kept running into a libtool error that persisted
regardless of the ./configure script I ran. Here is the error:

/usr/bin/libtool: internal link edit command failed
make: *** [subversion/bindings/java/javahl/native/libsvnjavahl-1.la] Error 1

I consulted with the Subversion users list:


I ran into Christian of Fink and he informed me of a perl script they had to
run to get the javahl bindings to compile properly on the Mac. This perl
script altered how libtool was invoked and made the javahl bindings compile
successfully. Here is the command:

perl -pi -e "s/-all_load//g" libtool

They use the same approach for their Fink script which is used to compile
and create a binary for their javahl bindings. My question is does this
need to be documented somewhere or does it make sense to have the generated
MakeFile to run this automatically if the compiling system is a Mac. I
spent hours searching for help and nothing came up and if it weren't for the
Fink team, I would not had figured this out.

Take care,

Received on Fri Dec 8 00:15:01 2006

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