aMule Forum

English => aMule Help => Topic started by: agreg5 on May 12, 2004, 04:06:26 PM

Title: And if I'm not root??
Post by: agreg5 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 !  :)
Title: Re: And if I'm not root??
Post by: deltaHF on May 12, 2004, 05:37:58 PM
hi,

yes, it is.
Title: Re: And if I'm not root??
Post by: Seagull 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)
Title: Re: And if I'm not root??
Post by: Kry on May 14, 2004, 05:05:20 PM
why are you not using autogen.sh script?
Title: Re: And if I'm not root??
Post by: Seagull 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.
Title: Re: And if I'm not root??
Post by: Kry on May 14, 2004, 05:47:14 PM
oh, sorry. thought it was on packages also.
Title: Re: And if I'm not root??
Post by: Seagull 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.
Title: Re: And if I'm not root??
Post by: agreg5 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?
Title: Re: And if I'm not root??
Post by: Seagull 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.
Title: Re: And if I'm not root??
Post by: Jacobo221 on May 19, 2004, 08:00:59 PM
Well, he'll _amost surely_ be able to use it with lowID :-)
Title: Re: And if I'm not root??
Post by: Seagull 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?