aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Cant emerge on gentoo with no X  (Read 2938 times)

inhumanity

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Cant emerge on gentoo with no X
« 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
« Last Edit: August 28, 2005, 09:30:04 AM by inhumanity »
Logged

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: Cant emerge on gentoo with no X
« Reply #1 on: August 28, 2005, 10:35:17 AM »

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!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Cant emerge on gentoo with no X
« Reply #2 on: August 28, 2005, 10:55:01 AM »

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...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

inhumanity

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Cant emerge on gentoo with no X
« Reply #3 on: August 28, 2005, 11:21:07 AM »

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 :)
Logged

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: Cant emerge on gentoo with no X
« Reply #4 on: August 28, 2005, 11:46:00 AM »

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.
Logged

PxPert

  • Italian forum helper
  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 91
Re: Cant emerge on gentoo with no X
« Reply #5 on: August 30, 2005, 01:07:09 AM »

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)
Logged
Server ~ # amuled
amuled: OnInit - starting timer
This binary requires you to use the flag --only-chuck-norris-would-stop-me and only if you're very sure of it.

TROVATEMI UN'ALTRO PROGRAMMA COSI PIMPANTE COME AMULE E MI FACCIO PRETE  :D :D :D

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: Cant emerge on gentoo with no X
« Reply #6 on: September 01, 2005, 06:16:25 PM »

I downloaded an ebuild from here and changed some EXTRA_ECONF in src_compile().
You should find the ebuild that works with my router here.

Bye
Logged

inhumanity

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Cant emerge on gentoo with no X
« Reply #7 on: September 02, 2005, 04:57:13 AM »

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.
Logged