看板FreeBSD
标 题Re: 安装 ports p5-DBD-mysql 的错误
发信站台大电机 Maxwell BBS (Thu Jun 17 13:44:22 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!news.ee.ttu!news.n
※ 引述《[email protected] (孤绝)》之铭言:
: ※ 引述《[email protected] (GSS)》之铭言:
: 43
: : 我先安装了 perl 5.8.4
: : 之後安装 mysql41-server & mysql41-client
: : 再安装 p5-DBD-mysql 的时候怎麽装都装不起来
: : 其他已经安装的pkg如下
: : expat-1.95.7 XML 1.0 parser written in C
: : ezm3-1.1 Easier, more portable Modula-3 distribution for building CV
: : gettext-0.13.1_1 GNU gettext package
: : gmake-3.80_2 GNU version of 'make' utility
: : libiconv-1.9.1_3 A character set conversion library
: 也许你应该先装 DBI~~~
: # pkg_info|grep DB
: p5-DBD-mysql-2.9003 MySQL driver for the Perl5 Database Interface (DBI)
: p5-DBI-137-1.37 The perl5 Database Interface. Required for DBD::* modules
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
或许是因为 mysql 4.1.2 的问题
因为 p5-DBI-1.42_1 已经安装好了
再安装 p5-DBD-mysql 还是遇到一样的错误讯息 @@"
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.8.4/mach/auto/DBI/Driver.xst > mysql.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.4/ExtUtils/xsubpp -typemap /usr/l
ocal/lib/perl5/5.8.4/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 192
Warning: duplicate function definition 'rows' detected in mysql.xs, line 290
cc -c -I/usr/local/lib/perl5/site_perl/5.8.4/mach/auto/DBI -I/usr/local/includ
e/mysql -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/inclu
de/pthread/linuxthreads -fno-omit-frame-pointer -DDBD_MYSQL_WITH_SSL -O -pipe
-O -pipe -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.4/mach/CORE" mysql.c
mysql.xs: In function `XS_DBD__mysql__GetInfo_dbd_mysql_get_info':
mysql.xs:355: `net_buffer_length' undeclared (first use in this function)
mysql.xs:355: (Each undeclared identifier is reported only once
mysql.xs:355: for each function it appears in.)
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-mysql/work/DBD-mysql-2.9003.
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-mysql.
--
※ Origin: 台大电机 Maxwell 站 ◆ From: 220-135-253-111.HINET-IP.hinet.net