Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61987 - Gaim 0.82.1 fails to compile
Summary: Gaim 0.82.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-27 17:13 UTC by James Le Cuirot
Modified: 2004-08-29 03:22 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 James Le Cuirot gentoo-dev 2004-08-27 17:13:11 UTC
I think there's a missing include here or something...

checking for getaddrinfo... yes
checking for socklen_t... yes
checking for silc_client_init in -lsilcclient... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for uname... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.4.6)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at http://www.gtk.org/.

!!! ERROR: net-im/gaim-0.82.1 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed
Comment 1 James Le Cuirot gentoo-dev 2004-08-27 18:39:12 UTC
I'm not sure (need to wait for some compiling to finish) but I think this was actually due to something completely unrelated to Gaim. I'm using Xorg CVS and instead of using /usr/lib/pkgconfig, it was using /usr/X11R6/lib/pkgconfig. I've rectified this and things that weren't previously compiling seem to be working now.
Comment 2 Carl Bach 2004-08-28 02:47:13 UTC
Hmm yeah its somehow related to XORG-CVS, which I'm using, too. I never had that configuration error, but since I'm using xorg-cvs, I cant build any version of gaim. I use gtk+ 2.5.1 from BMG. It always fails at this point:

make[3]: Entering directory `/var/tmp/portage/gaim-0.82.1/work/gaim-0.82.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/li b/gaim/\" -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -I../plugins -I/usr/include  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0  -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/i nclude/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr /include/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_M TSAFE_API -I/usr/include/gtkspell-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/ include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/ usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I /usr/lib/glib-2.0/include   -I/usr/include/startup-notification-1.0     -march=a thlon-mp -O2 -pipe -Wall -g3 -MT gtkft.o -MD -MP -MF ".deps/gtkft.Tpo" -c -o gtk ft.o gtkft.c; \
then mv -f ".deps/gtkft.Tpo" ".deps/gtkft.Po"; else rm -f ".deps/gtkft.Tpo"; exi t 1; fi
In file included from gtkft.c:35:
gtkcellrendererprogress.h:31:1: warning: "GTK_TYPE_CELL_RENDERER_PROGRESS" redef ined
In file included from /usr/include/gtk-2.0/gtk/gtk.h:53,
                 from gtkgaim.h:32,
                 from gtkft.c:26:
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:34:1: warning: this is the lo cation of the previous definition
In file included from gtkft.c:35:
gtkcellrendererprogress.h:32:1: warning: "GTK_CELL_RENDERER_PROGRESS" redefined
In file included from /usr/include/gtk-2.0/gtk/gtk.h:53,
                 from gtkgaim.h:32,
                 from gtkft.c:26:
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:35:1: warning: this is the lo cation of the previous definition
In file included from gtkft.c:35:
gtkcellrendererprogress.h:38: error: redefinition of typedef 'GtkCellRendererPro gress'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41: error: previous declarati on of 'GtkCellRendererProgress' was here
gtkcellrendererprogress.h:39: error: redefinition of typedef 'GtkCellRendererPro gressClass'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42: error: previous declarati on of 'GtkCellRendererProgressClass' was here
gtkcellrendererprogress.h:41: error: redefinition of `struct _GtkCellRendererPro gress'
gtkcellrendererprogress.h:49: error: redefinition of `struct _GtkCellRendererPro gressClass'
make[3]: *** [gtkft.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gaim-0.82.1/work/gaim-0.82.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gaim-0.82.1/work/gaim-0.82.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-0.82.1/work/gaim-0.82.1'
make: *** [all] Error 2

 emerge info
Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-nitro5)
=================================================================
System uname: 2.6.8-nitro5 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointers"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current /usr/local/bmg-main /usr/local/fluidportage/trunk /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa avi berkdb bitmap-fonts bonobo crypt cups encode esd evo foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 3 gent_bz 2004-08-28 04:49:39 UTC
I get the same error as that reported in comment #2 (re: GTK_TYPE_CELL_RENDERER_PROGRESS and GTK_CELL_RENDERER_PROGRESS) and I also use gtk+-2.5.1 from bmg, but not xorg-cvs.  gaim-0.81-r5 emerges with no problems.
Comment 4 Carl Bach 2004-08-28 05:11:02 UTC
Yeah sorry, I just checked it again, I still can emerge gaim-0.81-r5 - so the problem seems to be introduced in gaim 0.82 and newer.
Comment 5 Don Seiler (RETIRED) gentoo-dev 2004-08-28 10:57:36 UTC
You people are posting two different bugs.  The first one is definitely due to your Xorg issues, as you found out.  I use the normal xorg-x11 from portage and all works fine.

The second is a gtk+ 2.5 issue.  That is why it's called BREAK MY GENTOO.  However since upstream has tired of complaints as have I we're all going to be patching real soon with a fix.

I'm marking this FIXED since the bug was originally about the XOrg issues.  Don't post to this bug about your gtk+ cellrenderer issues.
Comment 6 Don Seiler (RETIRED) gentoo-dev 2004-08-28 11:53:20 UTC
Regarding the GTK_TYPE_CELL_RENDERER_PROGRESS issue, I've just patched gaim-0.82.1 to fix this so it should work with even dev gtk+.  CVS revision 1.2.
Comment 7 Carl Bach 2004-08-29 03:22:09 UTC
Thank you for the quick fix! Compiles and works flawlessly now! Thanks again!