aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compile and use amule without X and wx  (Read 3682 times)

yozhhh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Compile and use amule without X and wx
« on: January 11, 2006, 11:40:40 PM »

Is it possible? I have a small slackware-based-router without X and X-realated-libraries. I need only an amule-daemon, a terminal-like access and a web-interface to amule engine. I'm using currently mldonkey and would like to try amule too.

Problem description: i have compiled amule on other slackware10.2-machine because the router does not have gcc installed. I tried to build amule without X:
./configure --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-
alcc --disable-wxcas --without-x --disable-monolithic
However, i cannot even start amuleweb on my router:
~$ amuleweb -w
amuleweb: error while loading shared libraries: libwx_base_net-2.6.so.0: cannot open shared object file: No such file or directory
How to compile amule without wx?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compile and use amule without X and wx
« Reply #1 on: January 11, 2006, 11:43:48 PM »

did you install/compile wxBase on your system? did you ran ldconfig (/sbin/ldconfig) after compiling it?

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compile and use amule without X and wx
« Reply #2 on: January 12, 2006, 07:43:52 AM »

maybe you did not specify
--prefix=/usr/

add

/usr/local/lib/

to

/etc/ld.so.conf

and run

/sbin/ldconfig
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."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compile and use amule without X and wx
« Reply #3 on: January 12, 2006, 07:50:38 AM »

You can't compile aMule without wx. However, wxBase, which is the lib it's asking you to have, has no need for X. Meaning is a completely console lib. Just copy it to your router.
Logged

yozhhh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: Compile and use amule without X and wx
« Reply #4 on: January 12, 2006, 10:38:31 AM »

OK, thanks. I believed, wx is a graphic toolkit only :)
Logged