./configure fails in ubuntu 9.04 32bits

View: New views
3 Messages — Rating Filter:   Alert me  

./configure fails in ubuntu 9.04 32bits

by Roberto-21 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


------------------------------------------------------------------------------

_______________________________________________
java-gnome-hackers mailing list
java-gnome-hackers@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers

Re: ./configure fails in ubuntu 9.04 32bits

by Andrew Cowie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-07-23 at 20:02 +0200, Roberto wrote:
>
> 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 bzr
> mainline. ...

> With java-gnome 4.0.12-rc3 I have no problem.

That makes no sense at all. 4.0.13-rc3 *is* current 'mainline' tip.

Further, nothing related to this has changed in the top level configure
since 4.0.11 was cut.

There must have been something else about the way Roberto was running
configure that is different, but he said that everything else was held
constant. So really I don't know what to suggest.

If there is a real problem, then we do want to find it and fix it, but
based on "with java-gnome 4.0.12-rc3 I have no problem," I think that
I'll go ahead and not block the release on this.

Please keep an eye out for whatever this is, though. Something sounds
screwy.

AfC
Sydney



------------------------------------------------------------------------------

_______________________________________________
java-gnome-hackers mailing list
java-gnome-hackers@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers

signature.asc (205 bytes) Download Attachment

Re: ./configure fails in ubuntu 9.04 32bits

by Roberto-21 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <evol_activity@...>
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.



------------------------------------------------------------------------------

_______________________________________________
java-gnome-hackers mailing list
java-gnome-hackers@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers