免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2813 | 回复: 10

[Mail] 各位高手帮我看看我的qmail什么地方编译的不对? [复制链接]

论坛徽章:
0
发表于 2007-03-08 15:33 |显示全部楼层
自己不是看的很明白 ,新人比较菜,还希望大家能帮助我看看 ,是什么地方错了,在线等...
[root@localhost qmail-1.03]# make setup check
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
./find-systype > systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h

rm -f tryvfork.o tryvfork
./compile qmail-local.c
./compile: line 3: exec: cc: not found
make: *** [qmail-local.o] 错误 127

论坛徽章:
0
发表于 2007-03-08 15:41 |显示全部楼层
编译程序GCC安装了吗

论坛徽章:
0
发表于 2007-03-08 16:05 |显示全部楼层
GCC是指什么?不好意思,我不太明白,能详细点吗?谢谢楼上的朋友.

论坛徽章:
0
发表于 2007-03-08 16:35 |显示全部楼层
c 编译器

论坛徽章:
0
发表于 2007-03-08 16:37 |显示全部楼层
已经安装上GCC了 `但是出现新的 错误.
auto-str.c:9: warning: conflicting types for built-in function 'puts'
auto-str.c: In function `main':
auto-str.c:17: warning: return type of 'main' is not `int'
./load auto-str substdio.a error.a str.a
substdio.a(substdo.o)(.text+0x43): In function `allwrite':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [auto-str] 错误 1

论坛徽章:
0
发表于 2007-03-08 16:55 |显示全部楼层
errno 补丁

论坛徽章:
0
发表于 2007-03-08 18:42 |显示全部楼层
能不能在解释一下是什么意思

论坛徽章:
0
发表于 2007-03-08 21:28 |显示全部楼层
Erwin Hoffmann suggests a one-line fix to the errno compilation problem. It works for most DJB software:
cat error.h | sed -es/^extern\ int\ errno\;/#include\ \<errno.h\>/ >error.h

Or, djb suggests that you edit conf-cc to read:
cc -O2 -include /usr/include/errno.h

论坛徽章:
0
发表于 2007-03-08 22:08 |显示全部楼层
版主们真有耐心
其实这些新人应该让他们看看精华贴子是最好的
老是相同的问题
真会把人的心折腾死

论坛徽章:
0
发表于 2007-03-08 22:47 |显示全部楼层
去看看别人的关于安装qmail的帖子吧;

在安装时这里需要一个补丁的;

qmail的安装中有着很多补丁的,不是靠在这里发帖子所能解决的。
建议你看看本站的安装指南,或者是Xuki的安装指南2.9(很多地方都有转载),另外也可以看看qmailrocks以及www.qmailtoaster.com(rpm 安装方式),还有shupp的介绍.............
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP