ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Here is the error I get while trying to run configure on libgnomeui package. I need this package for some application which pops up configuration windows
checking for jpeg_start_decompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for libgnome-2.0 >= 2.0.0 libgnomecanvas-2.0 >= 2.0.0 libbonoboui-2.0 >= 2.0.0 gconf-2.0 >= 1.1.11 pango >= 1.1.2... Package libgnome-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found
configure: error: Library requirements (libgnome-2.0 >= 2.0.0 libgnomecanvas-2.0 >= 2.0.0 libbonoboui-2.0 >= 2.0.0 gconf-2.0 >= 1.1.11 pango >= 1.1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
It complains about absent packages, i do have them as shown here:
I even seem to have libgnomeui...but my application Linphone seems not to be able to find it......here is that error:
checking for malloc.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for an ANSI C-conforming const... yes
checking for vprintf... yes
checking for _doprnt... no
checking for cseq_init in -losip... yes
checking for osip_stop_200ok_retransmissions in -lfsmtl... no
checking for gtkdoc-mkdb... false
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating docs/Makefile
config.status: creating osipua-config.h
config.status: osipua-config.h is unchanged
config.status: executing depfiles commands
Linphone build configuration ended.
Libgnome and/or libgnomeui are missing. For that reason the gnome interface cannot be compiled.
* Compilation of gnome interface is disabled.
* Console interface will be compiled.
Now type 'make' to compile, and then 'make install' as root to install it.
According to my experience, all the .pc files need to be in /usr/lib/pkgconfig or have the appropriate links in /usr/lib/pkgconfig. It seems that pkgconfig ignores the PKG_CONFIG_PATH variable. I built gnome 2.8 from source and had to manually make a lot of symlinks after installing each package since I installed all the Gnome specific stuff to /opt/gnome.
I am having a similar problem. When I try to make a new gnomemm 2.0 project in Anjuta, it tells me it can't find the package 'libgnomeuimm-2.0' and that I should adjust the PKG_CONFIG_PATH environment variable.
However, I've got a later version of libgnomeuimm installed (the most recent from Synaptic-- I believe 2.6) and the pc file is in /usr/lib/pkgconfig already.