LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libgnomeui is preventing install (https://www.linuxquestions.org/questions/linux-newbie-8/libgnomeui-is-preventing-install-79696/)

lejakl 08-06-2003 09:58 PM

libgnomeui is preventing install
 
first, lets start off with a success, i installed gcc! i had to install three packages before gcc would install correctly. (this is a grand success for me! :D)

I'm trying to install a simple program (for livejournal) called drivel, if youre familiar with it, that's a plus :) but I dont think it's anything out of the ordinary.

I ran into this error:

Quote:

checking for pkg-config... /usr/local/bin/pkg-config
checking for libgnomeui-2.0 >= 2.0.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

configure: error: Library requirements (libgnomeui-2.0 >= 2.0.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.
therefore, I downloaded libgnomeui-2.2.1 and installed it. i ran the ./configure for drivel again and ran into the same error. I did some more reading up on the issue and found out what directories libgnomeui installed itself into (using rpm -ql libgnomeui-2.2.1-3)

(if detail on output of this command is needed, please ask. I think its too long and not completely necessary)

the three directories that looked crucial were noted and i executed these commands

Quote:


[root@localhost root]# export PKG_CONFIG=/usr/local/bin/pkg-config
[root@localhost root]# export PKG_CONFIG_PATH=/usr/lib/libglade/2.0/
[root@localhost root]# export PKG_CONFIG_PATH=/usr/lib/
I believe that the command 'export PKG_CONFIG=' directs what directories the program pkgconfig can search for for libraries.

then i ran ./configure again for drivel. and im still getting the same error.

Please advise! much thanks in advance :)

lejakl 08-07-2003 08:25 PM

*bump*

really..need help! :(

neo77777 08-07-2003 09:14 PM

Now everytime you issued export it overwrote the previous statement, try
export PKG_CONFIG=/usr/local/bin/pkg-config:/usr/lib/libglade/2.0/:/usr/lib/libglade/2.0/
plus when you installed the libgnomeui-2.0 if it did istalled the shared libs *.so files then you need to find where they got installed (rpm -ql command) and add the path to $LD_LIBRARY_PATH or adjust /etc/ld.so.conf and run /sbin/ldconfig


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