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? |
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. |
The answer is in the question my child....
Quote:
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" |
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..
|
/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. |