LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2006, 11:13 AM   #1
synergy2
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Question canīt install gtk+ ?


hey there.
i want to install gtk+ and downloaded all dependent files and installed pango,atk,gettext and glib but still get an error in configure gtk+ like this : p.s. (do i need cairo though?)

checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.8.5 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.

Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.

may someone help me please..
 
Old 06-19-2006, 11:24 AM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
Looks like you do need Cairo. The package is reporting it as a dependency. Go ahead and get that. Why, though, are you compiling gtk+? Most distros have these as binarys that you can download and install much more simply.
 
Old 06-19-2006, 02:29 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,563

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
cairo is not necessary, but it's always good to have.
Anyway, if you installed all the dependencies from source, using "./configure, make, make install", then everything is installed under /usr/local. One solution is to copy the *.pc files (of the software you've installed) from /usr/local/lib/pkgconfig to /usr/lib/pkgconfig, or run:
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
before running ./configure. Or you can re-install the dependencies using "./configure --prefix=/usr"
 
  


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
GTK+ programs on Windows without having to install GTK+, GLib, etc Nylex Programming 2 02-19-2006 02:33 PM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 01:51 PM
Can I install GTK-1.x.x although GTK-2.x.x has already been install in Fedora3 ? Vincenttalk Linux - Software 4 04-13-2005 11:32 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 01:46 AM
GTK, GTK+ and MPlayer won't install ? ivan@elfak Linux - Newbie 4 02-29-2004 08:19 PM


All times are GMT -5. The time now is 11:44 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration