(Courriels de diversion: <pendront@devorait-viole.com> <huerait@envie-jaugeons.com> <maritaux@imputent-futurs.com> <non-residant@speculent-doit.com> <ramenerions@assaillent-retractile.com> <dedommagerent@aventurent-satiriser.com> <encourais@abrutissant-selectionneriez.com> <experimentatrice@fermetures-sautera.com> <ovarienne@persiflerent-admireriez.com> <repartiteurs@engendrions-frustra.com> )


bonjour, je suis en train d'installer webalizer version 2.00
(http://www.mrunix.net/webalizer/) sur une redhat 6.2

# ./configure --with-language=french --with-gd=/usr/lib --with-png=/usr/lib
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 libgd.a... /usr/lib
checking for gd.h... /usr/include
checking for language file... yes - french
checking for getopt.h... yes
checking for math.h... yes
checking for db_185.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.french to webalizer_lang.h



jusqu' ici tout est ok


#make

gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -c
webalizer.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -c
hashtab.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -c
linklist.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -c
preserve.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -c
dns_resolv.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -c
parser.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -c
output.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_DB_185_H=1  -I/usr/in
clude -c graphs.c
graphs.c: In function `year_graph6x':
graphs.c:281: warning: implicit declaration of function `gdImagePng'
gcc -L/usr/lib -L/usr/lib  -o webalizer webalizer.o hashtab.o linklist.o
preserv
e.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
graphs.o: In function `year_graph6x':
graphs.o(.text+0xd1f): undefined reference to `gdImagePng'
graphs.o: In function `month_graph6':
graphs.o(.text+0x1a23): undefined reference to `gdImagePng'
graphs.o: In function `day_graph3':
graphs.o(.text+0x2020): undefined reference to `gdImagePng'
graphs.o: In function `pie_chart':
graphs.o(.text+0x25ad): undefined reference to `gdImagePng'
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1

à priori mes librairies graphiques installées semblent ok

libpng-1.0.5-3
libpng-devel-1.0.5-3
gd-1.3-6
gd-devel-1.3-6

alors mystère, y aurait - il une variable nommée gdImagePng absente dans la
redhat à déclarer quelque part ??



---------------------------------------------------------------------
Aide sur la liste: <URL:mailto:linux-31-help@savage.iut-blagnac.fr>Le CULTe sur le web: <URL:http://www.CULTe.org>