[转帖]安装proftpd+mysql的问题_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2903 | 回复: 0   主题: [转帖]安装proftpd+mysql的问题        下一篇 
谁是天蝎
注册用户
等级:大元帅
经验:90210
发帖:106
精华:0
注册:2011-7-21
状态:离线
发送短消息息给谁是天蝎 加好友    发送短消息息给谁是天蝎 发消息
发表于: IP:您无权察看 2014-11-19 15:30:52 | [全部帖] [楼主帖] 楼主

Mysql装4.0.12,Proftpd装1.2.8,lib目录下已有libmysqlclient.so文件,但是在make的时候出错,不知道为什么,麻烦那位给看一下。

./configure --prefix=/usr/local/proftpd --with-includes=/usr/local/mysql/include --with-libraries=/usr/local/mysql/lib/mysql --with-modules=mod_sql:mod_sql_mysql

echo #define BUILD_STAMP "`date`" >include/buildstamp.h

cd lib/ && make lib

make[1]: Entering directory `/proftpd-1.2.8/lib'

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pr_fnmatch.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c strsep.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c vsnprintf.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c glibc-glob.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c glibc-mkstemp.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pr-syslog.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pwgrent.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c getopt.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c getopt1.c

ar rc libsupp.a pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o

ranlib libsupp.a

make[1]: Leaving directory `/proftpd-1.2.8/lib'

cd src/ && make src

make[1]: Entering directory `/proftpd-1.2.8/src'

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c main.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c timers.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c sets.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pool.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c regexp.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c dirtree.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c support.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c inet.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c log.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c bindings.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c scoreboard.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c feat.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c netio.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c response.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c ident.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c data.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c modules.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c auth.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c fsio.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mkhome.c

make[1]: Leaving directory `/proftpd-1.2.8/src'

cd modules/ && make modules

make[1]: Entering directory `/proftpd-1.2.8/modules'

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_core.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_xfer.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_auth_unix.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_auth_file.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_auth.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_ls.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_log.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_site.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_auth_pam.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_sql.c

gcc -DLINUX -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_sql_mysql.c

mod_sql_mysql.c:136:25: mysql/mysql.h: No such file or directory

mod_sql_mysql.c:163: parse error before "MYSQL"

mod_sql_mysql.c:163: warning: no semicolon at end of struct or union

mod_sql_mysql.c: In function `_build_error':

mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'

mod_sql_mysql.c:331: dereferencing pointer to incomplete type

mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'

mod_sql_mysql.c:333: dereferencing pointer to incomplete type

mod_sql_mysql.c:333: warning: passing arg 4 of `mod_create_ret' makes pointer from integer without a cast

mod_sql_mysql.c: In function `_build_data':

mod_sql_mysql.c:345: `MYSQL' undeclared (first use in this function)

mod_sql_mysql.c:345: (Each undeclared identifier is reported only once

mod_sql_mysql.c:345: for each function it appears in.)

mod_sql_mysql.c:345: `mysql' undeclared (first use in this function)

mod_sql_mysql.c:346: `MYSQL_RES' undeclared (first use in this function)

mod_sql_mysql.c:346: `result' undeclared (first use in this function)

mod_sql_mysql.c:347: `MYSQL_ROW' undeclared (first use in this function)

mod_sql_mysql.c:347: parse error before "row"

mod_sql_mysql.c:356: dereferencing pointer to incomplete type

mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_store_result'

mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_rows'

mod_sql_mysql.c:369: warning: implicit declaration of function `mysql_num_fields'

mod_sql_mysql.c:374: `row' undeclared (first use in this function)

mod_sql_mysql.c:374: warning: implicit declaration of function `mysql_fetch_row'

mod_sql_mysql.c:384: warning: implicit declaration of function `mysql_free_result'

mod_sql_mysql.c: In function `cmd_open':

mod_sql_mysql.c:438: warning: implicit declaration of function `mysql_ping'

mod_sql_mysql.c:438: dereferencing pointer to incomplete type

mod_sql_mysql.c:450: dereferencing pointer to incomplete type

mod_sql_mysql.c:450: warning: implicit declaration of function `mysql_init'

mod_sql_mysql.c:452: dereferencing pointer to incomplete type

mod_sql_mysql.c:460: warning: implicit declaration of function `mysql_real_connect'

mod_sql_mysql.c:460: dereferencing pointer to incomplete type

mod_sql_mysql.c:460: dereferencing pointer to incomplete type

mod_sql_mysql.c:460: dereferencing pointer to incomplete type

mod_sql_mysql.c:461: dereferencing pointer to incomplete type

mod_sql_mysql.c:461: dereferencing pointer to incomplete type

mod_sql_mysql.c:462: dereferencing pointer to incomplete type

mod_sql_mysql.c: In function `cmd_close':

mod_sql_mysql.c:556: warning: implicit declaration of function `mysql_close'

mod_sql_mysql.c:556: dereferencing pointer to incomplete type

mod_sql_mysql.c:557: dereferencing pointer to incomplete type

mod_sql_mysql.c: In function `cmd_defineconnection':

mod_sql_mysql.c:623: sizeof applied to an incomplete type

mod_sql_mysql.c:626: dereferencing pointer to incomplete type

mod_sql_mysql.c:627: dereferencing pointer to incomplete type

mod_sql_mysql.c:658: dereferencing pointer to incomplete type

mod_sql_mysql.c:659: dereferencing pointer to incomplete type

mod_sql_mysql.c:660: dereferencing pointer to incomplete type

mod_sql_mysql.c:677: dereferencing pointer to incomplete type

mod_sql_mysql.c:678: dereferencing pointer to incomplete type

mod_sql_mysql.c:679: dereferencing pointer to incomplete type

mod_sql_mysql.c:680: dereferencing pointer to incomplete type

mod_sql_mysql.c: In function `cmd_select':

mod_sql_mysql.c:801: warning: implicit declaration of function `mysql_real_query'

mod_sql_mysql.c:801: dereferencing pointer to incomplete type

mod_sql_mysql.c: In function `cmd_insert':

mod_sql_mysql.c:915: dereferencing pointer to incomplete type

mod_sql_mysql.c: In function `cmd_update':

mod_sql_mysql.c:1014: dereferencing pointer to incomplete type

mod_sql_mysql.c: In function `cmd_query':

mod_sql_mysql.c:1130: dereferencing pointer to incomplete type

mod_sql_mysql.c:1145: warning: implicit declaration of function `mysql_field_count'

mod_sql_mysql.c:1145: dereferencing pointer to incomplete type

mod_sql_mysql.c: In function `cmd_escapestring':

mod_sql_mysql.c:1225: warning: implicit declaration of function `mysql_escape_string'

mod_sql_mysql.c: In function `cmd_checkauth':

mod_sql_mysql.c:1289: warning: implicit declaration of function `make_scrambled_password'

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

make[1]: Leaving directory `/proftpd-1.2.8/modules'

make: *** [modules] Error 2

Subject: Sorry,configure写错了。

 Author: zhetaosu    Posted: 2003-04-06 12:52    Length: 155 byte(s)

[Original] [Print] [Top]

./configure --prefix=/usr/local/proftpd --with-includes=/usr/local/mysql/include --with-libraries=/usr/local/mysql/lib --with-modules=mod_sql:mod_sql_mysql

--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论