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

Re: [cobalt-developers] Webalizer - Country Analysis help



> At 02:11 03/11/00 -0500, Zeffie wrote:
> > > At 13:46 02/11/00 +0000, GirishN wrote:
> > > >I'm using Webalizer on a RAQ3, one thing i'd like to do is use the
> > > >country analysis option. The config files show this as enabled. The
> > > >graph is displayed on the stats page but shows "Unresolved/Unknown
> > > >(100%)"
> > > >Any ideas what how i should go about getting this functionality ?
> > > look in the /etc/httpd/httpd.conf
> > > # HostnameLookups: Log the names of clients or just their IP numbers
> > > #   e.g.   www.apache.org (on) or 204.62.129.132 (off)
> >
> > > # The default is off because it'd be overall better for the net if
people
> > > # had to knowingly turn this feature on.
> > > #HostnameLookups off
> > > HostnameLookups on
>
> Here is a compile example on a RaQ3
> [admin@benbecula webalizer-2.01-06]$ ./configure
> checking for main in -lpng... no
> configure: error: png library not found... please install png.
> [admin@benbecula webalizer-2.01-06]$
>
> lib-png missing.  so you install that and then there is something else
> missing it goes on and on. Resulting in it being a waste of time doing
> compiling on a cobalt Just use it as a WEB Server that its role. noting
else.
> Barry
>
> Barry

Hope this helps I have done the same on a raq3 too
I have a Raq2 and I started with
ftp://ftp.mrunix.net/pub/webalizer/pre-release/webalizer-2.00-12-src.tgz
uploaded to the admin home dir.
su and roots password
tar -zxpvf webalizer-2.00-12-src.tgz
cd webalizer-2.00-12
./configure
Found I needed to install png (It told me)
went to
http://www.libpng.org/pub/png/pngcode.html
Downloaded
http://www.libpng.org/pub/png/libpng.html source code (.tar.gz )
and went to
ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.html
and got
ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.tar.gz
(Ftp them to the admin home directory)
tar -zxpvf zlib.tar.gz (You must do this first)
cd zlib-1.1.3
./configure
make test
(See a message that says  *** zlib test OK ***)
make install (No Errors)
cd ..

tar -zxpvf libpng-1.0.6.tar.gz
mv libpng-1.0.6 libpng
mv zlib-1.1.3 zlib
cd libpng
cp scripts/makefile.std makefile
make test  (See the messages  "PASS (9782 zero samples)" 8 lines up)
make install
cd ..

(Get the IJG JPEG software next :(
ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
(Ftp it to the admin home directory)
tar -zxpvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure
make
make install
cd ..

(Get the GD Graphics library)
ftp://ftp.boutell.com/pub/boutell/gd/gd-1.8.2.tar.gz
(Ftp it to the admin home directory)
tar -zxpvf gd-1.8.2.tar.g
cd gd-1.8.2
make
make install
cd ..

(Finally ready to start webalizer install :)
cd webalizer-2.00-12
./configure --enable-dns (--enable-dns is optional, both work)
make
make install

Config and run it as you please

Zeffie