LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 727|回复: 0

求教Debian下安装Qmail问题~

[复制链接]
发表于 2008-6-16 15:57:41 | 显示全部楼层 |阅读模式
小弟在安装时出现下面的问题。不知道出现了什么问题,我该怎么解决,还请各位高手们赐教~小弟不胜感激~~
版本是:Qmail.1.03

1. Yu:/usr/local/src/qmail-1.03# make
./compile qmail-local.c
qmail-local.c:1:23: error: sys/types.h: No such file or directory
qmail-local.c:2:22: error: sys/stat.h: No such file or directory
qmail-local.c: In function 'maildir_child':
qmail-local.c:86: error: storage size of 'st' isn't known
qmail-local.c: In function 'checkhome':
qmail-local.c:324: error: storage size of 'st' isn't known
qmail-local.c: In function 'qmeox':
qmail-local.c:340: error: storage size of 'st' isn't known
qmail-local.c: In function 'qmeexists':
qmail-local.c:359: error: storage size of 'st' isn't known
qmail-local.c:372: error: 'S_IFMT' undeclared (first use in this function)
qmail-local.c:372: error: (Each undeclared identifier is reported only once
qmail-local.c:372: error: for each function it appears in.)
qmail-local.c:372: error: 'S_IFREG' undeclared (first use in this function)
qmail-local.c: In function 'main':
qmail-local.c:461: warning: return type of 'main' is not 'int'
make: *** [qmail-local.o] Error 1

2.
Yu:/usr/local/src/qmail-1.03# make setup check
./compile qmail-local.c
qmail-local.c:1:23: error: sys/types.h: No such file or directory
qmail-local.c:2:22: error: sys/stat.h: No such file or directory
qmail-local.c: In function 'maildir_child':
qmail-local.c:86: error: storage size of 'st' isn't known
qmail-local.c: In function 'checkhome':
qmail-local.c:324: error: storage size of 'st' isn't known
qmail-local.c: In function 'qmeox':
qmail-local.c:340: error: storage size of 'st' isn't known
qmail-local.c: In function 'qmeexists':
qmail-local.c:359: error: storage size of 'st' isn't known
qmail-local.c:372: error: 'S_IFMT' undeclared (first use in this function)
qmail-local.c:372: error: (Each undeclared identifier is reported only once
qmail-local.c:372: error: for each function it appears in.)
qmail-local.c:372: error: 'S_IFREG' undeclared (first use in this function)
qmail-local.c: In function 'main':
qmail-local.c:461: warning: return type of 'main' is not 'int'
make: *** [qmail-local.o] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表