aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: And if I'm not root??  (Read 4989 times)

agreg5

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
And if I'm not root??
« on: May 12, 2004, 04:06:26 PM »

Hmm!
It looks like a really nice project!
But...
In fact, I'm on solaris 5.8 but unfortunately I'm not able to connect as root...
Is it possible to compile a-mule anywhere?
Thanks a lot !  :)
Logged
Nico 8)

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: And if I'm not root??
« Reply #1 on: May 12, 2004, 05:37:58 PM »

hi,

yes, it is.

Seagull

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 154
Re: And if I'm not root??
« Reply #2 on: May 14, 2004, 11:54:27 AM »

I've installed it in my faculty account  :D

The system uses Mandrake 9.2, without the devel packages, so i had to compile and install wxWidgets, curl and libcryptopp on my account (had to anyway, since wxWidgets are linked against GTK2).
 
 For that, i added --prefix=[dir on account] to install them in the dir i wanted them, and set LD_LIBRARY_PATH for that directory.

 Tried 1.2.6, 2.0 R1,R2 and R3.

 Warning: R3 configure is broken, due to the changes made to process curl arguments; libcrypto* no longer gets -L from curl and so make failed. Had to add:

LIBS="$LIBS -L[dir of libcrypto]"

 to the top of configure.in and run autoconf. Also, an argument given by configure if libcrypto* isnt found, "--with-crypto-lib", isnt implemented, nor in configure --help.

 Question: automake fails because it cant find [config.h] in AM_CONFIG_HEADER([config.h]), couldnt translate it.

Done:
Code: [Select]
aclocal -I m4
autoconf
automake

Am i missing some step? (still learning gnu build system)
« Last Edit: May 14, 2004, 12:11:43 PM by Seagull »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: And if I'm not root??
« Reply #3 on: May 14, 2004, 05:05:20 PM »

why are you not using autogen.sh script?
Logged

Seagull

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 154
Re: And if I'm not root??
« Reply #4 on: May 14, 2004, 05:38:41 PM »

Quote
Originally posted by Kry
why are you not using autogen.sh script?
Not on packages, getting it from cvs, will try. Thks.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: And if I'm not root??
« Reply #5 on: May 14, 2004, 05:47:14 PM »

oh, sorry. thought it was on packages also.
Logged

Seagull

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 154
Re: And if I'm not root??
« Reply #6 on: May 17, 2004, 04:07:08 PM »

Ok, after a needed upgrade of autoconf and automake, and update of PATH,with autogen.sh it works. Thks.
Logged

agreg5

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: And if I'm not root??
« Reply #7 on: May 18, 2004, 07:51:36 PM »

Thanks!
I'll try it, but I'm not so sure I've all understand. It would be fine to run it on my faculty account too ;-)
How fo you "set LD_LIBRARY_PATH for that directory"? What does it mean?
Logged
Nico 8)

Seagull

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 154
Re: And if I'm not root??
« Reply #8 on: May 19, 2004, 11:25:19 AM »

Quote
Originally posted by agreg5
How fo you "set LD_LIBRARY_PATH for that directory"? What does it mean?

LD_LIBRARY_PATH is an enviroment variable that tells the linker where to find the libraries.

Depending on the shell you use you make:

export  LD_LIBRARY_PATH=[dir_of_library]

or

set LD_LIBRARY_PATH=[dir_of_library]

Note: even if you can install it, it doesnt mean you can use it, it depends on your faculty firewall/proxy access permissions.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: And if I'm not root??
« Reply #9 on: May 19, 2004, 08:00:59 PM »

Well, he'll _amost surely_ be able to use it with lowID :-)
Logged

Seagull

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 154
Re: And if I'm not root??
« Reply #10 on: May 19, 2004, 11:01:09 PM »

Quote
Originally posted by Jacobo221
Well, he'll _amost surely_ be able to use it with lowID :-)

The reason i added that note was because of my case :(

The network in my faculty is locked tight, not only blocking inbound ports but outbound as well, with only some common services ports reachable (so no connection to servers as well), and all through a proxy (suport not available in amule yet). It IS a computer science department and is as it should be, but....   ;)

So the compilation was a learning exercise only. :P

On that matter, i seem to recall a patch to implement something called "server auxilliary port", but dont know exactly what is or where i saw it. Anyone knows?
Logged