Hello,

I am trying to install GTK2.6 and while installing one of the dependencies - 
Pango 1.8.2 - I encountered some problems:
I have posted the details in the gtk-list mailing list  
http://mail.gnome.org/archives/gtk-list/2005-August/msg00149.html

Now while running the configure script I have noticed something weird.
pkg-config is used to find packages already installed. 

I have installed a utility - fontconfig-2.3.2 - in /usr/local/lib and the .pc 
file resides in /usr/local/lib/pkgconfig

I have set the environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig

With this setting, when I issue the command:
pkg-config --modverion fontconfig
it returns 2.3.2, which is correct

Now the problem:
When I run the configure script for Pango-1.8.2 it cheks for fontconfig and 
returns version number 1.0.1 which is not correct. After digging I found an 
older installation of fontconfig in /usr/lib and the corresponding .pc file in 
/usr/lib/pkgconfig
This older version is 1.0.1 but I want to use the newer 2.3.2 version (in 
/usr/local/lib). I don't understand why the configure script finds the older 
version and not the new one even after the environment variable PKG_CONFIG_PATH 
is properly set.
I am also running the configure script with --prefix=/usr/local

Digging deeper, I noticed that even xft anf Glib libraries are showing the 
wrong older version in the configure script. 

Here is the output:

checking for pkg-config... /usr//bin/pkg-config
checking for fontconfig >= 1.0.1... yes
checking FONTCONFIG_CFLAGS... -I/usr/local/include
checking FONTCONFIG_LIBS... -L/usr/local/lib -lfontconfig
checking for freetype-config... /usr//bin/freetype-config
checking for FT_Get_Next_Char in -lfreetype... yes
checking for xft >= 2.0.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/include/freetype2 
-I/usr/local/include
checking XFT_LIBS... -L/usr/X11R6/lib -L/usr/local/lib -lXft -lfreetype 
-lXrender -lfontconfig
checking for glib-2.0 >= 2.5.7 gobject-2.0 gmodule-no-export-2.0... yes
checking GLIB_CFLAGS... -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include
checking GLIB_LIBS... -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0 -liconv

The FLAGS seem right.
Can someone suggest a fix for this. I am not an expert.
Thanks.

-Salil
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to 
http://airsahara.indiatimes.com and Bid Now!


-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to