Installing aMule in a Sarge machine
Good day to all,
I have managed to install FreeLink in a Buffalo LinkStation HD-H160LAN, it is a Debian based firmware for this kind of NAS and it is basically a Sarge modified with kernel 2.4.20. I have edited /etc/apt/sources.list and added just this line deb http://archive.debian.org/debian/dists/sarge/ stable main contrib non-free so I have been able to aptitude update / upgrade but it seems that #aptitude install amule doesn't work. At the moment updating to a 2.6 kernel looks a bit tricky for me so I'd like to stay in 2.4 for a while, which means staying with Sarge and no updating to Lenny. So I'd like to ask if there are lines missing in my sources.list file, and if I download amule sources and try to compile it in this machine, will I have big troubles with dependencies? Thank you very much for your attention |
Can you be more specific about what "doesn't work"?
|
Try apt-cache search amule,see if you get any results.
It could be that amule is not in the repositories for Sarge. |
Thanks Komakino and The Trooper for your answers.
I am running Sarge in a Buffalo LinkStation: Code:
root@LINKSTATION:/home# uname -a Code:
root@LINKSTATION:/home# aptitude install amule Thanks again for your help. |
Ok, so I've finished compiling the aMule sources and, as I expected, it doesn't work.
I got this message when I did ./configure Code:
Configure script has finished system check. Code:
paquito@LINKSTATION:~/aMule-2.0.3$ /usr/bin/aMule/bin/amule Code:
|
After some big help from the guys of aMule forum this is what you have to do in order to run aMule in a Sarge machine.
Download and unpack wxWidgets and aMule $ wget http://prdownloads.sourceforge.net/w...-2.8.10.tar.gz $ wget http://download.berlios.de/amule/aMule-2.2.6.tar.bz2 $ tar xvzf wxGTK-2.8.10.tar.gz $ tar xvjf aMule-2.2.6.tar.bz2 As we won't be using GUI with aMule, we compile wxWidgets without GUI dependencies $ ./configure --disable-gui --enable-unicode --without-subdirs --without-expat $ make as root # make install # ldconfig and then we compile aMule $ ./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver $ make as root # make install If, at some point, we get this error checking for crypto++ version >= 5.1... configure: error: Could not find cryptopp header file "cryptlib.h". Please check if the path "/usr" is valid. we just have to install libcrypto++-dev with aptitude If we get this error when executing amuled /usr/local/bin$ amuled --ec-config amuled: error while loading shared libraries: libwx_baseu_net-2.8.so.0: cannot open shared object file: No such file or directory we need to do export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/lib" or add the line /usr/lib to the file /etc/ld.so.conf and then run ldconfig In order to run amuled as a service we need to make an script and place it in /etc/init.d/ and set it to run at start up with update-rc.d amule defaults This is my amuled script Code:
#!/bin/bash amuled --ec-config You will be asked to write a password, this will also create the amule configuration file in /home/<<my_user>>/.aMule/amule.conf in which you enable amuleweb ([WebServer] Enabled=1), change your incoming and tmp directories, etc I copied some of my credits and data aMule files from C:\Users\<<my_user>>\AppData\Roaming\aMule to /home/<<my_user>>/.aMule/ (be careful not to overwrite amule.conf) The password for amuleweb is set with amuleweb --admin-ass=your_password And I think that's all, again big thanks to the people at amule.org forums (specially wuischke) and to their wiki. |
Good work!.
Thanks for coming back and posting the solution. |
I know this thread is old, but I come here to say thank you to user @bocabits for his post. It has been helpful for me.
Cheers! |
All times are GMT -5. The time now is 05:55 PM. |