Click to See Complete Forum and Search --> : gtk2.2.3 install error - pango error


E_4
09-02-2003, 07:26 AM
Hello all...

again Im trying to install gtk, etc.. ok here is my status:
ive searched at google and these forums for what i need: gtk pango install
etc..

A number of threads but none show what I need.

Currently trying to install gtk2.2.3 on debian 3.0
I have glib2.2.3,atk,pango(so it seems not),and all the other packages according to the gtk.org 's install guide

All of the packages installed for the most part without problems. But when I try to run ./configure on gtk, it tells me it cannot find pango.. I dont see how, i installed it. Ok.. ::

pkg-config --modversion pango
1.2.5
&
pkg-config --version
0.15.0

I have latest stuff installed. And the package path is pointing to /usr/local/lib/pkgconfig
where the files *.pc are, (note gtk finds glib2 (the one I installed im 99% sure)
and the other programs found it aswell..

atk.pc gmodule-2.0.pc libpng.pc pangoft2.pc xcursor.pc
fontconfig.pc gobject-2.0.pc libpng12.pc pangox.pc xft.pc
glib-2.0.pc gthread-2.0.pc pango.pc pangoxft.pc

but when I ./configure --prefix=/opt/gtk the gtk install it says:


checking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

Now right there, I know what *might* fix it.. its looking for pango-1.0 when the pc files have 2 on them and diff names.. but I dont know how to reset those variables.. pkg-config says pango is installed,,, gtk just isnt finding it

Im 99% sure i have all the lib paths i need in the /etc/ld.so.conf file aswell

hmm, yes i know I could use deb files .. but I want to learn to do this from source (i have to one day anyway)

I just need to figure out how to set the "pango flags" so it will find it.. Im not sure if it is looking for the pango*.pc files or if its looking for the *.so files i found in /usr/local/lib/pango/1.2.0/modules/

Note: I installed pango in its default location with just './configure'

anyone got any ideas?

thanks
e4

E_4
09-02-2003, 12:40 PM
Ok.. ive just done a --list-all of the pkg-config
and all the pango packages are installed like they are supposed to be

so the gtk just *must* not be looking in the right pkg_config_path

I dont see how, cuz Ive set the var to it.. hmm
Will try again

anyone got anymore ideas?

E_4
09-02-2003, 10:28 PM
bump

someone must have some sort of idea

anyone?:confused:

E_4
09-03-2003, 01:56 PM
`bump

well I guess once I get the dselect problem worked out i will uninstall what I installed and install deb packages, sigh