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

Re: [cobalt-users] Webalizer 1.30



These instructions aren't for a RAQ2 are they? Does anybody have step-by-step instructions for RAQ2?

Brian

> >It wasn't THAT difficult ... so if others want to follow the same path
let
> >me know and I'll post the steps I took
> >- unless someone can suggest a place to upload my working webalizer
binary
> >for others to download!
> By all means the step-by-step would be great. I suspect most around here
> would be pretty nervous about installing someone elses binary but a guide
to
> how you got there would be good, we'd be back running again and we'd learn
> through the process..

No probs ... bear in mind with all this that I am by no means an expert -

1. Telnet to Raq and su ... cd to an appropriate directory ( I used a tmp
directory created off my home dir)
2. ftp to the webalizer dl site (#ftp #open ftp.mr.unix.net)
3. Download (get) the required files
    - webalizer-1.30-04-src.tgz from /pub/webalizer/old (Make sure you use
binary transfer!)
    - v130-epoch.patch from /pub/webalizer/pre-release
4. Decompress the tar file
( I used 'gzip -d webalizer-1.30-04-src.tgz  | tar -xvf -'  but 'tar -zxvf
webalizer-1.30-04-src.tgz'  should also work)
5. Change to the webalizer source directory you just created
6. Patch  webalizer.c ( #patch webalizer.c [path-to]v130-epoch.patch )
7. Locate your gd header libraries configure expects to find them at
/usr/local/lib
( I did a locate gd and discovered they were in usr/lib/ but I'm not
ENTIRELY sure I have a vanilla installation!)

I was unable to get any of the command line options to change the default
header locations so I ended up editing line 12 of configure from
'/usr/local' to read '/usr' ('configure --with-gd=/usr/lib/' SHOULD have
worked - I think!)

8. #./configure
(Don't do what I did at first and try to execute ./configure without execute
permissions! chmod if necessary!)
9. #make
10. #make install

You should end up with a working webalizer in /usr/bin (you can run
#/etc/cron.daily/webalizer.pl to test)

As I said - I'm no expert - but this method worked for me!
As a learning exercise I'd be interested in any errors I may have made

John Poynton

,.-=~'`^`'~=-.,_,.-=~'`^`'~=-.,_,
| Brian Kane       brian@xxxxxx |
^`'~=-.,_,.-=~'`^`'~=-.,_,.-=~'`^