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

Fwd: SDK Problems Compiling JavaHL

From: David Land <david.k.land_at_gmail.com>
Date: 2007-09-17 05:56:16 CEST

All,

I tried running the same command but instead of using the $JAVA_HOME
environment variable, I actually typed the path to the JDK folder, like
this:

./configure --enable-javahl --with-jdk=/usr/java/jdk1.5.0_11
--with-jikes=/usr/java/jdk1.5.0_11/bin/javac

and it worked. However, I'm getting a further error apparently related to
make. After the configuration tool runs, I type

make
make javahl
make install

which all seem to work, then I type

make install javahl

(note that the FAQ says stype "make install -javahl", which gives me a make
syntax error). After the last command I eventually get a message stating
"nothing to be done for 'javahl'". I'm at a loss as to why this wouldn't
work. Is it saying that there were no javahl libraries built? I downloaded
the subversion-1.4.5.tar.gz<http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.bz2>and
subversion-deps-1.4.5.tar.gz<http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.gz>files
from

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=260&folderID=2728

Any help would be greatly appreciated.

Dave

---------- Forwarded message ----------
From: David Land <david.k.land@gmail.com>
Date: Sep 16, 2007 8:46 PM
Subject: SDK Problems Compiling JavaHL
To: users@subversion.tigris.org

I'm not very experienced with Linux or compiling applications as opposed to
install binaries, but I'm having trouble compiling JavaHL on CentOS. I have
downloaded the dependency package from here

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=260&folderID=2728

and I ran the following command:

./configure --enable-javahl --with-jdk=$JAVA_HOME\
--with-jikes=$JAVA_HOME/bin/javac

per the subclipse FAQ but I'm getting the following error:

"configure: error: Cannot compile JavaHL without a suitable JDK. Please
specify a suitable JDK using the --with-jdk option."

I have JDK 1.5 update 11 installed and $JAVA_HOME is properly set (to
/usr/java/jdk1.5.0_11) so I'm not sure what it's complaining about. Any
ideas?

Thanks,
Dave
Received on Mon Sep 17 05:52:44 2007

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

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