linux user group brescia

immagine del castello

Archivio della mailing list

Programma per statistiche accessi sito web

Hostmaster.NET hostmaster a serveritalia.net
Gio 7 Dic 2000 16:36:36 UTC
Re:

mancano le librerie grafiche gd.

By Hostmaster


----- Original Message ----- 
From: "Prezioso Marco" <prezioso a bg.camcom.it>
To: "Maurizio Paolini" <paolini a dmf.bs.unicatt.it>; <lug a lugbs.linux.it>
Sent: Thursday, December 07, 2000 4:48 PM
Subject: Re: Programma per statistiche accessi sito web


> 
> Maurizio Paolini wrote:
> > 
> > Noi usiamo "webalizer", produce tabelle, grafici a barre e torte
> > varie con informazioni abbastanza utili e carine.
> > 
> > mp
> 
> Ti ringrazio, anche un'altro iscritto alla M.L. mi ha consigliato
> lo stesso prodotto.
> 
> Pero' l'installazione mi da' questo problema [segue output a video]:
> 
> [root a intranetbg webalizer-2.01-06]# ./configure --with-language=italian
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking whether ln -s works... yes
> checking for a BSD compatible install... /usr/bin/install -c
> checking how to run the C preprocessor... gcc -E
> checking whether char is unsigned... no
> checking for main in -l44bsd... no
> checking for main in -lm... yes
> checking for main in -lz... yes
> checking for gzrewind in -lz... yes
> checking for main in -lpng... yes
> checking for gdImagePng in -lgd... no
> checking for libgd.a... no
> checking for libgd.so... (cached) /usr/lib
> checking for gd.h... /usr/include
> checking for getopt.h... yes
> checking for math.h... yes
> checking default config dir... /etc
> checking for language file... yes - italian
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> linking ./lang/webalizer_lang.italian to webalizer_lang.h
> [root a intranetbg webalizer-2.01-06]# make
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1   -c
> webalizer.c
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1   -c
> hashtab.c
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1   -c
> linklist.c
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1   -c
> preserve.c
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1   -c
> dns_resolv.c
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1   -c
> parser.c
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1   -c
> output.c
> gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
> -I/usr/include -c graphs.c
> graphs.c: In function  ear_graph6x':
> graphs.c:281: warning: implicit declaration of function dImagePng'
> 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  ear_graph6x':
> graphs.o(.text+0xd1f): undefined reference to dImagePng'
> graphs.o: In function 
> onth_graph6':
> graphs.o(.text+0x1a23): undefined reference to dImagePng'
> graphs.o: In function  ay_graph3':
> graphs.o(.text+0x2020): undefined reference to dImagePng'
> graphs.o: In function  ie_chart':
> graphs.o(.text+0x25ad): undefined reference to dImagePng'
> collect2: ld returned 1 exit status
> make: *** [webalizer] Error 1
> [root a intranetbg webalizer-2.01-06]# make install
> 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  ear_graph6x':
> graphs.o(.text+0xd1f): undefined reference to dImagePng'
> graphs.o: In function 
> onth_graph6':
> graphs.o(.text+0x1a23): undefined reference to dImagePng'
> graphs.o: In function  ay_graph3':
> graphs.o(.text+0x2020): undefined reference to dImagePng'
> graphs.o: In function  ie_chart':
> graphs.o(.text+0x25ad): undefined reference to dImagePng'
> collect2: ld returned 1 exit status
> make: *** [webalizer] Error 1
> 
> 
> Sapete dirmi qual'e' il problema (RH 6.2)?
> 
> Grazie per la disponibilita'.
> Marco P.






Maggiori informazioni sulla lista Lug