PKG_CONFIG_PATH and pango



Greets!

 

Im currently installing gtk+-2.2.1 and the problem is
that in the ./configure line it outputs an error:

 

checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >=
1.0.1... Package pango was not found in the pkg-config
search path.

Perhaps you should add the directory containing
`pango.pc'

to the PKG_CONFIG_PATH environment variable

No package 'pango' found

 

configure: error: Library requirements (glib-2.0 >=
2.1.4 atk >= 1.0.1 pango >= 1.0.1) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if
your libraries are in a nonstandard prefix so
pkg-config can find them.

 

Other info:

 

echo $PKG_CONFIG_PATH

/usr/local/bin/lib/pkgconfig:
/usr/local/bin/lib/pkgconfig

 

find / -iname “pango.pc”

/usr/local/bin/lib/pkgconfig/pango.pc

 

 

What must I do to pango be detected by pkg-config?

 
[][]Thx in advance


Hi, I had the same problem and solved with following:

bash>find / -name 'pkgconfig'
/usr/lib/pkgconfig
/usr/local/lib/pkgconfig
bash>find / -name 'pango.pc'
/usr/local/pango-1.2.3/pango.pc
bash> export
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/pango-1.2.3/

above should be 1 line command. And the path should be
adjusted according to your file location.

-- 
Eric Chen
4655 Old Ironsides Dr, Suite 350
Santa Clara, CA 95054
Tel: (408) 213-0052 Ex:118
Fax: (408) 213-0051



=====
Eric Chen
TEL: home:(650)938-3432 cell:(408)887-2585

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



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