Re: glib configure



What is the output of the configure script?

Run 'pkg-config --cflags glib-2.0' and '--libs glib-2.0' to check that you
have what you need.

On my system:

$ pkg-config --libs glib-2.0
 -lglib-2.0
$ pkg-config --cflags glib-2.0
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

Daniel.

On Thu, 8 Aug 2002, Jeremy Banks wrote:

> Glib is now working, but when I went to try and configure the program that
> needs glib it complains that it can't find it.
>
> What has happened is that in /usr/local/include I now have a glib-2.0
> directory.  It has heaps of header files in it, including glib.h.  There is
> also a glib-2.0 directory in /usr/local/lib which has glibconfig.h in it,
> which is also required.  It is easy enough to make some links so that my
> programs can find these and compile.  What I want to know is what is the
> correct\easy way of achieving this.  What is the normal procedure for making
> sure that these files can be found during compilation?
>
> Thanks Jeremy
>
> Jeremy Banks wrote:
>
> >The config.log file has an error saying that it can't load the shared
> >library libintl.s0.2.  This library is definitely in /usr/local/lib.
>
> Check whether /usr/local/lib is in /etc/ld.so.conf.
> If not, add and run ldconfig.
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>




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