The following worked for me in Kubuntu 9.04:
Become superuser:
sudo su
(alternatively just add sudo in front of each "apt-get")
Then install these packages - a lot of these were already up-to-date on my system, but I've installed other software, so maybe they are not always included per default:
apt-get install dpkg-dev
apt-get install xlibs-dev
apt-get install zlib-bin
apt-get install zlibc
apt-get install libc6-dev
apt-get install libjpeg62-dev
apt-get install libpng-dev zlib1g-dev
apt-get install libtiff4-dev
apt-get install zlib1g-dev
apt-get install libpng3
apt-get install libpng12-dev
apt-get install libpng12-0
apt-get install x11proto-core-dev
apt-get install libx11-dev
apt-get install libxt-dev
apt-get install libjasper-dev
Additionally I added a link
sudo ln -s /usr/lib/libjasper.a /usr/local/lib/libjasper.a
Then I got the xv source:
wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
The patches and diffs from here: http://www.gregroelofs.com/greg_xv.html
wget http://prdownloads.sourceforge.net/png-mng/xv-3.10a-jumbo-patches-20070520.tar.gz
wget http://www.gregroelofs.com/code/xv-3.10a-enhancements.20070520-20081216.diff
Unpack everything
tar xvzf xv-3.10a.tar.gz
tar xvfz xv-3.10a-jumbo-patches-20070520.tar.gz
Go into the directory, patch and compile:
cd xv-3.10a
patch -p1 < ../xv-3.10a-jumbo-fix-enh-patch-20070520.txt
make
This gives you the executable xv in the current directory,
test it by running:
./xv
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment