gtk+-2.0.8 Won't Configure

drharlan at pacbell.net drharlan at pacbell.net
Mon Nov 18 21:05:31 PST 2002


I have taken a bit of a deviation from the blfs book in that I want to
install (and have so far) all X related libraries and applications
under /usr/X11R6.  This includes freetype, libjpeg, libpng, pango, and
in particular glib-1.2.10, gtk+-1.2.10, and glib-2.0.7.  These all
installed fine with only a minor hitch or two as I needed to point the
configure script to the actual location of libs and includes.  X is
running at 1600x1200 on my 21" monitor and I've installed nedit-5.3
which runs like on my host system.

My plan is to eventually have this as a separate mounted partition
under /usr in case something in X trashes that partition, so that it
reduces the likelihood of messing up the rest of /usr.

Anyway, I can't get gtk+2.0.8 (or 2.0.7) to configure.  Even though
pango is under /usr/X11R6, the script can't seem to find it.

Here's the output, starting just before the point where it aborts:
------
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking Pango flags... -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include  
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/glib-2.0 
-I/usr/X11R6/lib/glib-2.0/include   -Wl,--export-dynamic -L/usr/X11R6/lib    
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl     
-lglib-2.0  
checking for pango_context_new in -lpango-1.0... no
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
[wayne at home gtk+-2.0.8]$ 
------

So now if I do "grep pango_context_new /usr/X11R6/lib/libpango-1.0.so",
I get the result "Binary file /usr/X11R6/lib/libpango-1.0.so matches".

So it is really there.

my configure line looks like

CPPFLAGS="-I/usr/X11R6/include" LDFLAGS="-L/usr/X11R6/lib" \
PKG_CONFIG_PATH="/usr/X11R6" ./configure --prefix=/usr/X11R6

Any other options I might need to set to get it to see pango ?

Thanks,

Wayne



-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list