[Java-gnome-developer] how to compile for gnome 2?
Brought to you by:
afcowie
|
From: <bi...@ma...> - 2002-04-02 10:03:27
|
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? This is the output from ./configure: [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 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. note: the file gtk+-2.0.pc is no where on my system. S=F8ren |