Re: [java-gnome-hackers] ./configure fails in ubuntu 9.04 32bits
Brought to you by:
afcowie
From: Roberto <evo...@ya...> - 2009-07-24 14:53:28
|
Hi, I discussed the problem on IRC. Finally I found that removing some configuration from %HOME/.bashrc configure worked better, and with jdk defined, perfectly. The lines I commented in $HOME/.bashrc: --------------------------------------------------------------------- ## JAVA ## JAVA_HOME="$HOME/Programas/jdk1.6.0_14" PATH="$JAVA_HOME/bin:$PATH" export JAVA_HOME export PATH ## ANT ## PATH="/home/rlin/Programas/apache-ant-1.7.1/bin:$PATH" export PATH --------------------------------------------------------------------- I hope this helps someone bye 2009/7/23 Roberto <evo...@ya...> > Hi, I'm new to the list and to java-gnome. > > I was telling on the #java-gnome IRC channel about a problem with > ./configure in Ubuntu 9.04 32bits with 4.0.11 release and bzd mainline. The > output is: > > java-gnome-4.0.11$ ./configure > > equivalence, v0.2 > ...configuring Java projects to build and run on Linux & Unix > > Identify operating system: Debian > > Check for required jar files: > - JUnit test framework found > > Check for required system libraries: > - GTK+ found > - Pango found > - ATK found > - GDK found > - LibGlade found > > - GNOME printing (Unix backend) found > > Check Java compilers: > - Eclipse ecj works > - System javac works > - GNU gcj -C (bytecode mode) works > - GNU gcjh found > > - GNU fastjar works > - GNU gjdoc found > > Check Java virtual machines: > - System java VM doesn't work > - GNU gij doesn't work > > Check native compiler: > - GNU gcc works > > Can't use GCJ, insufficiently recent version > > Select compiler: ecj > Select runtime: java > failed > > Can't locate the JNI header file > > Failed to complete configuration. > > > I could fix it adding some lines to the sections that deals with GCC configuration: > > + } elsif (-f "/usr/lib/gcc/i486-linux-gnu/4.3/include/jni.h") { > > + $jni_include = "-I/usr/lib/gcc/i486-linux-gnu/4.3/include/jni.h"; > > With java-gnome 4.0.12-rc3 I have no problem. > > > |