LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-10-2004, 12:05 AM   #1
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
Glib installation problem during prep for Acidrip


Everything prior to this point has gone smoothly. When I attempt to compile Glib I get the following error.

Saturn:/usr/local/Glib-1.050 # perl Makefile.PL
Including ApiDoc pod.
Deleting Glib from doc.pl's $data
sh: line 1: pkg-config: command not found
*** can not find package gobject-2.0 >= 2.0.0
*** check that it is properly installed and available in PKG_CONFIG_PATH
at Makefile.PL line 77

I have searched around, and will continue to do so, but I am not finding much related to this. Any ideas?
 
Old 06-21-2004, 09:47 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Original Poster
Rep: Reputation: 46
Anything? Acid? Tricky? Anyone?

I tried the process again, this time on my desktop machine (listed below) with the same result. Everything goes well until I get to Glib.

Blackpearl:/usr/local/Glib-1.043 # perl Makefile.PL
Including ApiDoc pod.
Deleting Glib from doc.pl's $data
sh: line 1: pkg-config: command not found
*** can not find package gobject-2.0 >= 2.0.0
*** check that it is properly installed and available in PKG_CONFIG_PATH
at Makefile.PL line 77
Blackpearl:/usr/local/Glib-1.043 #

I installed the ExtUtils-Depends and ExtUtils-Pkg-Config from source, yet whereis and locate cannot seem to find them. I didn't have any errors during their installation and unless there is more than the usual perl Makefile.PL, make, make install involved, then they are there.

This is my third attempt at the elusive AcidRip. I really want to get this working. Google has been very little help.
 
Old 06-21-2004, 10:06 PM   #3
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
The answer is in the question my child....

Quote:
sh: line 1: pkg-config: command not found
*** can not find package gobject-2.0 >= 2.0.0
*** check that it is properly installed and available in PKG_CONFIG_PATH
The PKG_CONFIG_PATH is the path that pkgconfig looks for package configuration files (*.pc files). These files contain information on where the libraries etc of packages are installed (note: not packages in the same way as .rpms and .debs, but in the utility pkgconfig sense).

Where is gobject-2.0.pc? Is it on your system? Look in /usr/lib/pkgconfig and /usr/local/lib/pkgconfig (maybe /usr/X11R6/lib/pkgconfig as well).

Which of the aforementioned directories exist on your system?

If you do not have gobject-2.0.pc, do you have a glib-2.0-dev type package installed?

What is your PKG_CONFIG_PATH variable set to? Does it exist? (Use "set" at a prompt to find it)

If /usr/lib/pkgconfig and /usr/local/lib/pkgconfig both exist, it can't harm to add something similar to the following to your .profile file if the directories exist:

export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"


Last edited by slyman; 06-21-2004 at 10:15 PM.
 
Old 06-22-2004, 12:15 PM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Original Poster
Rep: Reputation: 46
Thanks for the reply slyman. I will try to find the file again when I get home. The process is so lengthy to get this stuff working that it gets easy to overlook things. Once frustration sets in (read: dependency hell) I get stuck staring at the screen. Several days worth of compiling dependencies for dependencies will do that..
 
Old 06-22-2004, 09:56 PM   #5
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Original Poster
Rep: Reputation: 46
/usr/lib/pkgconfig exists, but lacks the file, /usr/local/lib/pkgconfig doesn't exist

The variable is set to
PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig

which does contain the file gobject 2.0

Is there a command line switch during installation that can point to it's location?

Last edited by Pcghost; 06-22-2004 at 09:59 PM.
 
  


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
problem with glib installation golfavr Linux - Software 2 08-24-2005 12:18 AM
Debian installation prep for newbie!!! rock_wrench05 Debian 9 07-27-2005 03:34 AM
The somewhat Official Acidrip Installation Howto! trickykid LinuxQuestions.org Member Success Stories 0 01-30-2004 11:04 PM
Mandrake installation prep solfer Linux - Distributions 16 02-23-2003 12:18 PM
Glib and gtk installation problem J_Szucs Linux - Newbie 3 08-06-2002 09:57 PM


All times are GMT -5. The time now is 11:25 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