LinuxSir.cn,穿越时空的Linuxsir!

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

安装proftpd的时候出现的问题,求助。

[复制链接]
发表于 2007-4-10 20:26:40 | 显示全部楼层 |阅读模式
[root@rt-a-01 proftpd-1.2.10]# ./configure --prefix=/usr/local --enable-shadow
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
………………
config.status: config.h is unchanged
config.status: executing default commands

[root@rt-a-01 proftpd-1.2.10]# make
cd lib/ && make lib
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/modules'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/modules'
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/lib/libcap'
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
cap_sys.c:14: 错误:expected declaration specifiers or ‘...’ before ‘capget’
cap_sys.c:15: 错误:expected declaration specifiers or ‘...’ before ‘header’
cap_sys.c:16: 错误:expected declaration specifiers or ‘...’ before ‘data’
cap_sys.c:18: 警告:返回类型默认为 ‘int’
cap_sys.c: 在函数 ‘_syscall2’ 中:
cap_sys.c:18: 错误:expected declaration specifiers before ‘_syscall2’
cap_sys.c:14: 错误:省略了形参的名字
cap_sys.c:15: 错误:省略了形参的名字
cap_sys.c:16: 错误:省略了形参的名字
make[1]: *** [cap_sys.o] 错误 1
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/lib/libcap'
make: *** [dirs] 错误 2
[root@rt-a-01 proftpd-1.2.10]#

小弟刚开始接触Linux,在make的时候出现了好多错误。不知道是为什么。
我的系统是 Fedora 6。1.21和 11.29两个版本都有 这个 问题。
发表于 2007-4-10 22:13:11 | 显示全部楼层
大部分发行版的光盘中都包含有proftpd的二进制包,即使没有,也可到www.proftpd.org网站去下编译好的包,实在是没必要自己瞎折腾,除非你是老手。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-12 11:35:47 | 显示全部楼层
我的proftpd就是从http://www.proftpd.org下的...
=.=
头疼啊...
回复 支持 反对

使用道具 举报

发表于 2007-4-13 22:58:03 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-14 16:15:59 | 显示全部楼层
嗯,谢谢楼上的proftpd-1.2.10-1.fc1.i386.rpm

我也down过proftpd-1.2.10-1.fc5.i386.rpm,装的时候说是need什么什么...
现在又重新找了个fc6的rpm一会重起再试试.

搞好了再来汇报情况.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-16 18:40:24 | 显示全部楼层
安装已经 搞定。应该是内核的问题吧。
我当了一个 FOR FC6的版本,安装通过。
over.开始配置。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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