Installing XnView on Debian 4.0, and KDE
By Kevin C. Redden
05/14/07
XnView is a robust, and very well designed graphics, movie viewing and playing program for both Linux, and Windows. Patterned after the commercial 'ACDC' it's very easy to use, and well designed. Unfortunately, it's script command, and need of a few minor dependences, makes this HOW-TO necessary.
You will need for his HOW-TO:
Debian 4+KDE
http://cdimage.debian.org/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-kde-CD-1.iso
XnView - for this HOW-TO, we use the Tar.gz file
http://perso.orange.fr/pierre.g/xnview/enhome.html
Tar-GZ link: http://download.xnview.com/XnView-x86-unknown-linux2.x-static-fc4.tgz
Libxp6: (Apt-get will install this.)
Lets begin:
1) First, download XnView's TAR.GZ file version:
2) open a terminal, and set it root:
$su
$<PW>
3) Decompress it:
# tar -zxvf XnView*
4) Now comes the tricky part. It'll make a directory called: XnView-x86-unknown-linux2.x-static-fc4, go into it with
cd XnView-x86-unknown-linux2.x-static-fc4
Then CD again into:
cd XnView-1.70-x86-unknown-linux2.x-static-fc4 (Yes, it's ridiculous)
5) Set the install script executable, with
chmond+x install
6) type './install'
IF this goes right, you'll either see that it was fully successful. Or one of 2 problems. If it goes fine, skip to step 7
6a) Problem #1
# sh ./install
OS : Linux, version 2.6.18-4-686
This script will install nview/nconvert/xnview in the /usr/local/bin directory
cp: cannot create regular file `/usr/lib/X11/app-defaults/XnView': No such file or directory
chmod: cannot access `/usr/lib/X11/app-defaults/XnView' : No such file or directory
This is a simple fix: Type 'mkdir /usr/lib/X11/app-defaults/XnView'
Then type './install'
Skip to step 7
6b) Problem #2:
If you typed 'xnview' and got:
# xnview
xnview: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
Then this library isn't installed: To install it, type:
apt-get install libxp6
You might need your Debian 4+KDE disk.
7) Now type
xnview
That should be it! Have fun 
_________________
--
Kevin C. Redden
kredden@maysvilleky.net
www.kevincredden.name