[前][次][番号順一覧][スレッド一覧]

mysql:9707

From: JunichiAJISAKA <JunichiAJISAKA <jyun@xxxxxxxxxx>>
Date: Wed, 23 Jun 2004 17:05:31 +0900
Subject: [mysql 09707]

初めまして。鯵坂純一と申します。

DBD-mysql-2.9003をmakeできなくて困っています。
お知恵を拝借したくメールしました。
環境は、
MySQL-devel-4.1.2-0
MySQL-client-4.1.2-0
MySQL-server-4.1.2-0
MySQL-embedded-4.1.2-0
DBI-1.42
がインストール済みです。

以下実行内容です。
$perl Makefile.PL

I will use the following settings for compiling and testing:

cflags        (mysql_config) = -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce
libs          (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc
-lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
nocatchstderr (default     ) = 0
nofoundrows   (default     ) = 0
ssl           (guessed     ) = 0
testdb        (default     ) = test
testhost      (default     ) =
testpassword  (default     ) =
testuser      (default     ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-
multi/auto/DBI /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI at Makef
ile.PL line 295
Using DBI 1.42 (for perl 5.008 on i386-linux-thread-multi) installed in /usr/lib/perl5/si
te_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::mysql

$make

cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c  -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr/include/
mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDE
BUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686   -DVERSION=\"2.9003\" -DXS_V
ERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread
-multi/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.0/ExtUtil
s/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
gcc -c  -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr/include/
mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDE
BUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686   -DVERSION=\"2.9003\" -DXS_V
ERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   mysql.c
mysql.xs: 関数 `XS_DBD__mysql__GetInfo_dbd_mysql_get_info' 内:
mysql.xs:355: error: `net_buffer_length' undeclared (first use in this function)
mysql.xs:355: error: (Each undeclared identifier is reported only once
mysql.xs:355: error: for each function it appears in.)
make: *** [mysql.o] エラー 1

以上です。

よろしくお願い致します。

-----------------
JunichiAjisaka
jyun@xxxxxxxxxx
-----------------

[前][次][番号順一覧][スレッド一覧]

->    9707 2004-06-23 17:05 [JunichiAJISAKA <jyun]                                         
      9708 2004-06-23 18:08 ┗["HIROSE, Masaaki" <h] DBD::mysqlがMySQL-4.1.2でコンパイルできない
      9744 2004-07-02 10:42  ┗["HIROSE, Masaaki" <h]