Hello,
I should better read docs before opening my mouth... 8-( Defining PKG_CONFIG_PATH variable solves all troubles... 8-) PREFIX=/usr/local/gtk-2.2.1 export PREFIX PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig export PKG_CONFIG_PATH Thanks, Jose Marcio Jose Marcio Martins da Cruz wrote: > > Hello, > > I can't succeed compiling gtk-2.2.1 suite under Solaris 9. > > I'd like to be able to install gtk (static libraries) under > /usr/local/gtk. > > I've installed pkg-config 0.14.0 under /usr/local/pkgconfig > > I'd like to install all gtk packages (glib, atk, ... gtk), under > /usr/local/gtk. > > I succeeded to install glib under /usr/local/gtk, configured with the > following simple sh script : > > #! /bin/sh > PREFIX=/usr/local/gtk-2.2.1 > export PREFIX > ./configure \ > --enable-static=yes \ > --enable-shared=no \ > --with-threads=posix \ > --enable-gtk-doc \ > --prefix=$PREFIX > > In this case, pkgconfig files get installed at : > > [EMAIL PROTECTED]:sources/gtk/atk-1.2.0> ll > /usr/local/gtk-2.2.1/lib/pkgconfig/ > total 12 > drwxr-xr-x 2 root other 512 Mar 17 09:44 ./ > drwxr-xr-x 5 root other 1024 Mar 17 09:44 ../ > -rw-r--r-- 1 root other 340 Mar 17 09:44 glib-2.0.pc > -rw-r--r-- 1 root other 262 Mar 17 09:44 gmodule-2.0.pc > -rw-r--r-- 1 root other 249 Mar 17 09:44 gobject-2.0.pc > -rw-r--r-- 1 root other 250 Mar 17 09:44 gthread-2.0.pc > > So, I tried to install atk-1.2.0, with the following simple sh script : > #! /bin/sh > > PREFIX=/usr/local/gtk-2.2.1 > export PREFIX > > ./configure \ > --enable-static=yes \ > --enable-shared=no \ > --prefix=$PREFIX > > atk configuration fails miserably, saying it can't find glib. > > When I take a look at config.log, it says it can't find glib.h, ... > > I can define CPPFLAGS, LDFLAGS to go a little furter, but it ends > failing to link. > > I tried to recompile glib, with different compilers (gcc-3.0.2, > gcc-3.2.2, SunCC, ...) with and without dynamic libraries, and this > changes nothing. > > Maybe someone have an idea ? > > Thanks for your help. > > Jose Marcio > > -- > --------------------------------------------------------------- > Jose Marcio MARTINS DA CRUZ Tel. :(33) 01.40.51.93.41 > Ecole Nationale Superieure des Mines de Paris > Centre de Calcul http://j-chkmail.ensmp.fr > 60, bd Saint Michel http://www.ensmp.fr/~martins > 75272 - PARIS CEDEX 06 mailto:[EMAIL PROTECTED] > --------------------------------------------------------------- > _______________________________________________ > gtk-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-list -- --------------------------------------------------------------- Jose Marcio MARTINS DA CRUZ Tel. :(33) 01.40.51.93.41 Ecole Nationale Superieure des Mines de Paris Centre de Calcul http://j-chkmail.ensmp.fr 60, bd Saint Michel http://www.ensmp.fr/~martins 75272 - PARIS CEDEX 06 mailto:[EMAIL PROTECTED] --------------------------------------------------------------- _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
