aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: can i compile amule on debian without root privileges?  (Read 2689 times)

vedran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
can i compile amule on debian without root privileges?
« on: April 07, 2005, 01:48:13 PM »

i would like to know whether it is possible to compile only the commandline client remotely (via SSH) on a Debian system, with a regular user account, no root privileges.

thanks in advance!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: can i compile amule on debian without root privileges?
« Reply #1 on: April 07, 2005, 02:12:14 PM »

should be possible yes

1st
make a dir in your home amule or whatever, and create a dir wxBase
then use --prefix=/home..../amule/wxBase
als the install prefix for wxBase,

2nd
ok we have wxBase which is needed for amulecmd
then download hte amule.tar.gz
and do
./configure --with-wx-config=/home...../amule/wxBase/bin/wx-config
and of course enable amulecmd for example, run configure
when you are done, to ONLY compile amulecmd and nothing else, change to amule-src dir and type there
make amulecmd

this will create an amulecmd binary ready to go...

to start it add /home...../amule/wxBase/lib to your library path for example in your bash profile or always start amulecmd with
export LD_LIBRARY_PATH=/home....amule/wxBase/lib:$LD_LIBRARY_PATH
and then start amulecmd from src dir...
./amulecmd

btw: but if some dependencies for wxBase or amule are not solved you of course will not be able to compile it
for example if curl is missing and some other things, but configure from wxBase and aMule will tell ya ;)
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."

vedran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: can i compile amule on debian without root privileges?
« Reply #2 on: April 07, 2005, 03:48:41 PM »

hey, thanks!
that did the trick..

but now i have to do the hard job of running the thing, all the port issues, etc..
but i think i'll manage!
i haven't been able to find documentation for the console thingy, though..

thanks again!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: can i compile amule on debian without root privileges?
« Reply #3 on: April 07, 2005, 04:01:52 PM »

well --help for the options like host and port to connect to....

and help when amulecmd is started will give you a list of commands
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."