aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: installing&running only command line  (Read 5926 times)

burzek

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
installing&running only command line
« on: February 26, 2005, 09:35:57 AM »

Hi folks,

I am looking for a emule client for linux, that can run as a command line daemon which can be remotely controlled. It should support emule credits and run on a slow machine with slackware installed. I do not install X , since I look for a command line client like MLdonkey.
However, MLdonkey does not support emule credits.

I will apreciate if you can tell me how can I install Amule on a slackware without any X libs. I am a newbie and not good at compile stuff.

In a web site I saw about Amuled which seems what I want, however I can not find where to download. In linuxpackages.net - a site for slackware - I downloaded a compiled binary of Amule. However there is no Amuled in the bin directory.
All the executables are asking for packages of other libs probably for X.

I appreciate if someone can help...

Thanks,

Burzek
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: installing&running only command line
« Reply #1 on: February 26, 2005, 10:56:00 AM »

heyho

ok, i think tomorrow or so I will write a howto for amuled on the wiki-apges :)
atm there are no binary-packages availible so you have to compile it. no way around it!!
here is a little howto ;)

1.st

download wxBase 2.5.4 from http://www.wxWidgets.org
unpack it, and do as user
./configure --prefix=/usr/ && make
as root do
make install && ldconfig

2nd. download amule-cvs !!! from http://amule.hirnriss.net, dont use rc8 its was buggy with amuled!!!
unpack it, and do as user
./configure --enable-amulecmd --enable-webserver --disable-monolithic && make
as root do
make install

3rd.
amuled will be in /usr/local/bin/
you should be able to start amuled with simple typing amuled on the console
do that once! and when started, stop amuled again

4.th
after that the .aMule directory and .eMule file will have been created in the homedir of the user that just ran aMule
copy clients.met, cryptkey.dat and preferences.dat into the .aMule dir to take over your credits.
edit the .eMule file to setup everything in aMule. like temp dir, connections and such.

5.th
to controll the amuled you can atm use amulecmd and amuleweb, to make them work you have to enable external connections and such. check
http://www.amule.org/wiki/index.php/Webserver#With_aMule_1.2.8_or_earlier

i know this link is for 1.2.8 but since you have no gui to setup some things read this to setup everything right in the .eMule file

if you have other questions check the rest of the wiki pages most stuff is already answered there.
and if not ;) ask here

stefanero

PS. -- disbale the udp socket in the .eMule file, it is still buggy, and will crash your amuled
      -- dont setup max-connections higher then 1024, since wxBase cannot handle more connections
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."

burzek

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
aMule CVS - the daily preview
« Reply #2 on: February 26, 2005, 11:37:50 AM »

Hi again,

Thanks a lot for all the info. :D

I checked the site - http://www.hirnriss.net/?area=cvs - and there are lots of tarballs for everyday.
Which one do you use/advise , should I go with the latest ones? It is confusing to have a new tarball for everyday... ?(

I just want to go with one which is best for amuled.

Thanks,
Burzek
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: installing&running only command line
« Reply #3 on: February 26, 2005, 12:24:56 PM »

always take the last.. :)
and sometimes with only amuled it does not compile then take the one before ;)

stefanero
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."

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: installing&running only command line
« Reply #4 on: February 26, 2005, 02:33:49 PM »

Quote
Originally posted by stefanero
2nd. download amule-cvs !!! from http://amule.hirnriss.net, dont use rc8 its was buggy with amuled!!!
unpack it, and do as user
./configure --enable-amulecmd --enable-webserver --disable-monolithic && make
as root do
make install

In fact the configure line should be
./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon && make
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

frabbo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: installing&running only command line
« Reply #5 on: February 27, 2005, 07:45:37 PM »

Quote
Originally posted by thedude0001

In fact the configure line should be
./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon && make


Followed the instructions but can't find amuled, just amulecmd and amuleweb are present.
Also tried recompile with the above option but without results  :(

Help!

forgot.. I'm under fedora core 3.

thanks in advance!
frabbo
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: installing&running only command line
« Reply #6 on: February 27, 2005, 07:49:49 PM »

wx-config --version

give us the output of that command
Logged

sensei73

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: installing&running only command line
« Reply #7 on: February 28, 2005, 10:39:18 AM »

Hi there!
I'm trying to compil amuled...id everythings that was written on this post but when i try to compil amuled i get this error:

  Libraries aMule will use to build:
                                       wxWidgets          2.5.4
                                       GTK                Not detected (Not used)


make  all-recursive
make[1]: Entering directory `/mnt/raid/amule/amule-cvs'
Making all in m4
make[2]: Entering directory `/mnt/raid/amule/amule-cvs/m4'
make[2]: Rien à  faire pour « all ».
make[2]: Leaving directory `/mnt/raid/amule/amule-cvs/m4'
Making all in intl
make[2]: Entering directory `/mnt/raid/amule/amule-cvs/intl'
make[2]: Rien à  faire pour « all ».
make[2]: Leaving directory `/mnt/raid/amule/amule-cvs/intl'
Making all in po
make[2]: Entering directory `/mnt/raid/amule/amule-cvs/po'
rm -f en_GB.gmo && : -c --statistics -o en_GB.gmo en_GB.po
mv: ne peut évaluer `t-en_GB.gmo': Aucun fichier ou répertoire de ce type
make[2]: *** [en_GB.gmo] Erreur 1
make[2]: Leaving directory `/mnt/raid/amule/amule-cvs/po'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/mnt/raid/amule/amule-cvs'
make: *** [all] Erreur 2
[root@Nunux amule-cvs]# make  all-recursive
Making all in m4
make[1]: Entering directory `/mnt/raid/amule/amule-cvs/m4'
make[1]: Rien à  faire pour « all ».
make[1]: Leaving directory `/mnt/raid/amule/amule-cvs/m4'
Making all in intl
make[1]: Entering directory `/mnt/raid/amule/amule-cvs/intl'
make[1]: Rien à  faire pour « all ».
make[1]: Leaving directory `/mnt/raid/amule/amule-cvs/intl'
Making all in po
make[1]: Entering directory `/mnt/raid/amule/amule-cvs/po'
rm -f en_GB.gmo && : -c --statistics -o en_GB.gmo en_GB.po
mv: ne peut évaluer `t-en_GB.gmo': Aucun fichier ou répertoire de ce type
make[1]: *** [en_GB.gmo] Erreur 1
make[1]: Leaving directory `/mnt/raid/amule/amule-cvs/po'
make: *** [all-recursive] Erreur 1
[root@Nunux amule-cvs]# make[1]: Entering directory `/mnt/raid/amule/amule-cvs'
> Making all in m4
> make[2]: Entering directory `/mnt/raid/amule/amule-cvs/m4'
> make[2]: Rien à  faire pour « all ».
>

I used this command line :  ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon && make

thanks
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: installing&running only command line
« Reply #8 on: February 28, 2005, 12:28:31 PM »

hey
easy one, install gettext :) and/or gettext-devel
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."

sensei73

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: installing&running only command line
« Reply #9 on: February 28, 2005, 12:50:50 PM »

good job :D
Logged

sensei73

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: installing&running only command line
« Reply #10 on: February 28, 2005, 01:34:33 PM »

argg damn.... now it's amuleweb that doesn't work :'(

[root@Nunux amule]# amuleweb
Erreur de segmentation
:'(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: installing&running only command line
« Reply #11 on: February 28, 2005, 01:40:36 PM »

yup know problem in the last 2 days... either wait or take one before 26.2

we are working on it ;)
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."

sensei73

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: installing&running only command line
« Reply #12 on: February 28, 2005, 01:43:49 PM »

ok so i have to wait for new cvs
I hope it will be fixed soon

I really want to compare mldonkey and Amule
« Last Edit: February 28, 2005, 01:44:32 PM by sensei73 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: installing&running only command line
« Reply #13 on: February 28, 2005, 01:53:16 PM »

well just take cvs tarball from 25.2 for example...not that it matters that much during those 2-3days
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."

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: installing&running only command line
« Reply #14 on: February 28, 2005, 06:26:29 PM »

gonzotopi fixed it should work from tomorrow on again, check this thread
http://www.amule.org/wiki/index.php/Webserver#Webserver_with_aMule_2.0.0_or_later_(starting_from_CVS_2005.02.27)

for where to place the tmpl files and such, since it changed

stefanero
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."
Pages: [1] 2