Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45710 - gtkmm-2.2.8 fails to compile with new gtk-2.4.0 installed
Summary: gtkmm-2.2.8 fails to compile with new gtk-2.4.0 installed
Status: RESOLVED DUPLICATE of bug 45293
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 07:33 UTC by Andrej Kacian (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Andrej Kacian (RETIRED) gentoo-dev 2004-03-25 07:33:23 UTC
Excerpt from emerge:

 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium3 -O2 -pipe -fomit-fraude/sigc++-1.2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -march=pentium3 -O2 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -fprefetch-loop-arrays -falign-functions=4 -Wall -MT pixbufanimationiter.lo -MD -MP -MF ".deps/pixbufanimationiter.Tpo" \
  -c -o pixbufanimationiter.lo `test -f 'pixbufanimationiter.cc' || echo './'`pixbufanimationiter.cc; \
then mv -f ".deps/pixbufanimationiter.Tpo" ".deps/pixbufanimationiter.Plo"; \
else rm -f ".deps/pixbufanimationiter.Tpo"; exit 1; \
fi
pixbuf.cc: In member function `void Gdk::Pixbuf::render_to_drawable(const
   Glib::RefPtr<Gdk::Drawable>&, const Glib::RefPtr<Gdk::GC>&, int, int, int,
   int, int, int, Gdk::RgbDither, int, int)':
pixbuf.cc:435: error: `gdk_pixbuf_render_to_drawable' undeclared (first use
   this function)
pixbuf.cc:435: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
pixbuf.cc: In member function `void Gdk::Pixbuf::render_to_drawable_alpha(const
   Glib::RefPtr<Gdk::Drawable>&, int, int, int, int, int, int,
   Gdk::PixbufAlphaMode, int, Gdk::RgbDither, int, int)':
pixbuf.cc:440: error: `gdk_pixbuf_render_to_drawable_alpha' undeclared (first
   use this function)
make[5]: *** [pixbuf.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gdkmm\" -Dgdkmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium3 -O2 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -fprefetch-loop-arrays -falign-functions=4 -Wall -MT pixbufanimationiter.lo -MD -MP -MF .deps/pixbufanimationiter.Tpo -c pixbufanimationiter.cc  -fPIC -DPIC -o .libs/pixbufanimationiter.o
make[5]: Leaving directory `/var/tmp/portage/gtkmm-2.2.8/work/gtkmm-2.2.8/gdk/gdkmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtkmm-2.2.8/work/gtkmm-2.2.8/gdk/gdkmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtkmm-2.2.8/work/gtkmm-2.2.8/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtkmm-2.2.8/work/gtkmm-2.2.8/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkmm-2.2.8/work/gtkmm-2.2.8'
make: *** [all] Error 2

!!! ERROR: dev-cpp/gtkmm-2.2.8 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)

--end
# emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.26_pre5-gentoo)
=================================================================
System uname: 2.4.26_pre5-gentoo i686 Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -fprefetch-loop-arrays -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -fprefetch-loop-arrays -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp.easynet.nl/mirror/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="X aalib alsa apm avi berkdb cdr crypt directfb doc encode foomaticdb gdbm gif gnutls gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mbox mikmod mmx mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang sse ssl svga tcltk tcpd tetex tiff truetype type1 unicode x86 xml2 xmms xv zlib"
Comment 1 Johannes Schad 2004-03-25 11:48:24 UTC
I have exactly the same problem, even after installing a whole new system. Please solve this Problem soon ore add a newer verison of gtkmm to portage.
Comment 2 ron sayers 2004-03-26 08:45:40 UTC
I am getting the same error here. One of the threads on the forum described making your own ebuild for 2.2.9 but I didn't understand how it worked.
Comment 3 foser (RETIRED) gentoo-dev 2004-03-26 09:04:15 UTC

*** This bug has been marked as a duplicate of 45293 ***
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2004-03-26 13:49:57 UTC
Well, I managed to compile new gtkmm, ebuilds can be found here:

libsigc++: http://bugs.gentoo.org/show_bug.cgi?id=45751
glibmm:    http://bugs.gentoo.org/show_bug.cgi?id=45754
gtkmm:     http://bugs.gentoo.org/show_bug.cgi?id=45752

Alas, devs refuse to include these into portage, reasoning that those are only development versions. Try these yourself, they don't uninstall stable versions, as they use different SLOT numbers.
Comment 5 foser (RETIRED) gentoo-dev 2004-03-26 15:55:46 UTC
@comment #4 : this comment has no place here and is not even related to this bug. We do not solve problems by making people run upstream unstable software versions.