RE: [Java-gnome-developer] how to compile for gnome 2?
Brought to you by:
afcowie
|
From: Jeffrey M. <Jef...@Br...> - 2002-04-02 17:25:51
|
All of the GTK 2 and GNOME 2 libraries now use pkg-config for configuration. pkg-config uses a series of files that define dependencies and locations for shared objects and header files. It looks like pkg-config cannot find its' configuration file for GTK 2. The config files are typically stored in the /usr/lib/pkgconfig directory. -Jeff >=20 > I have gnome 2 up and running, but the java-gnome configure script > from cvs cant find gtk+ 2.0. Could it have something to do with > installing gnome 2 through red-carpet, rather than building it from > tars? >=20 > This is the output from ./configure: >=20 > [benny@localhost java-gnome]$ ./configure = --libdir=3D/home/benny/gcc/lib > --with-gcj-compile --with-gcj-prefix=3D/home/benny/gcc > loading cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for a BSD compatible install... /usr/bin/install -c > checking for java... /usr/java/jdk1.3.1_02/bin/java > checking for Java - version >=3D 1.1.7... yes > checking for javadoc... /usr/java/jdk1.3.1_02/bin/javadoc > checking for javac... /usr/java/jdk1.3.1_02/bin/javac > checking for java... (cached) /usr/java/jdk1.3.1_02/bin/java > checking for jar... /home/benny/gcc/bin/jar > checking for main in -libs... no > checking for pkg-config... /usr/local/bin/pkg-config > checking for gtk+-2.0 >=3D 2.0... Package gtk+-2.0 was not found in = the > pkg-config search path. > Perhaps you should add the directory containing `gtk+-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtk+-2.0' found >=20 > configure: error: Library requirements (gtk+-2.0 >=3D 2.0) not met; > consider adjusting the PKG_CONFIG_PATH environment variable if your > libraries are in a nonstandard prefix so pkg-config can find them. >=20 >=20 >=20 > note: the file gtk+-2.0.pc is no where on my system. >=20 > S=F8ren >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 |