Click to See Complete Forum and Search --> : How do I edit config_paths?
h4n9m4n
08-06-2004, 02:28 PM
well, im trying to install a program. I uses ./configure and all was going good until the end where it said this:
checking for libgnomeui-2.0 gtk+-2.0 libglade-2.0... Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found
I have libgnomeui installed... but it says i have to add the directory containing it to the pkg config path or something. do i have to install pkgconfig again? or just edit a file?
happybunny
08-06-2004, 02:33 PM
i think the trick is to create a new symbolic link to the install lib's in the location your app install is looking for.
Tried locating libgnomeui-2.0.pc?
updatedb && locate libgnomeui-2.0.pc
h4n9m4n
08-06-2004, 03:01 PM
i get:
bash: updatedb: command not found.
and, whats a symobolic link?
happybunny
08-06-2004, 03:04 PM
you have to be root to do updatedb i think....with out the && it might take a while to return a prompt so be patient....its worth running it plain once and a while. Do a man updatedb for info on what this is.
a symbolic link is like a shortcut in windows.
if the lib that is "missing" is located in /dir1/dir2/lib and your install is looking for it in /dir4/lib, you can create a symbolic link in /dir4/lib to point to /dir1/dir2/lib to "trick" your install into knowing where it is.
I don't know the exact syntax from memory but it is something like:
ln -s /dir4/lib /dir1/dir1/lib
h4n9m4n
08-06-2004, 06:55 PM
I still cant use updatedb, it doesnt recognize the command. And, how would i find out where pkg-config is looking?
i'm using suse9.1
happybunny
08-06-2004, 07:48 PM
im not to great at compiling software, but I think if you look in the Makefile that is generated, it may contain the PKG_Config_Path it is looking for.
The updatedb program must not be installed. Don't worry about it. It is just a database of where things are located, but it is static since you have to run updatedb to capture any new stuff into the database.
You should adjust the PKG_CONFIG_PATH to where this "libgnomeui-2.0.pc" file is (if it exists of course).
Try this:
find / -name libgnomeui-2.0.pc
Ocasta
10-15-2004, 02:21 AM
I've found that if you install enough development files, it solves that problem.