|
|
环境RH AS3.0,qmail+vpopmail+mysql,出错如下
[root@rmcordys2 root]# tar -xf qmailadmin-1.0.6.tar
[root@rmcordys2 root]# cd qmailadmin-1.0.6
[root@rmcordys2 qmailadmin-1.0.6]# ls
acconfig.h ChangeLog dotqmail.c mailinglist.c qmailadminx.h
aclocal.m4 command.c FAQ Makefile.am README
alias.c config.guess forward.c Makefile.in show.c
auth.c config.h.in html missing stamp-h.in
AUTHORS config.sub images mkinstalldirs template.c
autorespond.c configure INSTALL NEWS TODO
BUGS configure.in install-sh qmailadmin.c user.c
cgi.c COPYING limits.c qmailadmin.h util.c
[root@rmcordys2 qmailadmin-1.0.6]# ./configure --enable-cgibindir=/va
var vauth.h
[root@rmcordys2 qmailadmin-1.0.6]# ./configure --enable-cgibindir=/var/www/cgi-
bin --enable-htmldir=/var/www/html/ --diable-ezmlmdir
configure: error: --diable-ezmlmdir: invalid option; use --help to show usage
[root@rmcordys2 qmailadmin-1.0.6]# ./configure --enable-cgibindir=/var/www/cgi-
bin --enable-htmldir=/var/www/html/ --disable-ezmlmdir
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 strerror in -lcposix... 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
cat: /home/vpopmail/etc/inc_deps: No such file or directory
cat: /home/vpopmail/etc/lib_deps: No such file or directory
checking whether we should prohibit caching... no
checking whether to require ip authentication... yes
checking whether to display user index... yes
checking for ezmlm-idx... no
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
[root@rmcordys2 qmailadmin-1.0.6]# make
make all-recursive
make[1]: Entering directory `/root/qmailadmin-1.0.6'
make[2]: Entering directory `/root/qmailadmin-1.0.6'
gcc -I. -g -O2 -c qmailadmin.c
qmailadmin.c:29:22: vpopmail.h: No such file or directory
qmailadmin.c:30:19: vauth.h: No such file or directory
qmailadmin.c: In function `main':
qmailadmin.c:133: warning: assignment makes pointer from integer without a cast
qmailadmin.c:210: warning: assignment makes pointer from integer without a cast
qmailadmin.c:218: dereferencing pointer to incomplete type
qmailadmin.c:222: dereferencing pointer to incomplete type
make[2]: *** [qmailadmin.o] Error 1
make[2]: Leaving directory `/root/qmailadmin-1.0.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/qmailadmin-1.0.6'
make: *** [all-recursive-am] Error 2
[root@rmcordys2 qmailadmin-1.0.6]#
请高手帮忙!!谢谢~~~ |
|