Installing DevIL on UNIX/Linux
-------------------------------

For installing DevIL, it requires the following 
image libraries libjpeg libz libpng libtiff to be
installed.

If you are using Linux:

  You can either get the binaries/rpm's for these
  from an rpm repository like http://www.rpmfind.net
  or from your linux distro's ftp site.

If you are using Linux/UNIX:

  Here is what I did to build and install 
  each library from source. 

  If you dont have root on the target machine:
  After building each lib using make, 
  please copy the *.a library file 
  and *.h include files to  somewhere in your
  $HOME and modify the makefile to point to that
  location ( eg: -I/$HOME/include -L/$HOME/lib )

1. LIBJPEG http://www.ijg.org/
	jpegsrc.v6b.tar.gz  
	./configure
	make 
	make install
	[ installs libjpeg.a , *h ]

2. ZLIB http://www.info-zip.org/pub/infozip/zlib/	
	zlib.tar.gz 
	./configure
	make
	make install
	[ installs zlib.a , *h ]

3. LIBPNG http://www.libpng.org/pub/png/libpng.html
	libpng-1.0.11.tar
	cp ../scripts/makefile.linux makefile
	make
	cp libpng.a /usr/local/lib
	cp *.h /usr/local/include 
	[ installs libpng.a , *h ]
	[NOTE: PNG requires zlib ]

4. LIBTIFF http://www.libtiff.org/	
	tiff-v3.5.6-beta.tar.gz
	./configure
	make
	make install 
	[ installs libtiff.a , *h ]


---------------------------------------------------------
kishan@hackorama.com ( http://www.hackorama.com) MAY 2001