When I start up the latest stable Anjuta available (1.2.0), when I click on any of the menu selections in the Settings menu, Anjuta crashes. Reproducible: Always Steps to Reproduce: 1. Open Anjuta 1.2.0 2. Click the Settings menu 3. Click Preferences Actual Results: A crash. Expected Results: Should have shown me a preferences window. Here is what anjuta outputs during a crash: exdaix@Exdaix exdaix $ anjuta Bonobo accessibility support initialized GTK Accessibility Module initialized Atk Accessibilty bridge initialized ** Message: Initializing AP class ** Message: Initializing AP Instance ** Message: Initializing launcher class (anjuta:10767): GLib-GObject-WARNING **: invalid class cast from `GtkFrame' to ` AtkObject' Bonobo accessibility support initialized GTK Accessibility Module initialized Atk Accessibilty bridge initialized Here is my emerge info: root@Exdaix exdaix # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7) ================================================================= System uname: 2.4.22-gentoo-r7 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://adelie.polymtl.ca/ http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imlib java jpeg ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
I get this too. Did you update any other libraries (gtk+, and related) after installing anjuta-1.2.0?
Most likely... I have a fully updated Gentoo system, which I update daily. I can try recompiling Anjuta if you think that would help.
That's what I'm thinking... Try recompiling Anjuta and report here if it worked.
Anjuta doesn't even compile now... Lol. It compiles for a while, then outputs this: Detecting header files and Generating global symbols ..... chmod +x ./create_global_tags.sh (cd ../global-tags; ./create_global_tags.sh) make[4]: *** [system.tags] Error 139 make[4]: Leaving directory `/var/tmp/portage/anjuta-1.2.0/work/anjuta-1.2.0/global-tags' make[3]: *** [system.tags] Error 2 make[3]: Leaving directory `/var/tmp/portage/anjuta-1.2.0/work/anjuta-1.2.0/data' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/anjuta-1.2.0/work/anjuta-1.2.0/data' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/anjuta-1.2.0/work/anjuta-1.2.0/data' make: *** [install-recursive] Error 1 !!! ERROR: dev-util/anjuta-1.2.0 failed. !!! Function einstall, Line 388, Exitcode 2 !!! einstall failed
I recompiled Anjuta and it did work properly. At /this/ time this bug is very much a WORKSFORME. I think that your compiling issue is separate unto it's own and accordingly I'll change the summary of this bug report to reflect your problems. What information I need from you is a bit more on the problems of your compilation. If your emerge info is different please include that again. Include output from emerge -uDpv anjuta. Include output from qpkg -I -v gtk+. And just for kicks paste more lines before that error (start 10 lines before the chmod +x).
I have the same error as Andrew in Comment #4. The reason for the failure is that global-tags/create_global_tags.sh is missing a "#! /bin/sh" on top. So either patch this file or patch Makefile.in: --- cut here (anjuta-1.2.1.fix.global-tags.diff) --- diff -ur anjuta-1.2.1/global-tags/Makefile.in anjuta-1.2.1.fixed/global-tags/Makefile.in --- anjuta-1.2.1/global-tags/Makefile.in 2004-04-09 08:26:23.000000000 +0200 +++ anjuta-1.2.1.fixed/global-tags/Makefile.in 2004-04-09 08:26:34.000000000 +0200 @@ -405,7 +405,7 @@ system.tags: create_global_tags.sh tm_global_tags echo "Detecting header files and Generating global symbols ....." chmod +x $(srcdir)/create_global_tags.sh - (cd $(top_builddir)/global-tags; $(srcdir)/create_global_tags.sh) + (cd $(top_builddir)/global-tags; /bin/sh $(srcdir)/create_global_tags.sh) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. --- end --- ~ ~
thanks for the patch. i will put it in when i wake up.
in cvs. i used a patch to the actual create_global_tags.sh for a shebang, since i had problems with your makefile.in patch and i was too lazy to diagnose it. :p this worked locally emerge sync and emerge anjuta-1.2.0-r1. reopen if this persists
*** Bug 47242 has been marked as a duplicate of this bug. ***
you should also apply the patch to 1.2.1 lisa
Thanks Markus and Lisa!
*** Bug 47544 has been marked as a duplicate of this bug. ***