Re: webalizer - gdImagePng Problem
- -------------Figured it out!!-------------
I had the same problem and did this:
First I deleted the file config.cache in the webalizer directory.
Next I typed:
Then I continued with installation (i.e. `make` then `make install`)
--- In webalizer@y..., "Evan Owens" <nurikabe@y...> wrote:
> Ditto. I've tried with both libpng 1.2.0 and libpng 1.0.12. I've
> seen some posts about needing a development version of gd?
> --- In webalizer@y..., ocpsecurity@n... wrote:
> > I also have this problem. Everything is compiled correctly. I am
> > using the same version of gd (gd-1.8.4). Does anyone have a
> > to this problem?
> > --- In webalizer@y..., haimenis@y... wrote:
> > > Hi, I've been trying to install Webalizer, I know that I'm
> > > the end, but now I got stuck. I already installed gd-1.8.4 with
> > PNG,
> > > JPEG, Zlib libs, but when I run "make" on webalizer I got the
> > > following errors.
> > >
> > > [root webalizer]# make gcc -L/usr/lib -o webalizer webalizer.o
> > > hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o
> > > graphs.o -lgd -lpng -lz -lm graphs.o: In function
> > > graphs.o(.text+0xd36): undefined reference to `gdImagePng'
> > graphs.o:
> > > In function `month_graph6': graphs.o(.text+0x1ac9): undefined
> > > reference to `gdImagePng' graphs.o: In function `day_graph3':
> > graphs.o
> > > (.text+0x2119): undefined reference to `gdImagePng' graphs.o:
> > > function `pie_chart': graphs.o(.text+0x26f7): undefined
> > to
> > > `gdImagePng' collect2: ld returned 1 exit status make: ***
> > > [webalizer] Error 1
> > >
> > > I noted that when I run ./configure there is a line that say
> > > follwoing (I don't know if it revelant). checking for
> > in -
> > > lgd... (cached) no
> > >
> > > thanks!!!