Re: Howto build Gtk 2.4.2



Le jeu 10/06/2004 à 12:32, kentropy libero it a écrit :
> Hello,
> I downloaded glib 2.4.2 / gtk+ 2.4.2 / pango 1.4.0
> I build glib 2.4.2 
> When I try to build gtk+ 2.4.2 on my Fedora Core 1 linuxbox
> I get the following error:
> 
> checking for pkg-config... /usr/bin/pkg-config
> checking for glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0... Requested
> 'glib-2.0 >= of GLib is 2.2.3
> configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1   
> pango >= 1.4.  r adjusting the PKG_CONFIG_PATH environment variable if your
> libraries are in a nonstandar                  fig can find them.
> 
> I need to create the GTK+ library without installing any 2.4.2 version on my
> linuxbox.
> Is it possible and how ?
> What am I missing ?

Apparently, you have a glib-2.2 in /usr. It is very difficult if not
impossible to make two glib-2 libraries coexist.
You can try the following (I suppose you install the new libraries in
/usr/local which is the default prefix).

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
LDFLAGS="-rpath /usr/local/lib" ./configure
make all install


Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]