LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-15-2006, 10:15 PM   #1
cypherpunk
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Question pkg-config query, installing the gtk+ library


I am tring to install the gtk+ libraries and development file. Upon ./configure i get:

configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

I looked up /usr/lib/pkgconfig that contains .pc files. The glib i have is 2.10 , and the others too are of higher version. Then why this eror. I looked up the enviornment variables and PKG_CONFIG_PATH wasnt defined. I thus set it to '/usr/lib/pkgconfig' and '/usr/lib/pkgconfig/' and tried ./configure again. Yet i get the same error.

If it helps i'm on ubuntu 6.06LTS.

-----------my /usr/lib/pkgconfig/glib-2.0.pc ------------
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums

Name: GLib
Description: C Utility Library
Version: 2.10.3
Libs: -L${libdir} -lglib-2.0
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include

-----------my /usr/lib/pkgconfig/cairo.pc --------------
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: cairo
Description: Multi-platform 2D graphics library
Version: 1.0.4

Requires.private: freetype2 >= 8.0.2 fontconfig xrender libpng12
Libs: -L${libdir} -lcairo
Cflags: -I${includedir}/cairo


Regards
 
Old 07-16-2006, 02:17 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Check your config.log for details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile issues related to GTK, pkg-config Snivek Slackware 7 11-01-2005 10:28 AM
pkg-config gtk+-2.0 sunil21 Linux - Software 1 10-05-2004 02:25 PM
installing pkg-config minm Linux - Software 1 08-23-2004 11:54 AM
GTK+ 2.0 / pkg-config / gcc radiohead_rocks Programming 18 01-26-2004 04:46 PM
Installing Glib, ATK, GTK, Pkg Config, and Pango! LinuZ Linux - Newbie 9 10-26-2003 02:58 PM


All times are GMT -5. The time now is 09:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration