when emerging mldonkey without gtk and gtk2 support (USE=-gtk -gtk2) an access violation occurs: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-net-p2p_-_mldonkey-2.5.28-19497.log" mkdir: /usr/lib/ocaml/lablgtk -------------------------------------------------------------------------------- flo@basil ~ $ emerge --info Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-rc2-mm1) ================================================================= System uname: 2.6.8-rc2-mm1 i686 AMD Athlon(TM) XP 2200+ 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="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /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="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/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="3dnow X alsa apm arts avi berkdb cdr crypt cups dga directfb divx4linux doc dvd dvdr encode esd foomaticdb gdbm ggi gif gpm gtk2 guile imap imlib innodb ipv6 jpeg kde libg++ libwww mad matroska mikmod mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex theora truetype v4l v4l2 x86 xinerama xml2 xmms xv xvid zlib" Reproducible: Always Steps to Reproduce: 1. 2. 3.
This is because the mldonkey build script seems to require lablgtk, and if it doesn't find it, it'll go download its own version and install it for you; a big no-no. Let me do a little more research on this topic, and I should have some form of fix tomorrow.
sorry bud, but with this development version, by issuing --disable-gui and --disable-newgui, it looks like the build will fail, requiring some gtk code to be built. For this reason, I have put in an RDEPEND on lablgtk so that the build completes correctly. Spiralvoice may want to check into this, though, to see if he can reproduce the same problems, or if I'm just doing something wrong. It will be a while before I will try to get my box to a state of being able to reproduce this error tomorrow, but for now, a quick-n-dirty fix is in portage.
Use guibuild.patch: http://savannah.nongnu.org/patch/?func=detailitem&item_id=3305
Actually, I just patched configure.in to not install lablgtk if it's not available already. The guibuild.patch was not essential here. Fixed in portage and looking forward to the release of patch_pack28a ;). spiralvoice- if lablgtk is not essential for the non-gui core, could I push for the availability of a configure flag to disable the automatic installation of lablgtk?
It
It´s already released but highly experimental http://download.berlios.de/pub/mldonkey/spiralvoice/experimental/patch_pack28a.gz