免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2629 | 回复: 5
打印 上一主题 下一主题

[Mail] 求教Debian下安装Qmail问题~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-16 15:06 |只看该作者 |倒序浏览
小弟在安装时出现下面的问题。不知道出现了什么问题,我该怎么解决,还请各位高手们赐教~小弟不胜感激~~
版本是: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

论坛徽章:
0
2 [报告]
发表于 2008-06-17 15:41 |只看该作者
还是没人顶吗?我都等了一天了·~

论坛徽章:
0
3 [报告]
发表于 2008-06-17 16:42 |只看该作者

回复 #1 xjianzy 的帖子

麻烦啊,很多。h 文件找不到

论坛徽章:
0
4 [报告]
发表于 2008-06-17 17:44 |只看该作者
大概沒裝 libc6-dev 這類 package,用 apt-get 裝一下即可。

另外 qmail 其實已經很久沒人維護了,怎麼不用 sendmail/postfix/exim 這類 mta 呢?

--

论坛徽章:
0
5 [报告]
发表于 2008-07-26 09:15 |只看该作者
支持!!!!!!!!!!!

论坛徽章:
0
6 [报告]
发表于 2008-07-27 15:15 |只看该作者
http://www.qmailtoaster.org/

推荐楼主去看一看。我就是按照那上面的脚本来安装的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP