[kaffe] ./configure

Rafael Teixeira monoman at gmail.com
Thu Aug 10 05:33:19 PDT 2006


Do

 pkg-config --modversion gtk+-2.0 gthread-2.0 gdk-pixbuf-2.0

and look at the results. My FC3 was partially upgraded to Gtk+2.6 and gives me:

 2.6.8
 2.6.5
 2.6.8

See that pkg-config itself is a dependency, and as the message tells
you may have to add directories to the PKG_CONFIG_PATH, if part of
your dependencies are in the /usr prefix and part in the /usr/local or
some other place.

pkg-config normally searches .pc files in the <prefix>/lib/pkgconfig
of the prefix it was installed (the better prefix for it is /usr).

locate .pc | grep pkgconfig

gives me something like:

/usr/share/pkgconfig/gnome-icon-theme.pc
/usr/share/pkgconfig/icon-naming-utils.pc
/usr/share/pkgconfig/gtk-doc.pc
/usr/lib/qt-3.3/lib/pkgconfig/qt-mt.pc
/usr/lib/pkgconfig/sqlite.pc
/usr/lib/pkgconfig/xcursor.pc
/usr/lib/pkgconfig/xft.pc
... lots of /usr/lib/pkgconfig/...
/usr/local/lib/pkgconfig/gnome-vfs-sharp-2.0.pc
/usr/local/lib/pkgconfig/gtkhtml-sharp-2.0.pc
/usr/local/lib/pkgconfig/boo.pc
/usr/local/lib/pkgconfig/gconf-sharp-2.0.pc
/usr/local/lib/pkgconfig/gnome-sharp-2.0.pc

So check what you have...

Hope it helps,



On 7/24/06, NaveenYadav <naveen.yadav at samsung.com> wrote:
>
>
> Hi ,
>
> I download version 1.1.7 and try to do .configure . I am running on Fedora
> code -3
>
> What may be reason of below error .
>
> Can you give me list of package it require .
> like gcc version ....etc.
>
> configure: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2
> gdk-pixbuf-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.
> configure: error: /bin/sh './configure' failed for
> libraries/javalib/external/classpath
>
> Best Regards
> Naveen
>
>
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw




More information about the kaffe mailing list