That helped.
Do you know is there similar kind of environment variables for selecting appropriate version of aclocal and automake?
Well, for example, to compile giFT, I have to do this:
WANT_AUTOCONF_2_5=1 AUTOMAKE=automake-1.7 AUTOHEADER=autoheader-2.5x ACLOCAL=aclocal-1.7 ./autogen.sh
I am still a little bit confused because for me it helped that I installed automake 1.7 and call aclocal, autoconf and automake directly with the version numbers. I will try to explain in the below...
javahl subproject in the subversion has also autogen.sh which contains following calls.
aclocal
autoconf
libtoolize --automake --force
automake -aFor some reason if I call this autogen.sh as you showed
WANT_AUTOCONF_2_5=1 AUTOMAKE=automake-1.7 AUTOHEADER=autoheader-2.5x ACLOCAL=aclocal-1.7 ./autogen.sh
I will get Makefiles which are broken. (after configure make will fail to build due to errors in the makefiles.)
But if I call directly
aclocal-1.7,
autoconf-2.5x
libtoolize --automake --force
automake-1.7 -athen everything will work. If somebody want to reproduce my problem here are all the steps required for demonstrating my problem. (You will first need to install subversion client)
Here is the steps which worked with my Mandrake Linux cooker.
1) I took the newest subversion version from the repository
svn co http://svn.collab.net/repos/svn/trunk subversion
2) First I needed to build subversion (or at least configure) cd subversion autogen.sh ./configure --enable-maintainer-mode make
3) Patching javahl
cd subversion/bindings/java/javahl
patch -p0 < patch from the url http://subversion.tigris.org/issues/show_bug.cgi?id=1501
4) Configuring javahl aclocal-1.7 autoconf-2.5x libtoolize --automake --force automake-1.7 -a ./configure
5) fix 2 small errors from the javahl/native/Prompter.cpp
change line 419: SVN_AUTH_PARAM_SSL_SERVER_FAILURES_IN, --> SVN_AUTH_PARAM_SSL_SERVER_FAILURES,
change line 457: cred->failures_allow = failures_in; --> cred->accepted_failures = failures_in;
6) build javahl
make --> you should see libsvnjavahl.so, etc in the directory javahl/native/.lib
Mika
