我今天在redhat as 3.0 update2上装qmail编译checkpassword-0.90出现了如下错误
[root@test1 checkpassword-0.90]# make
......
unix.a(pathexec_run.o)(.text+0x11: In function `pathexec_run':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0x14d): In function `pathexec_run':
: undefined reference to `errno'
unix.a(alloc.o)(.text+0x44): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [checkpassword] Error 1
我在./configure 也出错了,错误提示如下:
checking whether any discontinued --enable commands have been used... yes
configure: error: --enable-hardquota has been superceded. Please use the ~vpopmail/etc/vlimits.default file instead.
[quote:686d601753="dannycat"][quote:686d601753="lues"][root@test11 bin]# su - vpopmail
[vpopmail@test11 vpopmail]$ ls
bin doc domains etc include lib [/quote]
真找不着就 cd ~vpopmail/etc [/quote]
晕倒 居然犯了这种错误
那我vadddomain为什么会出现下面这个问题呢?我也试过用域名代替机器名,也调用了export PATH=$PATH:/home/vpopmail/bin
[vpopmail@test11 bin]$ ./vadddomain test11 123456
could not open assign file
Error. Failed to add domain to assign file
Error: Could not update file [/code]
也试过这样,也不行
[vpopmail@test11 bin]$ ./vadddomain test11
Please enter password for postmaster:
enter password again:
could not open assign file
Error. Failed to add domain to assign file
Error: Could not update file
[code:1]1.编译netqmail(该包包括了qmail1.03)
tar zxvf netqmail-1.04.tar.gz
./collate.sh
make setup check
[root@test11 netqmail-1.04]# ./config-fast $HOSTNAME
Your fully qualified host name is test11.
Putting test11 into control/me...
Putting test11 into control/defaultdomain...
Putting test11 into control/plusdomain...
Putting test11 into control/locals...
Putting test11 into control/rcpthosts...
Now qmail will refuse to accept SMTP messages except to test11.
Make sure to change rcpthosts if you add hosts to locals or virtualdomains!
[root@test11 netqmail-1.04]# cd ~alias;touch .qmail-postmaster .qmail-mailer-daemon .qmail-root
[root@test11 alias]# sed 's/Mailbox/Maildir\//' /var/qmail/boot/home >/var/qmail/rc
[root@test11 alias]# chmod 755 /var/qmail/rc
[root@test11 alias]# pwd
/var/qmail/alias
2.安装tcpserver等服务程序
cd /qmailsetup/
cp * /usr/local/src
cd /usr/local/src/
tar zxvf ucspi-tcp-ssl-pid-0.88.tar.gz
cd ucspi-tcp-ssl-pid-0.88
make
make setup check