Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-24-2004, 11:22 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
GTK + 2.4 ... Enviroment Variable Settings?

Why is GTK so hard to install .... all I see in this forum is GTK this and GTK that.....

I posted a similar question already but I am going to rephrase my question... I am running SuSE 9.0 and I want to install GTK 2.4.... I have installed all the dependencies (pkg-config) included... and I am trying to run ./configure for the glib 2.4 module..... it gives me...

checking for pkg-config... no
configure: error: *** pkg-config not found. See
I have the pkg-config rc files located in: /usr/lib/pkgconfig/ and in /usr/local/lib/pkgconfig/ (tried to copy it to different locations to see if it would work!)

I saw on another post that I had to maybe set my PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"....
I typed that into my bash shell and it seemed to like it (is that how I am supposed to do it?...I am a newbie... so not exactly sure how to set the path)

I also tried to do
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure
and it still won't find pkgconfig for me! ahhhhhhh

anyone have any insights?

Last edited by miskiw; 04-24-2004 at 11:25 PM.
Old 04-25-2004, 05:13 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
So did you install the program pkg-config? The pkgconfig folders and .pc files are generated automatically by other programs when you install them for pkg-config to find. Open a terminal and enter pkg-config. If it says "Must specify package names on the command line" then you have pkg-config installed. If it says "bash: pkg-config: command not found" then you need to install pkg-config.
Old 04-25-2004, 10:48 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0

well.. I guess pkg-config is not installed properly then.... I did a ./configure make make install with pkg-config... and I just assumed that it worked since it didn't give me any errors... guess I assumed wrong... cause I get a "command not found"

I will try to rectify this haha


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
System Path Enviroment Variable innovations Linux From Scratch 2 10-26-2005 05:27 PM
enviroment variable PATH Moataz Linux - Newbie 2 04-25-2005 09:25 PM
how to change $PATH enviroment variable bglnelissen Linux - Software 2 11-03-2004 07:55 AM
MOZILLA_FIVE_VARIABLE enviroment variable Lechium Slackware 4 08-31-2004 05:19 AM
Enviroment variable set for all ChimpFace9000 Slackware 5 12-09-2002 10:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 PM.

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