Difference between revisions of "Install on Linux"
(→Debian : Installation from source) |
(→Debian : Installation from source) |
||
Line 112: | Line 112: | ||
You should see something like: | You should see something like: | ||
4193 ? S 0:00 /usr/sbin/kissdx -d -c /etc/kissdx.conf | 4193 ? S 0:00 /usr/sbin/kissdx -d -c /etc/kissdx.conf | ||
− | + | ||
− | |||
− | |||
=== Synology DS-107+ installation === | === Synology DS-107+ installation === | ||
Revision as of 08:38, 3 March 2012
Contents
1 Installation from packaged distribution of kissdx 1.1 IPKG package for Optware and ARM platforms 2 Installation from source distribution of kissdx 2.1 Generic : make, make install 2.2 Debian : Installation from source 2.3 Synology DS-107+ installation 2.4 QNAP TS201 : Installation from source 2.5 Configure kissdx
Contents
Installation from packaged distribution of kissdx
IPKG package for Optware and ARM platforms
- On Optware platforms<br
Install kissdx from the Optware package feeds by issuing these commands:
ipkg update ipkg install kissdx
- On other big-endian linux ARM platforms
Install kissdx directly from this site if you have the ipkg tool:
ipkg install http://kissdx.vidartysse.net/kissdx_0.13-10a-1_armeb.ipk
- Configure kissdx
Edit kissdx.conf in /opt/etc/
Installation from source distribution of kissdx
For kissdx to be fully functional the GNU Linux sort program must be in the PATH at runtime, and the following libraries must be installed:
libdvdread for playing DVD ISOs and VOBs libjpeg for rescaling jpeg images libiconv for character set translation between player and server
To compile kissdx, you will need the development packages for these libraries.
Generic : make, make install
See the latest readme for changes that you may need to do to the Makefile to get it to compile on your system.
- Download the kissdx archive and unpack the downloaded archive.
wget http://kissdx.vidartysse.net/kissdx-0.13-10a.zip unzip kissdx-0.13-10a.zip
- Check 'Makefile' to be compliant with your platform settings
- With root access : Compile and install kissdx on your target system :
make && make install
- With standard user access : Installation needs to invoke sudo
sudo make sudo make install
- Configure properly kissdx
Edit kissdx.conf by default in /etc/
Debian : Installation from source
On linux debian (I tried with stable distribution - but I assume it's the same with testing/unstable/experimental).
Get the prerequisite library according the readme of your kissdx release. Make sure that apt (/etc/apt/sources.list) is shaped correctly and do:
apt-get install libdvdread-dev libjpeg62-dev
Get kissdx latest source
wget http://kissdx.vidartysse.net/kissdx-0.13-10a.zip unzip kissdx-0.13-10a.zip
Customise the Makefile to be compliant to linux debian distribution including liconv. Identify the line and remove "-liconv"
$(CC) -o $@ $(OBJS) -ldvdread -liconv -ljpeg -lm
Launch a standard compilation
make && make install
If the compilation process is successfull you have the kissdx executable in /usr/sbin/kissdx and the corresponding config file to /etc/kissdx.conf
Configure properly kissdx
Edit kissdx.conf by default in /etc/
We recommend you, the first time, to launch manually kissdx to ensure that no log warning remains To start manually the console & verbose mode of kissdx :
/usr/sbin/kissdx -v
- To start manually daemon mode of kissdx :
/usr/sbin/kissdx -d
- To start automatically kissdx daemon at startup:
Use your favourite editor and create the startup init shell:
#!/bin/sh /usr/sbin/kissdx -d -c /etc/kissdx.conf
Save this file to /etc/init.d/kissdx and run :
chmod 755 /etc/init.d/kissdx && cd /etc/rc2.d/ && ln -s /etc/init.d/kissdx S40kissdx
Finally launch kissdx daemon:
sh /etc/init.d/kissdx
Check if kissdx is running properly
ps x|grep kissdx
You should see something like:
4193 ? S 0:00 /usr/sbin/kissdx -d -c /etc/kissdx.conf
Synology DS-107+ installation
Marvell 88F5281 (CPU, 500 MHz, ARM9E processor family, ARMv5TEJ architecture)
http://oinkzwurgl.org/ds107p
Following paackge are cross compiled with crosstool :
http://www.synology.com/enu/forum/viewtopic.php?t=4735
Installing kissdx on a DS-107+ and cs-407
1. make a directory opt at volume1.
cd /volume1 mkdir opt chmod 777 opt
2. make a symbolic link /opt to /volume1/opt.
ln -s /volume1/opt /opt
3. copy kissdx.tar libdvdread.tar libiconv.tar and libjpeg.tar to /opt
http://www.sivard.nl/kissdx/kissdx.tar http://www.sivard.nl/kissdx/libcharset.tar http://www.sivard.nl/kissdx/libdvdread.tar http://www.sivard.nl/kissdx/libiconv.tar http://www.sivard.nl/kissdx/libjpeg.tar
4. unpack the tar-files
tar -xvf kissdx.tar tar -xvf libdvdread.tar tar -xvf libiconv.tar tar -xvf libjpeg.tar check if there are files in lib etc and bin.
5. move S71kissdx.sh to /usr/syno/etc.defaults/rc.d/
mv /opt/S71kissdx.sh /usr/syno/etc.defaults/rc.d/
6. add /opt/bin in /etc.defaults/profile to the PATH variable.
cd /etc.defaults vi profile PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/syno/bin:/usr/syno/sbin:/usr/local/bin:/opt/bin
7. edit the /opt/etc/kissdx.conf to your settings and try to run kissdx.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib/ /opt/bin/kissdx -d -c /opt/etc/kissdx.conf ps
if the command kissdx is in the ps-list then it's running. Try now by rebooting your DS-107+ and see if it will run with the S71kissdx.sh script.
Initial version of this step by step settings was posted by Sivard [edit] QNAP TS201 : Installation from source
Hardware specification SoC 266MHz Ram 128Mb Linux telneted TS201 wiki page on Optware/NLSU2
/proc/cpuinfo processor : 0 cpu : 82xx revision : 1.4 (pvr 8081 1014) bogomips : 175.10 vendor : Motorola SPS machine : Sandpoint
/proc/pci .... Host bridge: Motorola MPC8245 [Unity] (rev 20)....
Technical Datasheet of MPC8245
TBD [edit] Configure kissdx
One last step remains: Configure your kissdx installation by editing /etc/kissdx.conf file.
At the very least, you must set audiopath, videopath and picturepath to point at your media files. You should also tell kissdx where to save its persistent data by setting persistentstoragepath.
See the configuration manual for all the possibilities. Retrieved from "http://www.famille-kahn.com/kissdxmanual/Kissdx_user_manual:Linux_Installation" Views
Article Discussion Edit History
Personal tools
Log in / create account
Documentation
Manuals home Configuration FAQ Win32 install Linux install Recent changes
Developper
Developer Manual
Other link
Kissdx website Download Forum Bugs or feature request Browse SVN Source RSS feed Source website