Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31067 - hardware-monitor and libgnomeuimm can no longer be compiled after upgrading to libgnomemm 2
Summary: hardware-monitor and libgnomeuimm can no longer be compiled after upgrading ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-13 14:12 UTC by Steven Waddell
Modified: 2003-10-15 03:09 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 Steven Waddell 2003-10-13 14:12:08 UTC
I have upgraded to libgnomemm-2.0, the hardware-monitor applet ceased to load
since it's linked to libgnomemm-1.3. 

A recompile of hardware-monitor fails with the error message:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgnomemm-1.3

libgnomeuimm compilation fails with the same problem.


Reproducible: Always
Steps to Reproduce:
1. "emerge libgnomemm"
2. "emerge hardware-monitor" or "emerge libgnomuimm" 
3.

Actual Results:  
emerge faile with a linker error 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgnomemm-1.3


Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(TM) XP1900+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.blueyonder.co.uk/mirrors/ftp.gentoo.org/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline arts tetex aalib bonobo svga tcltk java guile ruby sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis qt kde motif opengl mozilla
X gtk gnome -alsa imap dvd doc"
Comment 1 Derek Dolney 2003-10-14 12:20:49 UTC
I had the same problem. For some reason, libgnomemm-2.0 installs its pkg-config
file (/usr/lib/pkgconfig/libgnomemm-2.0.pc) with -lgnomemm-1.3 in the Libs
field.
I just hacked it to say -lgnomemm-2.0.

After that, I had to recompile libgnomeuimm-2 to get the dependencies right.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-10-15 03:09:51 UTC
thanks for tracking that down. i've added a patch and a new revision for
libgnomemm with the fixed pkgconfig file.