LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Glib installation problem during prep for Acidrip (https://www.linuxquestions.org/questions/linux-software-2/glib-installation-problem-during-prep-for-acidrip-191772/)

Pcghost 06-10-2004 12:05 AM

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?

Pcghost 06-21-2004 09:47 PM

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.

slyman 06-21-2004 10:06 PM

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"


Pcghost 06-22-2004 12:15 PM

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..

Pcghost 06-22-2004 09:56 PM

/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?


All times are GMT -5. The time now is 01:51 AM.