aMule Forum
English => aMule Help => Topic started by: inhumanity on August 28, 2005, 09:27:28 AM
-
I'm trying to emerge amule on my gentoo box with no X, if I emerge wxGTK with either +wxgtk1 or +gtk2 it wants to install xorg, so I set -wxgtk1 and -gtk2 (which afaik should be ok since all I want is command line amule/amuled/amuleweb and no gui (edited ebuild with --disable-monolithic)) but I still get this error when I try to emerge it:
!!! set-wxconfig: Error: Can't find normal or debug version:
!!! set-wxconfig: /usr/lib/wx/config/gtk-ansi-release-2.6 not found
!!! set-wxconfig: /usr/lib/wx/config/gtk-ansi-debug-2.6 not found
!!! You need to emerge wxGTK with wxgtk1 in your USE
Is it true? do I need either wxgtk1 or gtk2 in my use flags (and thus xorg)? please help!
edit: more info:
wxGTK compiled with:
x11-libs/wxGTK-2.6.1 -debug -doc -gnome -gtk2 -joystick -odbc -opengl -sdl -unicode -wxgtk1
amule attempted to compile with:
net-p2p/amule-2.0.3 +amuled -debug -gtk2 +nls +remote +stats -unicode
-
hi,
I use amuled on Gentoo, but I got some problems too trying to emerge it, so I compiled it directly from the sources and everything goes well!
-
well maybe check what type of wx-config you have in /usr/bin/ and edit the aMule.ebuild to search for it...
but maybe also file a bugreport at gentoo, since we dont do the ebuilds and are not responsible if they dont work...
-
yeah, i was just thinking someone here might have come across the same problem, ill go dig around the gentoo forums some more and file a bug report then I guess ill download the source and do it manually, sorry to waste your time :)
-
Perhaps, browsing some gentoo forum I found that someone wrote an ebuild for amule 2.0.3, that fixes same problem... unfortunately I found that _after_ I installed aMule compiling it from sources and I didn't remember the web page.
-
I've made an ebuild for installing amule 2.0.3 without X that worked perfectly for my server (pentium 133 rox :D) but I've lost 2 days ago with my gentoo box in my client...
but I remember that i deleted these lines from the ebuild:
--enable-amule-gui (from EXTRA_ECONF="--enable-amule-daemon --enable-amule-gui")
--with-wx-config=${WX_CONFIG} \
--with-wxbase-config=${WX_CONFIG} \
`use_enable remote amulecmdgui` \
`use_enable remote webservergui` \
`use_enable stats wxcas` \
`use_enable stats alcc` \ <- (i'm sorry i don't remeber very well if i deleted it...)
I'm just reinstalling gentoo on my client pc so I'm sorry I can't try if they were all the changes i've made and if they're correct :(
Anyway save the changed ebuild and put it in /usr/local/etc. (I think you know how to make an ebuild work :D)
-
I downloaded an ebuild from here (http://bugs.gentoo.org/show_bug.cgi?id=95104) and changed some EXTRA_ECONF in src_compile().
You should find the ebuild that works with my router here (http://xoomer.virgilio.it/oppete/amule-2.0.3.ebuild).
Bye
-
Thanks for your ebuild, I've already compiled it from source (and its running beautifully :) but I'm sure your ebuild will come in handy.