[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] help installing libpng on raq4 to run webalizer



----- Original Message -----
From: <echelon3@xxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, January 27, 2003 9:26 PM
Subject: [cobalt-users] help installing libpng on raq4 to run webalizer


> i've installed the Webalizer Release 2.01.10-1 from
> pkgmaster through the web interface for my raq 4
>
> it wouldn't run because I had install gd-2.0.11, now
> gd-2.0.11 won't run because it tells me that i have to
> install libpng.. i've downloaded it at
> http://www.libpng.org/pub/png/ but am very unclear as
> to how to install it...
>
su -
cd /tmp
wget http://www.libpng.org/pub/png/src/libpng-1.0.15.tar.gz
tar -xzvf libpng-1.0.15.tar.gz
cd libpng-1.0.15

#### edit the makefile ####
pico -w scripts/makefile.linux
####change the following lines####
prefix=/usr/local                           -->  prefix=/usr
#ZLIBLIB=/usr/local/lib             -->  ZLIBLIB=/usr/lib
#ZLIBINC=/usr/local/include    --> ZLIBINC=/usr/include
ZLIBLIB=../zlib                             --> #ZLIBLIB=../zlib
ZLIBINC=../zlib                            -->#ZLIBINC=../zlib
###save the file #####
cp scripts/makefile.linux makefile
make
make install
rm -r libpng-1.0.1*


You really should upgrade PHP to 4.3.0 as previous versions have some
vulnerabilities.
It is not as daunting as you may think and once you have done it once, you
will never look back.


Bassi