Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Dec 17, 2017 1:06 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Dec 11, 2009 8:34 pm 
Offline
Total Newbie

Joined: Fri Dec 11, 2009 8:09 pm
Posts: 3
Hello to everybody,

I have installed FreeLink in a Buffalo LinkStation HD-H160LA. Everything has been ok but I have met some troubles when installing aMule (following the wiki instructions)

The wxGTK part to all night to complete but it went ok, the aMule part showed this after ./configure --prefix=/usr/bin/aMule --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-webservergui --disable-amule-gui --disable-debug --disable-gtk --enable-optimize --enable-alcc --enable-ccache

Code:
  Configure script has finished system check.

  Configured aMule 2.0.3 for 'mipsel-unknown-linux'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/bin/aMule
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    no
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               yes
  Should aMule be compiled with taskbar icon support?        yes
  Should aMule be compiled with old GTK taskbar icon?        no
  Should aMule be compiled with UTF-8 taskbar icon support?  no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes
  Should aMule GUI Client be built?                          no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes
  Should aMule WebServer GUI be built?                       yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          yes
  Libraries aMule will use to build:
                                       wxWidgets             2.6.1
                                       crypto++              embedded
                                       libpng                1.2.8
                                       zlib                  1.2.2


 WARNING! gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
 amuleweb will be compiled but file download progress bar images will NOT be generated.
 See the above error on gd check for solutions.


Make took over 6 hours and when I try to run aMule I get this message:

Code:
paquito@LINKSTATION:~/aMule-2.0.3$ /usr/bin/aMule/bin/amule
/usr/bin/aMule/bin/amule: error while loading shared libraries: libwx_gtk_xrc-2.6.so.0: cannot open shared object file: No such file or directory


But I do have this files in /usr/local/lib/
Code:
   0 lrwxrwxrwx  1 root root       22 Dec 11 08:13 libwx_gtk_xrc-2.6.so -> libwx_gtk_xrc-2.6.so.0
   0 lrwxrwxrwx  1 root root       26 Dec 11 08:13 libwx_gtk_xrc-2.6.so.0 -> libwx_gtk_xrc-2.6.so.0.0.0
 776 -rwxr-xr-x  1 root root   787549 Dec 11 08:13 libwx_gtk_xrc-2.6.so.0.0.0


Am I missing something?

Thanks a lot for your attention.


Top
   
PostPosted: Tue Dec 15, 2009 11:51 am 
Offline
Total Newbie

Joined: Fri Dec 11, 2009 8:09 pm
Posts: 3
After some big help from the guys of aMule forum this is what you have to do in order to run aMule in a Buffalo LinkStation HD-H160LAN

Download and unpack wxWidgets and aMule

Quote:


As we won't be using GUI with aMule, we compile wxWidgets without GUI dependencies
Quote:
$ ./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

Code:
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

Code:
/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

Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/lib"


or add the line /usr/lib to the file /etc/ld.so.conf and t he 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
NAME=$(basename "$0")
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/bin/amuled
DESC=amuled
USER=paquito #A user who already ran amule once to configure it.

test -x "$DAEMON" || exit 0

case "$1" in
 start)
   echo -n "Starting $DESC: "
     su "$USER" -c "$(printf "%q -f" "$DAEMON" )"
   echo "$NAME."
   ;;
 stop)
   echo -n "Stopping $DESC: "
     killall --quiet "$DAEMON"
   echo "$NAME."
   ;;
 restart|force-reload)
   echo -n "Restarting $DESC: "
     killall --quiet "$DAEMON"
   sleep 1
     su "$USER" -c "$(printf "%q -f" "$DAEMON" )"
   ;;
 *)
   printf "Usage: %q {start|stop|restart|force-reload}\n" "$0" >&2
   exit 1
   ;;
esac

exit 0


When you have installed succesfully amule you have to configure External Connections

amuled --ec-config

You will be asked to write a password, this will also create the amule configuration file is /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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited