mysql:6866
From: 齊藤 恭一 <齊藤 恭一 <k-saitou@xxxxxxxxxx>>
Date: Wed, 15 Jan 2003 20:39:57 +0900
Subject: [mysql 06866] Re: MySQL と Perl の連動
谷川様 齊藤です。ご返信ありがとうございます。 > スーパーユーザと一般ユーザとで、 > 環境変数 LD_LIBRARY_PATH に違いはありますか。 一般ユーザから環境変数を引き継ぎ、 LD_LIBRARY_PATH を同じにしても 現象は変わりません。 > あと、Msql-Mysql-modules-1.2219.tar.gz をインストール > したときに、make test でエラーは出ませんでしたか。 出ませんでした。 念のため以下にインストールログを添付致します。 [Msql-Mysql-modules-1.2219] % perl Makefile.PL Which drivers do you want to install? 1) MySQL only 2) mSQL only (either of mSQL 1 or mSQL 2) 3) MySQL and mSQL (either of mSQL 1 or mSQL 2) 4) mSQL 1 and mSQL 2 5) MySQL, mSQL 1 and mSQL 2 Enter the appropriate number: [3] 1 Do you want to install the MysqlPerl emulation? You might keep your old Mysql module (to be distinguished from DBD::mysql!) if you are concerned about compatibility to existing applications! [n] Where is your MySQL installed? Please tell me the directory that contains the subdir 'include'. [/usr/local] Which database should I use for testing the MySQL drivers? [test] On which host is database test running (hostname, ip address or host:port) [localhost] User name for connecting to database test? [undef] Password for connecting to database test? [undef] Creating files for MySQL .................... Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgz Using DBI 1.32 installed in /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBI Writing Makefile for DBD::mysql Writing Makefile for Msql-Mysql-modules % make mkdir blib mkdir blib/lib mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/Msql-Mysql-modules mkdir blib/lib/auto mkdir blib/lib/auto/Msql-Mysql-modules mkdir blib/man1 /usr/local/bin/pod2text mysql/lib/DBD/mysql.pm >README make[1]: Entering directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' mkdir ../blib/lib/DBD mkdir ../blib/arch/auto/DBD mkdir ../blib/arch/auto/DBD/mysql mkdir ../blib/lib/auto/DBD mkdir ../blib/lib/auto/DBD/mysql mkdir ../blib/man3 cp lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm cp lib/Bundle/DBD/mysql.pm ../blib/lib/Bundle/DBD/mysql.pm cp lib/Mysql/Statement.pm ../blib/lib/Mysql/Statement.pm cp lib/Mysql.pm ../blib/lib/Mysql.pm gcc -c -I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBI -I/usr/local/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBI -I/usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi -D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -fPIC -I/usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi/CORE -DDBD_MYSQL dbdimp.c /usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" < /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBI/Driver.xst > mysql.xsi /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi -I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'rows' detected in mysql.xs, line 407 gcc -c -I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBI -I/usr/local/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBI -I/usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi -D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -fPIC -I/usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi/CORE -DDBD_MYSQL mysql.c Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/local/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3" gcc -o ../blib/arch/auto/DBD/mysql/mysql.so -R/usr/local/lib/mysql -R/lib -R/usr/local/lib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -G -L/usr/local/lib dbdimp.o mysql.o -L/usr/local/lib/mysql -R/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -lm -lz -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -lgcc chmod 755 ../blib/arch/auto/DBD/mysql/mysql.so cp mysql.bs ../blib/arch/auto/DBD/mysql/mysql.bs chmod 644 ../blib/arch/auto/DBD/mysql/mysql.bs Manifying ../blib/man3/DBD::mysql.3 Manifying ../blib/man3/Bundle::DBD::mysql.3 Manifying ../blib/man3/Mysql.3 make[1]: Leaving directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' mkdir blib/script cp dbimon blib/script/dbimon /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi -I/usr/local/lib/perl5/5.6.0 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbimon Manifying blib/man1/dbimon.1 % make test make[1]: Entering directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' make[1]: Leaving directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' make[1]: Entering directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' PERL_DL_NONLAZY=1 /usr/local/bin/perl -I../blib/arch -I../blib/lib -I/usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi -I/usr/local/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00base............ok t/10dsnlist.........ok t/20createdrop......ok t/30insertfetch.....ok t/40bindparam.......ok t/40blobs...........ok t/40listfields......ok t/40nulls...........ok t/40numrows.........ok t/50chopblanks......ok t/50commit..........ok, 14/30 skipped: No transactions t/60leaks...........skipped test on this platform t/ak-dbd............ok t/dbdadmin..........ok All tests successful, 1 test and 14 subtests skipped. Files=14, Tests=290, 25 wallclock secs ( 2.53 cusr + 1.41 csys = 3.94 CPU) make[1]: Leaving directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' azure{k-saitou}[31]% pwd /home/k-saitou/work/Msql-Mysql-modules-1.2219 azure{k-saitou}[32]% pwd /home/k-saitou/work/Msql-Mysql-modules-1.2219 root# make install make[1]: Entering directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' make[1]: Leaving directory `/home/k-saitou/work/Msql-Mysql-modules-1.2219/mysql' Installing /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBD/mysql/mysql.so Skipping /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/DBD/mysql/mysql.bs (unchanged) Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/Mysql.pm Installing /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/Mysql/Statement.pm Installing /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/Bundle/DBD/mysql.pm Installing /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/DBD/mysql.pm Installing /usr/local/man/man1/dbimon.1 Installing /usr/local/man/man3/DBD::mysql.3 Installing /usr/local/man/man3/Bundle::DBD::mysql.3 Installing /usr/local/man/man3/Mysql.3 Skipping /usr/local/bin/dbimon (unchanged) Writing /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi/auto/Msql-Mysql-modules/.packlist Appending installation info to /usr/local/lib/perl5/5.6.0/sun4-solaris-thread-multi/perllocal.pod 以上です。 お気づきの点がございましたらご連絡ください。
6859 2003-01-15 11:03 [齊藤 恭一 <k-saitou] Re: MySQL と Perl の連動 6860 2003-01-15 11:29 ┗["TOYOSHIMA,Masayuki"] 6861 2003-01-15 17:47 ┗[齊藤 恭一 <k-saitou] 6862 2003-01-15 18:13 ┗[pico <pico@xxxxxxxxx] 6863 2003-01-15 18:35 ┗[齊藤 恭一 <k-saitou] 6864 2003-01-15 18:45 ┣[pico <pico@xxxxxxxxx] 6865 2003-01-15 19:19 ┗[Hiroki TANIKAWA <hir] -> 6866 2003-01-15 20:39 ┗[齊藤 恭一 <k-saitou] 6867 2003-01-16 08:28 ┣[Yukihiro KAWADA <kaw] 6868 2003-01-16 11:15 ┗[Hiroki TANIKAWA <hir] 6869 2003-01-16 14:40 ┣[齊藤 恭一 <k-saitou] 6870 2003-01-17 18:51 ┗["Higashi Kanemitsu" ] php でのデータ表示 6871 2003-01-17 18:50 ┣["3web" <dvh52252@xxx] 6873 2003-01-17 20:11 ┣[平松 幸治 <kouji@xx] 6875 2003-01-17 20:51 ┣[Shinya Kawaji <kawaj] 6880 2003-01-18 07:10 ┃┗[<kanemitsu@xxxxxxxxx] 6876 2003-01-17 21:37 ┗[TORU NOMURA <toru200] 今後ともよろしくお願い致します 6881 2003-01-19 12:42 ┗[TORU NOMURA <toru200] インストールしましたが ... 6882 2003-01-19 12:53 ┣[<kanemitsu@xxxxxxxxx] order by の使い方について 6884 2003-01-19 17:46 ┃┗[Shinya Kawaji <kawaj] 6889 2003-01-19 20:48 ┃ ┗[kanemitsu higashi <k] 6883 2003-01-19 14:46 ┗["kosugi" <kosugi@xxx] 6886 2003-01-19 18:33 ┗[TORU NOMURA <toru200] 6888 2003-01-19 20:44 ┗["kosugi" <kosugi@xxx] 6890 2003-01-19 21:27 ┗[TORU NOMURA <toru200] 6892 2003-01-19 22:35 ┣["kosugi" <kosugi@xxx] 6893 2003-01-19 23:02 ┃┗[TORU NOMURA <toru200] 6894 2003-01-20 07:57 ┗[MURAKAMI Yukio <m_yu] 6895 2003-01-20 22:26 ┗[TORU NOMURA <toru200] 6896 2003-01-21 07:45 ┗[MURAKAMI Yukio <m_yu]