[ptx] Java Problems with the new buildsystem was: libpano12 -
build with GNU autotools
Gerhard Gaussling
ggrubbish at web.de
Mon Nov 8 23:42:39 GMT 2004
Am Montag 08 November 2004 13:41 schrieb Douglas Wilkins:
> On Mon, 2004-11-08 at 11:22 +0100, Andreas Hirczy wrote:
> [snip]
Hello Doug,
I got java problems with pano-autotools.tar.gz and libpano12.
I have these packages installed:
ii sun-j2sdk1.4 1.4.2+05 Java(TM) 2 SDK, Standard
Edition, Sun Microsystems(TM)
ii sun-j2sdk1.4debian 0.14 Debian specific parts of
Java(TM) 2 SDK, Standard Edition
$ apt-cache policy sun-j2sdk1.4
sun-j2sdk1.4:
Installed: 1.4.2+05
Candidate: 1.4.2+05
Version Table:
*** 1.4.2+05 0
500 http://itp.tugraz.at sarge/desktop Packages
100 /var/lib/dpkg/status
I installed your pano-autotools.tar.gz to my libpano source directory.
./configure --with-java=/usr/lib/j2sdk1.4-sun
[...]
checking for JAVA installation at /usr/lib/j2sdk1.4-sun...
checking jni.h usability... no
checking jni.h presence... no
checking for jni.h... no
checking if JAVA package is complete... no
configure: WARNING:
java must be installed on your system
but configure could not find it.
[...]
Shared libraries --enable-shared=yes
Static libraries --enable-static=yes
JPEG --with-jpeg= have_jpeg = yes
PNG --with-png= have_png = yes
TIFF --with-tiff= have_tiff = yes
ZLIB --with-zlib= have_zlib = yes
JAVA --with-java=/usr/lib/j2sdk1.4-sun have_java = no
[...]
JAVA_FLAGS =
[...]
In my ~/.bashrc:
# JAVA SDK
PATH=/usr/local/bin:~/bin:$PATH:/usr/lib/j2sdk1.4-sun/bin
JDK_HOME=/usr/lib/j2sdk1.4-sun/
JAVA_HOME=/usr/lib/j2sdk1.4-sun/
export PATH
export JDK_HOME
export JAVA_HOME
tree /usr/lib/j2sdk1.4-sun/
[...]
222 directories, 1529 files
$ java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
$ find $JAVA_HOME -iname jni.h
/usr/lib/j2sdk1.4-sun/include/jni.h
I assume that my java installation is ok. I don't know what's the reason
that makes ./configure fail :-(
Kind regards
Gerhard Gaußling
More information about the ptX
mailing list