Before starting
I had a lot of trouble with libgdiplus not working because it didn't have all it's dependencies and it was making me tear my hair out, if you have the same problem please run:
and
and post the output of both commands here.
- Please make sure you have uninstalled the QPKG Mono runtimes first.
- Install the QPKG: Optware IPKG (Itsy Package Management System).
- These are BETA and currently only contain compiled Mono 2.10.1, libgdiplus 2.10.1 runtimes and apache modules and do NOT contain XSP.
- libtiff is included in this archive as the one provided by IPKG is out of date.
- This is NOT supported by QNAP in any way, and I take no responsibility for any damages although I have this running myself so I would consider it safe enough.
- This installation is NOT easy, and not recommended for someone relatively new to Linux or QNAP devices. If you need help, please post here.
- Run the following command to make sure mono has all it's requirements:
Kod:ipkg update ipkg install glib expat xrender exif
- Download this file and copy it to the Public share on your target NAS: QNAP-x86-build03_mono-2.10.1.tar.bz2
- SSH into the nas and type the following command:
Kod:find /share -type d -name Public
Kod:/share/HDA_DATA/Public
- Change to that directory by typing the following command:
Kod:cd /the/path/that/was/output
Kod:cd /share/HDA_DATA/Public
- Type the following commands:
Kod:cd .. mkdir addons cd addons cp ../Public/QNAP-x86-build03_mono-2.10.1.tar.bz2 ./ tar xvjf ./QNAP-x86-build03_mono-2.10.1.tar.bz2 cd mono rm ./mono.sh wget http://dl.dropbox.com/u/24882205/mono.sh chmod +x ./mono.sh ./mono.sh
- Restart your SSH client and run this command:
Kod:mono --version
Kod:Mono JIT compiler version 2.10.1 (tarball Wed Mar 16 20:46:05 GMT 2011) Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: x86 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: Included Boehm (with typed GC and Parallel Mark)
- Follow the guidelines at: http://wiki.qnap.com/wiki/Running_Your_ ... at_Startup using method 1 to call mono.sh each time the system has started. You may also want to follow Important notes 3 to make this easier in the future.
I had a lot of trouble with libgdiplus not working because it didn't have all it's dependencies and it was making me tear my hair out, if you have the same problem please run:
Kod:
ldd /usr/local/mono/lib/libgdiplus.so
Kod:
ldconfig -p | grep libgdiplus