LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-06-2006, 02:07 PM   #1
uruahv
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu 5.10 "Breezy Badger"
Posts: 2

Rep: Reputation: 0
Problems with compiling from source


I'm trying to compile a program from source first time. I changed the working directory and entered the "./configure" command, but when it was checking for some required things, I got an error message:

checking for gtk+-2.0 gdk-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 gdk-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

I can't understand much of this, so could anyone tell me, what exactly to do and how?

I'm running on Ubuntu 5.10 with Gnome.
 
Old 03-06-2006, 02:41 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
You have to install gtk2.
 
Old 03-13-2006, 12:55 PM   #3
uruahv
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu 5.10 "Breezy Badger"
Posts: 2

Original Poster
Rep: Reputation: 0
It's already installed.

What about these PKG_CONFIG_PATH's, can anyone tell me what to do with them?

Last edited by uruahv; 03-13-2006 at 12:56 PM.
 
Old 03-13-2006, 01:21 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
You need to install the development packages for gtk+-2.0. Usually called something like gtk-2-devel
 
  


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
Problems compiling from source Ross Clement Linux - Software 2 01-28-2006 07:57 PM
problems with compiling from source PKG_CONFIG_PATH ISSUES Nadim Slackware 7 01-20-2005 05:37 PM
Problems Compiling GTK C++ Source Code drdroid Programming 17 04-10-2004 07:08 PM
problems compiling from source in RH9 smirnoff Linux - Newbie 13 01-21-2004 09:11 AM
Problems with compiling source code cav Linux - General 4 02-06-2003 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:05 PM.

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