Re: gtk+ link error



Michael L Torrie wrote:
On Tue, 2003-11-04 at 04:09, Russell Shaw wrote:

To build gtk, i did:
  ./configure CFLAGS="-g -O0" --enable-gtk-doc=yes  PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

That won't work.  Should be:
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure CFLAGS="-g -O0"
--enable-gtk-doc=yes

or just do

export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

and then do the configure.

Ok, i tried that, but i still get the same error after running:

  PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure CFLAGS="-g -O0" --enable-gtk-doc=yes

I noticed that in gtk+/gtk/libgtk-x11-2.0.la, there is this line of references
to things in /usr/lib:


# Libraries that this one depends upon.

dependency_libs=' -L/usr/local/lib /home/russell/AAProjs/GNU/gtk+/gdk/libgdk-x11-2.0.la -L/usr/X11R6/lib -lXinerama -lXext /usr/lib//libXft.la /usr/lib/libXrender.la /usr/lib/libfreetype.la -lz -lfontconfig /usr/lib/libpangoxft-1.0.la /usr/lib/libpangox-1.0.la /usr/lib/libpango-1.0.la /usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la /usr/lib/libglib-2.0.la /home/russell/AAProjs/GNU/gtk+/gdk-pixbuf/libgdk_pixbuf-2.0.la -lXcursor /usr/X11R6/lib/libXrender.la -lX11 /usr/local/lib/libpangoxft-1.0.la /usr/local/lib/libpangox-1.0.la /usr/local/lib/libpango-1.0.la /usr/local/lib/libatk-1.0.la /usr/local/lib/libgobject-2.0.la /usr/local/lib/libgmodule-2.0.la -ldl /usr/local/lib/libglib-2.0.la -lm '


It contains: /usr/lib/libglib-2.0.la
I haven't been able to determine why it happens.




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