No java compiler was detected. on Mandriva

Bug #494907 reported by François Boulogne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Split
Won't Fix
Medium
Guillaume Mazoyer
Mainline
Won't Fix
Medium
Guillaume Mazoyer

Bug Description

I had to do many things for the ./configure on mandriva (No instructions are given on your website, and dependences are missing.)

Here are my commands :

urpmi gtk-java
urpmi libmatthew-java
urpmi dbus-java
urpmi javacc
cd /usr/share/java
ln -s gtk2.10.jar gtk.jar

 ln -s /usr/lib/java/libmatthew-java-0.7.1/hexdump.jar /usr/share/java/hexdump.jar
 ln -s /usr/lib/java/libmatthew-java-0.7.1/unix.jar /usr/share/java/unix.jar
 ln -s /usr/lib/java/libmatthew-java-0.7.1/debug-enable.jar /usr/share/java/debug-enable.jar
 ln -s /usr/lib/java/libmatthew-java-0.7.1/debug-disable.jar /usr/share/java/debug-disable.jar

./configure

equivalence, v0.2
...configuring Java projects to build and run on Linux & Unix

Identify operating system: Mandriva
Check for required jar files:
 - java-gnome library found
 - dbus-java library found
 - matthew-debug disable library found
 - matthew-debug enable library found
 - matthew-debug hexdump library found
 - Unix socket library found

Check Java compilers:
Use of uninitialized value $jdk_home in concatenation (.) or string at ./configure line 929.
Use of uninitialized value $jdk_home in concatenation (.) or string at ./configure line 930.
Use of uninitialized value $jdk_home in concatenation (.) or string at ./configure line 931.
Use of uninitialized value $jdk_home in concatenation (.) or string at ./configure line 932.
Use of uninitialized value $vendor in concatenation (.) or string at ./configure line 933.
Use of uninitialized value $vendor in concatenation (.) or string at ./configure line 935.
Use of uninitialized value $vendor in concatenation (.) or string at ./configure line 936.

Check Java virtual machines:
Use of uninitialized value $jdk_home in concatenation (.) or string at ./configure line 1155.
Use of uninitialized value $vendor in concatenation (.) or string at ./configure line 1157.

Select compiler: failed

No java compiler was detected.

Failed to complete configuration.

Many thanks.

Revision history for this message
Guillaume Mazoyer (respawneral) wrote :

Thanks for reporting this bug.

configure and make files have not been tested on a distribution like Mandriva.
In order to make me able to fix this bug can you give me the location of the JNI files and the one of the JAR files.
You can also try the "jdk" option of the configure script to definy the location of the JDK.

Changed in gnome-split:
assignee: nobody → Guillaume Mazoyer (respawneral)
importance: Undecided → Medium
milestone: none → 0.1
status: New → Confirmed
Revision history for this message
Guillaume Mazoyer (respawneral) wrote :

Can you apply this patch to you're current configure script and tell me if the JDK path detection works.
Thank you. Of course feel free to make your on patch to fix the script.

Revision history for this message
François Boulogne (sciunto.org) wrote :

the new output is

equivalence, v0.2
...configuring Java projects to build and run on Linux & Unix

Identify operating system: Mandriva
Check for required jar files:
 - java-gnome library found
 - dbus-java library found
 - matthew-debug disable library found
 - matthew-debug enable library found
 - matthew-debug hexdump library found
 - Unix socket library found

Check Java compilers:

Check Java virtual machines:
 - Specified java VM doesn't work

Select compiler: failed

No java compiler was detected.

Failed to complete configuration.

Here, I pasted some info.
http://en.pastebin.ca/1709682 (ls -R /usr/lib/j*)
http://en.pastebin.ca/1709689 (locate jar)
http://en.pastebin.ca/1709691 (jni files available in the repositories)
http://en.pastebin.ca/1709692 (packages which are installed on my system (and match "java"))

I hope it could help. I'm sorry, i'm not helpful, but i really ignore how java works, I'm a C/C++ programmer ;)

Thanks again.

Revision history for this message
Guillaume Mazoyer (respawneral) wrote :

Thank you for the details.
I need to try a build by myself on Mandriva (next week I guess).
By the way, are you sure that java-gnome 4.0.13 is really available for Mandriva? (gtk2.10.jar seems to come from the old project).

Revision history for this message
François Boulogne (sciunto.org) wrote :

yes, it's really odd... (and I don't really believe it ) the version 4.0.1 was released 3 years ago...

I leave you time to investigate on mandriva. If it is confirmed that mandriva has an issue, I can report it. :)

Revision history for this message
Guillaume Mazoyer (respawneral) wrote :

I just used Mandriva One 2010 and it seems that java-gnome is not packaged for the distribution. It means that even if I fix the configure script, you will ne be able to use GNOME Split because java-gnome will be missing. I suggest you to report a bug on your distribution bug tracker to make them package java-gnome and maybe someone will be able to fix the GNOME Split configure script too. I let this bug open, so we can still speak about it.

Changed in gnome-split:
milestone: 0.1 → none
Revision history for this message
François Boulogne (sciunto.org) wrote :
Revision history for this message
Guillaume Mazoyer (respawneral) wrote :

Set to won't fix since Mandriva is not doing anything to provide a decent java-gnome package. Try to bug them about that.

Changed in gnome-split:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.