Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18593 - The package "goats" in x11-misc doesn't compile, in spite of the fact that all dependencies had been satisfied.
Summary: The package "goats" in x11-misc doesn't compile, in spite of the fact that al...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Leonardo Boshell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-01 11:25 UTC by Arthur Chan
Modified: 2003-10-02 02:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Chan 2003-04-01 11:25:41 UTC
While running the config script, the following error occurs:

================================================================================
checking for pkg-config... /usr/bin/pkg-config
checking for libgnomeprintui-2.0 libpanelapplet-2.0 libglade-2.0... Package
libgnomeprintui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeprintui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeprintui-2.0' found
 
configure: error: Library requirements (libgnomeprintui-2.0 libpanelapplet-2.0
libglade-2.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.
 
!!! ERROR: x11-misc/goats-2.0 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed
===============================================================================

My $PKG_CONFIG_PATH variable was set to /usr/lib/pkgconfig, which is btw, where
all the required .pc files for the pkg-config utility are installed.

I think the problem is that it's looking for "libgnomeprintui-2.0.pc"
specifically, whereas I have "libgnomeprintui-2.2pc."

Reproducible: Always
Steps to Reproduce:
1. emerge goats
Actual Results:  

================================================================================
checking for pkg-config... /usr/bin/pkg-config
checking for libgnomeprintui-2.0 libpanelapplet-2.0 libglade-2.0... Package
libgnomeprintui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeprintui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeprintui-2.0' found
 
configure: error: Library requirements (libgnomeprintui-2.0 libpanelapplet-2.0
libglade-2.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.
 
!!! ERROR: x11-misc/goats-2.0 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed
===============================================================================


Expected Results:  
The config script (or perhaps pkg-config) should've noticed I had
libgnomeprintui-2.2, as opposed to libgnomeprintui-2.0.  Should've used >=
checking as opposed to ==

Portage 2.0.47-r10 (, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/var/portage/tree"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow pdflib quicktime slang opengl X kde gtk gnome alsa afs aalib apm
arts avi berkdb bonobo cdr cjk crypt cups dga doc dvd esd evo gd gdbm ggi gif
gphoto2 gpm gtk2 gtkhtml imap imlib innodb ipv6 java jpeg junit kerberos lcms
ldap leim libg++ libwww mbox mikmod mmx motif mozilla mpeg mule mysql ncurses
nls odbc oggvorbis oss esound pam pda perl pic plotutils png postgres python qt
qtmt readline samba sasl scanner sdl slp snmp spell sse ssl svga tcltk tcpd
tetex tiff truetype wmf xml xml2 xmms xv zeo zlib encode guile flash"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2003-04-08 02:17:53 UTC
Ok, I added a new dependency to this ebuild. Please sync your Portage tree and try merging this package again.

Note that this package needs libgnomeprintui-2.0.pc, not libgnomeprintui-2.2.pc. These are provided by two different versions of that package. One has SLOT="2" and the other SLOT="2.2". You'll probably need to have them both.

Thanks
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2003-10-02 02:36:15 UTC
closing again...