proftp+mysql+quota 的问题!忙了一下午了没有做出来!

由 wallace888 在 02-06-2004 14:57 发表:

proftp+mysql+quota 的问题!忙了一下午了没有做出来!

我按照 http://www.linuxsir.org/bbs/showthr...;threadid=86815

的帖子来做的。我用的是RH8.0 在上面安装好了apache+mysql+php

用的软件包分别是:

mysql-4.0.17.tar.gz

httpd-2.0.47.tar.gz

php-4.3.3.tar.bz2

这几个软件包我安装在了/opt目录下面!

然后我开始进行proftp+mysql+quota 前几步都做完了在进行./configure我写的语句是

./configure \

--prefix=/opt/proftpd \

--with-modules=mod_sql:mod_sql_mysql:mod_quotatab\

:mod_quotatab_sql:mod_ratio \

--with-includes=/opt/mysql/include/mysql \

--with-libraries=/opt/mysql/lib/mysql

这一步也是正常。但是当我用#make 的时候以为没有问题,我过了一会儿过来看的时候在编译了一段时间后提示:(请大家帮忙了)

mod_sql_mysql.c:1300: warning: type defaults to int' in declaration of sql_log'

mod_sql_mysql.c:1300: warning: data definition has no type or storage class

/usr/include/gconv.h:172: warning: array `__data' assumed to have one element

/usr/include/bits/socket.h:237: warning: array `__cmsg_data' assumed to have one element

mod_sql_mysql.c:213: register name not specified for `__result'

mod_sql_mysql.c:1298: register name not specified for `__result'

make[1]: *** [mod_sql_mysql.o] Error 1

make[1]: Leaving directory `/home/temp/proftpd-1.2.9/modules'

make: *** [modules] Error 2


由 黄叶 在 02-06-2004 18:42 发表:


--with-includes=/opt/mysql/include/mysql \

--with-libraries=/opt/mysql/lib/mysql

这两个选项再看一下configure的说明。


http://hylinux.3

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus