I would to update webalizer via ./build webalizer
I previously rename the file webalizer in /usr/bin/
then I perfomed that : ./build webalizer
I got " configure: error: gd library not found.. please install libgd"
then I installed gd manually : (actually I already got GD (I can check it
when I try 'yum install gd'))-Anyway, I followed the tip on the previous post:
wget
http://files.directadmin.com/services/custombuild/gd-2.0.35.tar.gz
tar -zxvf gd-2.0.35.tar.gz
cd gd-2.0.35
./configure
./make
./make install
then update webalizer:
[root@server custombuild]# ./build webalizer
File already exists: webalizer-2.23-03-src.tgz
MD5 Checksum on webalizer-2.23-03-src.tgz passed.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether char is unsigned... no
checking for u_int64_t... yes
checking whether altzone is declared... no
checking for main in -l44bsd... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for main in -lm... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for main in -lz... yes
checking for gzrewind in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lpng... yes
checking for main in -lgd... yes
checking for gdImagePng in -lgd... yes
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for main in -ldb... no
configure: WARNING: libdb not found.. DNS/GeoDB code disabled!
checking for language file... yes - english
configure: creating ./config.status
config.status: creating Makefile
config.status: linking ./lang/webalizer_lang.english to webalizer_lang
configure: Done. Type 'make' to continue with build.
Trying to make webalizer...
gcc -Wall -O2 -I/usr/include -I/usr/lib -Iyes -DETCDIR=\"/usr/etc\" -
=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\
\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -
UGREPORT=\"\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES
E_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
NGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE
1 -DHAVE_MATH_H=1 -c webalizer.c
gcc -Wall -O2 -I/usr/include -I/usr/lib -Iyes -DETCDIR=\"/usr/etc\" -
=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\
\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -
UGREPORT=\"\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES
E_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
NGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE
1 -DHAVE_MATH_H=1 -c hashtab.c
hashtab.c:71: error: expected `=', `,', `;', `asm' or `__attribute__'
sh'
hashtab.c: In function `put_hnode':
hashtab.c:160: error: `uint32_t' undeclared (first use in this functio
hashtab.c:160: error: (Each undeclared identifier is reported only onc
hashtab.c:160: error: for each function it appears in.)
hashtab.c:160: error: expected `;' before `hval'
hashtab.c:163: error: `hval' undeclared (first use in this function)
hashtab.c:163: warning: implicit declaration of function `hash'
hashtab.c: In function `put_unode':
hashtab.c:362: error: `uint32_t' undeclared (first use in this functio
hashtab.c:362: error: expected `;' before `hval'
hashtab.c:366: error: `hval' undeclared (first use in this function)
hashtab.c: In function `put_rnode':
hashtab.c:491: error: `uint32_t' undeclared (first use in this functio
hashtab.c:491: error: expected `;' before `hval'
hashtab.c:495: error: `hval' undeclared (first use in this function)
hashtab.c: In function `put_anode':
hashtab.c:617: error: `uint32_t' undeclared (first use in this functio
hashtab.c:617: error: expected `;' before `hval'
hashtab.c:621: error: `hval' undeclared (first use in this function)
hashtab.c: In function `put_snode':
hashtab.c:734: error: `uint32_t' undeclared (first use in this functio
hashtab.c:734: error: expected `;' before `hval'
hashtab.c:738: error: `hval' undeclared (first use in this function)
hashtab.c: In function `put_inode':
hashtab.c:850: error: `uint32_t' undeclared (first use in this functio
hashtab.c:850: error: expected `;' before `hval'
hashtab.c:854: error: `hval' undeclared (first use in this function)
hashtab.c: At top level:
hashtab.c:1231: error: expected `=', `,', `;', `asm' or `__attribute__
hash'
make: *** [hashtab.o] Error 1
*** The make has failed, do you want to try to make again? (y,n):
I am turning around , please help me!!
I can't update webalizer...
thanks a lot