Sunday, August 16, 2009

Installing XV Graphics Viewer in Ubuntu 8.04

I followed the script in the ref below but ran into problem when building XV in Ubuntu 8.04 Hardy. Note that my system has most all the build-essentials and stuff required for developers but these are some things it was missing; therefore, you may still be missing some packages since the basic ubuntu install is not really designed for the developer.


#!/bin/bash
# getxv.sh
#
cd /tmp
wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
wget http://prdownloads.sourceforge.net/png-mng/xv-3.10a-jumbo-patches-20050501.tar.gz
wget http://bok.fas.harvard.edu/debian/xv/xv-3.10a-jumbo20050501-1.diff.gz
tar xvzf xv-3.10a.tar.gz
tar xvzf xv-3.10a-jumbo-patches-20050501.tar.gz
gzip -d xv-3.10a-jumbo20050501-1.diff.gz
cd xv-3.10a
patch -p1 < ../xv-3.10a-jumbo-fix-patch-20050410.txt
patch -p1 < ../xv-3.10a-jumbo-enh-patch-20050501.txt
patch -p1 < ../xv-3.10a-jumbo20050501-1.diff
chmod 755 debian/rules
apt-get install libc6-dev
# In Ubuntu I had to change this to xorg-dev meta package
#apt-get install xlibs-dev
apt-get install xorg-dev
apt-get install libjpeg62-dev
apt-get install libtiff4-dev
apt-get install libpng12-dev
make
cp xv /usr/local/bin


ref: Installing the XV Graphics Program in Ubuntu


No comments:

Post a Comment

All IP address are logged for your safety but will not be visible to non-subscribers.