Thread: [Java-gnome-developer] problem with compilation of java-gnome 4.0.9
Brought to you by:
afcowie
From: Federico <fe...@gm...> - 2008-10-14 12:18:02
|
In a workstation with Ubuntu 8.10 the compilation of this release fails. The ./configure command search for a package named libgtk2.0-dev, that, even if installed, remains not found. I think this is a bug in the perl script. Regards, Federico |
From: Andrew C. <an...@op...> - 2008-10-15 06:30:32
|
On Tue, 2008-10-14 at 14:17 +0200, Federico wrote: > In a workstation with Ubuntu 8.10 > the compilation of this release fails. How traumatic. > The ./configure command search for a package named > libgtk2.0-dev, that, even if installed, remains not found. Perhaps you could do us a favour and send us the output (including what ./configure command you ran, what it said on the console, what .config{,.tmp} has in it, etc) either by email or by opening a bug. It's a little hard to diagnose problems without details. The pre-release testing didn't show any problems, so it'd be good to hear what is different about your system as compared to others', then someone who uses Ubuntu might be able to help. AfC Sydney |
From: federico t. <fe...@gm...> - 2008-10-15 07:17:11
|
Excuse me for this lack of precision. I downloaded the zip and extracted, ran the ./configure script and I got this output: trfe@george:~/download/java-gnome-4.0.9$ ./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+ not found! In order to build java-gnome, you will need the GNOME development libraries. Depending on what you have installed, this could be a considerable set of packages, but if you want to be a GNOME hacker, that's the way it is. On a Debian system, you should be able to satisfy this requirement by doing: # apt-get install libgtk2.0-dev Failed to complete configuration. but if I run the apt-get command I get: trfe@george:~/download/java-gnome-4.0.9$ sudo apt-get install libgtk2.0-dev [sudo] password for trfe: Reading package lists... Done Building dependency tree Reading state information... Done libgtk2.0-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 265 not upgraded. The .config.tmp file contains, excluding the comments, the line OS=debian The configure script is the original one, contained in the zip. It is too long to post it here, I think. Federico On Wed, Oct 15, 2008 at 7:50 AM, Andrew Cowie < an...@op...> wrote: > On Tue, 2008-10-14 at 14:17 +0200, Federico wrote: > > In a workstation with Ubuntu 8.10 > > the compilation of this release fails. > > How traumatic. > > > The ./configure command search for a package named > > libgtk2.0-dev, that, even if installed, remains not found. > > Perhaps you could do us a favour and send us the output (including > what ./configure command you ran, what it said on the console, > what .config{,.tmp} has in it, etc) either by email or by opening a bug. > It's a little hard to diagnose problems without details. > > The pre-release testing didn't show any problems, so it'd be good to > hear what is different about your system as compared to others', then > someone who uses Ubuntu might be able to help. > > AfC > Sydney > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
From: federico t. <fe...@gm...> - 2008-10-15 07:38:57
|
I found the bug, perhaps only on my system. The pkg-config command used in the configure script doesn't work correctly on my system. Then the configure script was not able to find the libgtk2.0-dev. The problem was that the environment variable PKG_CONFIG_PATH was not set. Now it works perfectly!!! I think this could be only a problem of my system. In every case, I report that I used this command: >$ PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure Regards Federico On Wed, Oct 15, 2008 at 9:17 AM, federico tramarin <fe...@gm...> wrote: > Excuse me for this lack of precision. > I downloaded the zip and extracted, ran the ./configure script and I got > this output: > > trfe@george:~/download/java-gnome-4.0.9$ ./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+ not found! > > In order to build java-gnome, you will need the GNOME > development libraries. Depending on what you have installed, > this could be a considerable set of packages, but if you > want to be a GNOME hacker, that's the way it is. > > On a Debian system, you should be able to satisfy this > requirement by doing: > > # apt-get install libgtk2.0-dev > > Failed to complete configuration. > > > but if I run the apt-get command I get: > > trfe@george:~/download/java-gnome-4.0.9$ sudo apt-get install > libgtk2.0-dev > [sudo] password for trfe: > Reading package lists... Done > Building dependency tree > Reading state information... Done > libgtk2.0-dev is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 265 not upgraded. > > The .config.tmp file contains, excluding the comments, the line > > OS=debian > > The configure script is the original one, contained in the zip. It is too > long to post it here, I think. > > Federico > > > On Wed, Oct 15, 2008 at 7:50 AM, Andrew Cowie < > an...@op...> wrote: > >> On Tue, 2008-10-14 at 14:17 +0200, Federico wrote: >> > In a workstation with Ubuntu 8.10 >> > the compilation of this release fails. >> >> How traumatic. >> >> > The ./configure command search for a package named >> > libgtk2.0-dev, that, even if installed, remains not found. >> >> Perhaps you could do us a favour and send us the output (including >> what ./configure command you ran, what it said on the console, >> what .config{,.tmp} has in it, etc) either by email or by opening a bug. >> It's a little hard to diagnose problems without details. >> >> The pre-release testing didn't show any problems, so it'd be good to >> hear what is different about your system as compared to others', then >> someone who uses Ubuntu might be able to help. >> >> AfC >> Sydney >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> java-gnome-developer mailing list >> jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >> > > |
From: Andrew C. <an...@op...> - 2008-10-15 08:05:53
|
On Wed, 2008-10-15 at 09:38 +0200, federico tramarin wrote: > The problem was that the environment variable PKG_CONFIG_PATH was not > set. Wow. That's weird. I was of the understanding that /usr/lib/pkgconfig was the default path that pkg-config had hardwired in at installation time and that it should look there automatically. How strange. Anyone know what sort of circumstances would have led to this situation for Federico? [ie, I don't have to set PKG_CONFIG_PATH for pkg-config to work, it just does] AfC Sydney |
From: Federico <fe...@gm...> - 2008-10-17 05:38:41
|
I have a new problem. The compilation now is fine. It produces the jars. But if I run make demo I get this: ... JAVA button.ExamplePressMe Exception in thread "main" org.gnome.glib.FatalError: (null)-WARNING Irregular conf file line(1): # this file contains quirks at org.gnome.gtk.GtkMain.gtk_init(Native Method) at org.gnome.gtk.GtkMain.init(GtkMain.java:31) at org.gnome.gtk.Gtk.init(Gtk.java:78) at button.ExamplePressMe.main(ExamplePressMe.java:49) make: *** [demo] Error 1 The same applies if I compile by hand the example. The compilation is ok, but this error appears when I try to execute it. Any idea on what this could be? Federico Andrew Cowie wrote: > On Wed, 2008-10-15 at 09:38 +0200, federico tramarin wrote: >> The problem was that the environment variable PKG_CONFIG_PATH was not >> set. > > Wow. That's weird. > > I was of the understanding that /usr/lib/pkgconfig was the default path > that pkg-config had hardwired in at installation time and that it should > look there automatically. > > How strange. > > Anyone know what sort of circumstances would have led to this situation > for Federico? > > [ie, I don't have to set PKG_CONFIG_PATH for pkg-config to work, it just > does] > > AfC > Sydney > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |