Web Hosting Talk







View Full Version : Qmailadmin


node9
11-16-2001, 10:02 PM
hi guys
i got rh 6.2 on this server
kernel ver: 2.2.16-RAID

im trying to install qmailadmin, but im getting compiling errrors... What do you think it could be? should i update GCC? or some libraries, or something? what specifically? can anyone help

linux1548:/home/node/files/project/qmailadmin-1.0# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-unknown-linux
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 for ranlib... ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for crypt in -lcrypt... yes
checking for crypt in -lshadow... no
checking for floor in -lm... yes
checking for gethostbyaddr in -lnsl... yes
checking for getsockname in -lsocket... no
checking whether we should prohibit caching... no
checking for ezmlm-idx... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for working const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for getcwd... yes
checking for mkdir... yes
checking for strdup... yes
checking for strstr... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
linux1548:/home/node/files/project/qmailadmin-1.0# make
make all-recursive
make[1]: Entering directory `/home/node/files/project/qmailadmin-1.0'
make[2]: Entering directory `/home/node/files/project/qmailadmin-1.0'
gcc -I. -I/home/vpopmail/include -g -O2 -c qmailadmin.c
qmailadmin.c: In function `main':
qmailadmin.c:136: warning: assignment from incompatible pointer type
qmailadmin.c:216: warning: assignment from incompatible pointer type
qmailadmin.c:224: dereferencing pointer to incomplete type
qmailadmin.c:228: dereferencing pointer to incomplete type
make[2]: *** [qmailadmin.o] Error 1
make[2]: Leaving directory `/home/node/files/project/qmailadmin-1.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/node/files/project/qmailadmin-1.0'
make: *** [all-recursive-am] Error 2
linux1548:/home/node/files/project/qmailadmin-1.0#

node9
11-16-2001, 10:34 PM
linux1548:/home/node# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

node9
11-16-2001, 10:53 PM
wow
this is messedup
even on my other server
redhat 7.1
kernel: 2.4.9-6

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)

i get the SAME compiling errors

_G_
11-19-2001, 03:39 PM
Are you using the latest version, have you followed all the INSTALL documents, as I did and I didn't have to do ./configure as you posted...

Anyway my installs worked fine so if you want to know versions of stuff or something let me know.

bitserve
11-21-2001, 01:55 AM
Compiles fine for me under RedHat 6.2 too. I'd recommend downloading it again, maybe? Perhaps your source got messed up in transfer?