LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-31-2005, 08:51 PM   #1
Snivek
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Question Compile issues related to GTK, pkg-config


Hi All,

I am somewhat new to linux/slackware. I am attempting to install gnome-themes-2.12 but am running into issues during the compile. It is saying that it cannot locate my gtk packages. Here is the exact message:

--

No package 'gtk-engines-2' found
configure: error: Package requirements (gtk+-2.0 >= 2.0.0 gdk-pixbuf-2.0 >= 2.0.0 gtk-engines-2 >= 2.5.0 ) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

--

I am not familiar with pkg-config. All i know is that is used to find information on installed packages (if they are installed?). Here is output of a search i did for the packages:

--

root@lilslacker:/usr/lib/pkgconfig# ls | grep gtk
gtk+-2.0.pc
gtk+-x11-2.0.pc
gtk+.pc
gtk-doc.pc
libgtkhtml-2.0.pc
mozilla-gtkmozembed.pc

--and--

root@lilslacker:/usr/lib/pkgconfig# ls | grep gdk
gdk-2.0.pc
gdk-pixbuf-2.0.pc
gdk-pixbuf-xlib-2.0.pc
gdk-x11-2.0.pc
gdk.pc
imlibgdk.pc

--

I noticed that there is no pc file for gtk-engines but I did download/compile/install it before running these searches. Any advice on how to overcome this issue would be greatly appreciated. Thanks!
 
Old 10-31-2005, 09:35 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i think you'll just need to type "

Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
then try again...

egag
 
Old 11-01-2005, 07:31 AM   #3
Snivek
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
no go, did not help, recieved same error message. :-(
 
Old 11-01-2005, 08:05 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
how did you install gtk-engines-2 ?
did you use " checkinstall " to make a slackware package.
if so, check the filelist in /var/log/packages to see where the files are,
and if and where a " .pc " file was installed.

if you don't have " checkinstall " you can get a binary Slackware package here :

http://asic-linux.com.mx/~izto/check...l/download.php

egag
 
Old 11-01-2005, 08:10 AM   #5
Snivek
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I did not. What is checkinstall? I will try what you are saying and post the results.
 
Old 11-01-2005, 08:20 AM   #6
Snivek
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I downloaded and used checkinstall to install the gtk-engines. It does show up when i do a view of installed packages. I checked the log and it did create a .pc file. I reran the export command you mentioned above and tried to compile the gnome-theme again but still recieved the same error.
 
Old 11-01-2005, 09:00 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
gtk-engines-2 >= 2.5.0 ) were not met.
Perhaps you installed the wrong version.
Run:
Code:
pkg-config --modversion gtk-engines-2
to see what version pkg-config returns.
 
Old 11-01-2005, 10:28 AM   #8
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
My experience with compile-from-source is that by default, things are installed in: /usr/local

pkg-config stuff (mostly GTK) is installed in /usr, and to make best use of the way Slack is setup, you need to install all other compile-from-source pkg-config programs into the same place. Can you do this by:

Code:
./configure --prefix=/usr
I used to be worried about "corrupting" my lovely install, but have since taken to using checkinstall to keep the system clean. If ever I need to remove something, just removepkg the bugger =)

Take it easy,
- Piete.
 
  


Reply



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
pkg-config gtk+-2.0 sunil21 Linux - Software 1 10-05-2004 02:25 PM
GTK+ and rpm install and compile issues Mandrake 10.0 keflavich Linux - Newbie 3 08-27-2004 06:39 PM
pkg related utilities missing mokojin Slackware 1 03-03-2004 04:21 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:25 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
Open Source Consulting | Domain Registration