- 论坛徽章:
- 0
|
我使用的系统是LinuxES4,文档是:http://bbs.chinaunix.net/viewthr ... &extra=page%3D1
但是我找不到Qmailadmin-0.35只找到了qmailadmin-1.2.7.tar,但是在编译是出以下错误:
#./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... 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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for crypt in -lcrypt... yes
checking for crypt in -lshadow... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 closedir returns void... no
checking for dup2... yes
checking for memset... yes
checking for mkdir... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking whether we should prohibit caching... no
checking whether to require ip authentication... yes
checking whether to display user index... yes
checking whether to allow admins to modify user quotas... no
checking whether to autofill domain name on login page... no
checking whether to allow spam check enable/disable... no
checking whether to show help pages... no
checking for ezmlm-idx... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
qmailadmin 1.2.7
Current settings
---------------------------------------
cgi-bin dir = /var/www/cgi-bin
html dir = /var/www/html
image dir = /var/www/html/images/qmailadmin
image URL = /images/qmailadmin
template dir = /usr/local/share/qmailadmin
qmail dir = /var/qmail
vpopmail dir = /home/vpopmail
autorespond dir = /usr/local/bin
ezmlm dir = /usr/local/bin/ezmlm
ezmlm idx = yes
mysql for ezmlm = yes
help = no
modify quota = no
domain autofill = no
modify spam check = no
#make
make all-am
make[1]: Entering directory `/home/xiao/qmailadmin-1.2.7'
gcc -g -O2 -Wall -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.o user.o util.o printh.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz -lcrypt
user.o(.text+0x581): In function `show_user_lines':
/home/xiao/qmailadmin-1.2.7/user.c:182: undefined reference to `readuserquota'
template.o(.text+0x1067): In function `send_template_now':
/home/xiao/qmailadmin-1.2.7/template.c:541: undefined reference to `readuserquota'
limits.o(.text+0x11): In function `load_limits':
/home/xiao/qmailadmin-1.2.7/limits.c:27: undefined reference to `vget_limits'
collect2: ld returned 1 exit status
make[1]: *** [qmailadmin] Error 1
make[1]: Leaving directory `/home/xiao/qmailadmin-1.2.7'
make: *** [all] Error 2 |
|