Pukite
BANNED | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Имею острую необходимость в webalizer, пытаюсь ставить, но проблема: meita# ./configure --prefix=/webalizer --with-png-inc=/usr/local/include/libpng --with-png=/usr/local/lib --with-gdlib=/usr/local/lib --with-gd=/usr/local/include/gd loading cache ./config.cache checking for gcc... (cached) 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... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether ln -s works... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking whether char is unsigned... (cached) no checking for main in -l44bsd... (cached) no checking for main in -lm... (cached) yes checking for main in -lz... (cached) yes checking for gzrewind in -lz... (cached) yes checking for main in -lpng... (cached) yes checking for libgd.a... (cached) /usr/local/lib checking for gd.h... (cached) /usr/local/include checking for getopt.h... (cached) no checking for math.h... (cached) yes checking default config dir... (cached) /etc checking for language file... (cached) yes - english updating cache ./config.cache creating ./config.status creating Makefile linking ./lang/webalizer_lang.english to webalizer_lang.h meita# make gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c webalizer.c gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c hashtab.c gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c linklist.c gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c preserve.c gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c dns_resolv.c gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c parser.c gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c output.c gcc -I/usr/local/include/libpng -I/usr/local/include/gd -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -I/usr/local/include -c graphs.c gcc -L/usr/local/lib -L/usr/local/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 `year_graph6x': graphs.o(.text+0xd36): undefined reference to `gdImagePng' graphs.o: In function `month_graph6': graphs.o(.text+0x1abd): undefined reference to `gdImagePng' graphs.o: In function `day_graph3': graphs.o(.text+0x2109): undefined reference to `gdImagePng' graphs.o: In function `pie_chart': graphs.o(.text+0x26e1): undefined reference to `gdImagePng' *** Error code 1 Stop in /root/webalizer-2.01-10. Что делать? | Всего записей: 1731 | Зарегистр. 21-09-2002 | Отправлено: 16:21 03-03-2003 | Исправлено: lynx, 03:42 15-07-2003 |
|