Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-29-2004, 03:41 PM   #1
Registered: Sep 2004
Posts: 127

Rep: Reputation: 15
libgnome-2.0.pc file missing

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:

[root@mandrake1 /]# rpm -qa \*libgnome\*
[root@mandrake1 /]#

I even seem to have libgnomeui...but my application Linphone seems not to be able to find 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.
[root@mandrake1 linphone-0.12.2]#

ANy help is appreciated..
Old 09-29-2004, 04:18 PM   #2
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
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.
Old 09-29-2004, 05:14 PM   #3
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
In My case I dont even see this file in my Hard Drive...

if I run,
#find . -name "libgnome-1.0.pc"

I find nothing.............

Does this file only get installed with the Development version of I have to to install GNOME from get this file ..?
Old 09-29-2004, 05:56 PM   #4
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
That's correct. The package file (pc) is only installed with the development version of the package or if you built and installed the package yourself.
Old 09-01-2006, 07:21 PM   #5
LQ Newbie
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
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.

Any ideas? Thanks in advance!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Package libgnome-menu found yewchong Linux - Newbie 3 12-07-2008 03:59 PM
libgnome-devel bug!! sina_kish Linux - Software 1 10-28-2005 03:07 AM
Error compiling libgnome-2.0.6 in Mandrake 10.2 Spooled Linux - Software 3 08-30-2005 02:23 AM
evolution- missing EAST&WEST Linux - Software 0 06-08-2005 08:34 AM
help with library Slackeriz Slackware 2 04-17-2005 05:12 AM > Forums > Non-*NIX Forums > Programming

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration