弁財天

ゴフマン「専門家を信じるのではなく、自分自身で考えて判断せよ」

CygwinにDBD::Oracleを導入

WinXPのCygwin 1.7.22に
11gR2(11.2.0.3)のOracleクライアント環境でビルドした
Perl DBI/DBD::Oracleを導入する。

[~]$ uname -a
CYGWIN_NT-5.1 localhost 1.7.22(0.268/5/3) 2013-07-22 17:06 i686 Cygwin
[~]$

Cygwinのcpan

[/cygdrive/c/SomeWhere]$ cpan

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes]

Autoconfigured everything but 'urllist'.

Now you need to choose your CPAN mirror sites.  You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Trying to refresh your mirror list
Fetching with LWP:
http://www.perl.org/CPAN/MIRRORED.BY

Looking for CPAN mirrors near you (please be patient)
............................ done!

New urllist
  http://tux.rainside.sk/CPAN/
  http://ftp.u-tx.net/CPAN/
  http://www.planet-elektronik.de/CPAN/

Autoconfiguration complete.

commit: wrote '/home/Administrator/.cpan/CPAN/MyConfig.pm'

You can re-run configuration any time with 'o conf init' in the CPAN shell

cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.

cpan[1]>

CPANが動くのでこれ使う。

cpan[1]> install DBI
Going to read '/home/Administrator/.cpan/Metadata'
  Database was generated on Thu, 23 Aug 2012 21:03:03 GMT
Fetching with LWP:
http://tux.rainside.sk/CPAN/authors/01mailrc.txt.gz
Going to read '/home/Administrator/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://tux.rainside.sk/CPAN/modules/02packages.details.txt.gz
Going to read '/home/Administrator/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Wed, 25 Sep 2013 22:41:03 GMT
..............
  New CPAN.pm version (v2.00) available.
  [Currently running version is v1.960001]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


..............................................................DONE
Fetching with LWP:
http://tux.rainside.sk/CPAN/modules/03modlist.data.gz
Going to read '/home/Administrator/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /home/Administrator/.cpan/Metadata
Running install for module 'DBI'
Running make for T/TI/TIMB/DBI-1.628.tar.gz
Fetching with LWP:
http://tux.rainside.sk/CPAN/authors/id/T/TI/TIMB/DBI-1.628.tar.gz
Fetching with LWP:
http://tux.rainside.sk/CPAN/authors/id/T/TI/TIMB/CHECKSUMS
Checksum for /home/Administrator/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.628.tar.gz ok
Scanning cache /home/Administrator/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Going to build T/TI/TIMB/DBI-1.628.tar.gz

Your perl was compiled with gcc (version 4.5.3), okay.
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
t/zvg_02dbidrv.t
t/zvg_03handle.t
t/zvg_04mods.t
t/zvg_05concathash.t
t/zvg_06attrs.t
t/zvg_07kids.t
t/zvg_08keeperr.t
t/zvg_09trace.t
t/zvg_10examp.t
t/zvg_11fetch.t
t/zvg_12quote.t
t/zvg_13taint.t
t/zvg_14utf8.t
t/zvg_15array.t
t/zvg_16destroy.t
t/zvg_19fhtrace.t
t/zvg_20meta.t
t/zvg_30subclass.t
t/zvg_31methcache.t
t/zvg_35thrclone.t (use threads)
t/zvg_40profile.t
t/zvg_41prof_dump.t
t/zvg_42prof_data.t
t/zvg_43prof_env.t
t/zvg_48dbi_dbd_sqlengine.t
t/zvg_49dbd_file.t
t/zvg_50dbm_simple.t
t/zvg_51dbm_file.t
t/zvg_52dbm_complex.t
t/zvg_60preparse.t
t/zvg_65transact.t
t/zvg_70callbacks.t
t/zvg_72childhandles.t
t/zvg_80proxy.t
t/zvg_85gofer.t
t/zvg_86gofer_fail.t
t/zvg_87gofer_cache.t
t/zvg_90sql_type_cast.t
Creating test wrappers for DBI::SQL::Nano:
t/zvn_48dbi_dbd_sqlengine.t
t/zvn_49dbd_file.t
t/zvn_50dbm_simple.t
t/zvn_51dbm_file.t
t/zvn_52dbm_complex.t
t/zvn_85gofer.t
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
t/zvp_02dbidrv.t
t/zvp_03handle.t
t/zvp_04mods.t
t/zvp_05concathash.t
t/zvp_06attrs.t
t/zvp_07kids.t
t/zvp_08keeperr.t
t/zvp_09trace.t
t/zvp_10examp.t
t/zvp_11fetch.t
t/zvp_12quote.t
t/zvp_13taint.t
t/zvp_14utf8.t
t/zvp_15array.t
t/zvp_16destroy.t
t/zvp_19fhtrace.t
t/zvp_20meta.t
t/zvp_30subclass.t
t/zvp_31methcache.t
t/zvp_35thrclone.t (use threads)
t/zvp_40profile.t
t/zvp_41prof_dump.t
t/zvp_42prof_data.t
t/zvp_43prof_env.t
t/zvp_48dbi_dbd_sqlengine.t
t/zvp_49dbd_file.t
t/zvp_50dbm_simple.t
t/zvp_51dbm_file.t
t/zvp_52dbm_complex.t
t/zvp_60preparse.t
t/zvp_65transact.t
t/zvp_70callbacks.t
t/zvp_72childhandles.t
t/zvp_80proxy.t
t/zvp_85gofer.t
t/zvp_86gofer_fail.t
t/zvp_87gofer_cache.t
t/zvp_90sql_type_cast.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano:
t/zvxgn_48dbi_dbd_sqlengine.t
t/zvxgn_49dbd_file.t
t/zvxgn_50dbm_simple.t
t/zvxgn_51dbm_file.t
t/zvxgn_52dbm_complex.t
t/zvxgn_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::PurePerl:
t/zvxgp_01basics.t
t/zvxgp_02dbidrv.t
t/zvxgp_03handle.t
t/zvxgp_04mods.t
t/zvxgp_05concathash.t
t/zvxgp_06attrs.t
t/zvxgp_07kids.t
t/zvxgp_08keeperr.t
t/zvxgp_09trace.t
t/zvxgp_10examp.t
t/zvxgp_11fetch.t
t/zvxgp_12quote.t
t/zvxgp_13taint.t
t/zvxgp_14utf8.t
t/zvxgp_15array.t
t/zvxgp_16destroy.t
t/zvxgp_19fhtrace.t
t/zvxgp_20meta.t
t/zvxgp_30subclass.t
t/zvxgp_31methcache.t
t/zvxgp_35thrclone.t (use threads)
t/zvxgp_40profile.t
t/zvxgp_41prof_dump.t
t/zvxgp_42prof_data.t
t/zvxgp_43prof_env.t
t/zvxgp_48dbi_dbd_sqlengine.t
t/zvxgp_49dbd_file.t
t/zvxgp_50dbm_simple.t
t/zvxgp_51dbm_file.t
t/zvxgp_52dbm_complex.t
t/zvxgp_60preparse.t
t/zvxgp_65transact.t
t/zvxgp_70callbacks.t
t/zvxgp_72childhandles.t
t/zvxgp_80proxy.t
t/zvxgp_85gofer.t
t/zvxgp_86gofer_fail.t
t/zvxgp_87gofer_cache.t
t/zvxgp_90sql_type_cast.t
Creating test wrappers for DBI::SQL::Nano + DBI::PurePerl:
t/zvxnp_48dbi_dbd_sqlengine.t
t/zvxnp_49dbd_file.t
t/zvxnp_50dbm_simple.t
t/zvxnp_51dbm_file.t
t/zvxnp_52dbm_complex.t
t/zvxnp_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano + DBI::PurePerl:
t/zvxgnp_48dbi_dbd_sqlengine.t
t/zvxgnp_49dbd_file.t
t/zvxgnp_50dbm_simple.t
t/zvxgnp_51dbm_file.t
t/zvxgnp_52dbm_complex.t
t/zvxgnp_85gofer.t
Checking if your kit is complete...
Looks good

    I see you're using perl 5.014002 on cygwin-thread-multi-64int, okay.
    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

Writing Makefile for DBI
Writing MYMETA.yml
/usr/bin/perl.exe -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/DBD/File/Roadmap.pod blib/lib/DBD/File/Roadmap.pod
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/File/HowTo.pod blib/lib/DBD/File/HowTo.pod
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/DBD/SqlEngine/HowTo.pod blib/lib/DBI/DBD/SqlEngine/HowTo.pod
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBD/Gofer/Transport/corostream.pm blib/lib/DBD/Gofer/Transport/corostream.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD/SqlEngine/Developers.pod blib/lib/DBI/DBD/SqlEngine/Developers.pod
cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/File/Developers.pod blib/lib/DBD/File/Developers.pod
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBI/DBD/SqlEngine.pm blib/lib/DBI/DBD/SqlEngine.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl.exe -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.14/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
gcc-4 -c    -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3    -DVERSION=\"1.628\"  -DXS_VERSION=\"1.628\"  "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
Perl.c: 関数 'XS_DBD__Perl__dr_data_sources' 内:
Perl.c:182:7: 警告: 変数 'attr' が設定されましたが使用されていません [-Wunused-but-set-variable]
Perl.c: 関数 'XS_DBD__Perl__db__login' 内:
Perl.c:225:7: 警告: 変数 'attribs' が設定されましたが使用されていません [-Wunused-but-set-variable]
Perl.c: 関数 'XS_DBD__Perl__db_last_insert_id' 内:
Perl.c:467:7: 警告: 変数 'attr' が設定されましたが使用されていません [-Wunused-but-set-variable]
/usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.14/ExtUtils/typemap -typemap typemap  DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
gcc-4 -c    -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3    -DVERSION=\"1.628\"  -DXS_VERSION=\"1.628\"  "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter DBI.c
DBI.c: 関数 'XS_DBD_____db_take_imp_data' 内:
DBI.xs:5086:16: 警告: 'mg' はこの関数内初期化されずに使用されるかもしれません [-Wmaybe-uninitialized]
DBI.xs:4999:12: 備考: 'mg' はここで定義されています
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.dll
g++-4  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector DBI.o  -o blib/arch/auto/DBI/DBI.dll  \
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14.dll    \

make: g++-4: コマンドが見つかりませんでした
Makefile:768: recipe for target `blib/arch/auto/DBI/DBI.dll' failed
make: *** [blib/arch/auto/DBI/DBI.dll] Error 127
  TIMB/DBI-1.628.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 TIMB/DBI-1.628.tar.gz                        : make NO

cpan[2]>

g++-4がないとか。こんなの導入しないだろ。ふつー。
シンボリックリンクで捏造。

$ cd /usr/bin
$ ln -s g++ g++-4
$

失敗したinstallを継続するのはforce make DBI

cpan[7]> force make DBI
Running make for module 'DBI'
Running make for T/TI/TIMB/DBI-1.628.tar.gz

  CPAN.pm: Going to build T/TI/TIMB/DBI-1.628.tar.gz

Your perl was compiled with gcc (version 4.5.3), okay.
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
t/zvg_02dbidrv.t
t/zvg_03handle.t
t/zvg_04mods.t
t/zvg_05concathash.t
t/zvg_06attrs.t
t/zvg_07kids.t
t/zvg_08keeperr.t
t/zvg_09trace.t
t/zvg_10examp.t
t/zvg_11fetch.t
t/zvg_12quote.t
t/zvg_13taint.t
t/zvg_14utf8.t
t/zvg_15array.t
t/zvg_16destroy.t
t/zvg_19fhtrace.t
t/zvg_20meta.t
t/zvg_30subclass.t
t/zvg_31methcache.t
t/zvg_35thrclone.t (use threads)
t/zvg_40profile.t
t/zvg_41prof_dump.t
t/zvg_42prof_data.t
t/zvg_43prof_env.t
t/zvg_48dbi_dbd_sqlengine.t
t/zvg_49dbd_file.t
t/zvg_50dbm_simple.t
t/zvg_51dbm_file.t
t/zvg_52dbm_complex.t
t/zvg_60preparse.t
t/zvg_65transact.t
t/zvg_70callbacks.t
t/zvg_72childhandles.t
t/zvg_80proxy.t
t/zvg_85gofer.t
t/zvg_86gofer_fail.t
t/zvg_87gofer_cache.t
t/zvg_90sql_type_cast.t
Creating test wrappers for DBI::SQL::Nano:
t/zvn_48dbi_dbd_sqlengine.t
t/zvn_49dbd_file.t
t/zvn_50dbm_simple.t
t/zvn_51dbm_file.t
t/zvn_52dbm_complex.t
t/zvn_85gofer.t
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
t/zvp_02dbidrv.t
t/zvp_03handle.t
t/zvp_04mods.t
t/zvp_05concathash.t
t/zvp_06attrs.t
t/zvp_07kids.t
t/zvp_08keeperr.t
t/zvp_09trace.t
t/zvp_10examp.t
t/zvp_11fetch.t
t/zvp_12quote.t
t/zvp_13taint.t
t/zvp_14utf8.t
t/zvp_15array.t
t/zvp_16destroy.t
t/zvp_19fhtrace.t
t/zvp_20meta.t
t/zvp_30subclass.t
t/zvp_31methcache.t
t/zvp_35thrclone.t (use threads)
t/zvp_40profile.t
t/zvp_41prof_dump.t
t/zvp_42prof_data.t
t/zvp_43prof_env.t
t/zvp_48dbi_dbd_sqlengine.t
t/zvp_49dbd_file.t
t/zvp_50dbm_simple.t
t/zvp_51dbm_file.t
t/zvp_52dbm_complex.t
t/zvp_60preparse.t
t/zvp_65transact.t
t/zvp_70callbacks.t
t/zvp_72childhandles.t
t/zvp_80proxy.t
t/zvp_85gofer.t
t/zvp_86gofer_fail.t
t/zvp_87gofer_cache.t
t/zvp_90sql_type_cast.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano:
t/zvxgn_48dbi_dbd_sqlengine.t
t/zvxgn_49dbd_file.t
t/zvxgn_50dbm_simple.t
t/zvxgn_51dbm_file.t
t/zvxgn_52dbm_complex.t
t/zvxgn_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::PurePerl:
t/zvxgp_01basics.t
t/zvxgp_02dbidrv.t
t/zvxgp_03handle.t
t/zvxgp_04mods.t
t/zvxgp_05concathash.t
t/zvxgp_06attrs.t
t/zvxgp_07kids.t
t/zvxgp_08keeperr.t
t/zvxgp_09trace.t
t/zvxgp_10examp.t
t/zvxgp_11fetch.t
t/zvxgp_12quote.t
t/zvxgp_13taint.t
t/zvxgp_14utf8.t
t/zvxgp_15array.t
t/zvxgp_16destroy.t
t/zvxgp_19fhtrace.t
t/zvxgp_20meta.t
t/zvxgp_30subclass.t
t/zvxgp_31methcache.t
t/zvxgp_35thrclone.t (use threads)
t/zvxgp_40profile.t
t/zvxgp_41prof_dump.t
t/zvxgp_42prof_data.t
t/zvxgp_43prof_env.t
t/zvxgp_48dbi_dbd_sqlengine.t
t/zvxgp_49dbd_file.t
t/zvxgp_50dbm_simple.t
t/zvxgp_51dbm_file.t
t/zvxgp_52dbm_complex.t
t/zvxgp_60preparse.t
t/zvxgp_65transact.t
t/zvxgp_70callbacks.t
t/zvxgp_72childhandles.t
t/zvxgp_80proxy.t
t/zvxgp_85gofer.t
t/zvxgp_86gofer_fail.t
t/zvxgp_87gofer_cache.t
t/zvxgp_90sql_type_cast.t
Creating test wrappers for DBI::SQL::Nano + DBI::PurePerl:
t/zvxnp_48dbi_dbd_sqlengine.t
t/zvxnp_49dbd_file.t
t/zvxnp_50dbm_simple.t
t/zvxnp_51dbm_file.t
t/zvxnp_52dbm_complex.t
t/zvxnp_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano + DBI::PurePerl:
t/zvxgnp_48dbi_dbd_sqlengine.t
t/zvxgnp_49dbd_file.t
t/zvxgnp_50dbm_simple.t
t/zvxgnp_51dbm_file.t
t/zvxgnp_52dbm_complex.t
t/zvxgnp_85gofer.t

    I see you're using perl 5.014002 on cygwin-thread-multi-64int, okay.
    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

Writing Makefile for DBI
Writing MYMETA.yml
Skip blib/arch/auto/DBI/Driver_xst.h (unchanged)
Skip blib/lib/DBD/Proxy.pm (unchanged)
Skip blib/lib/DBI/Gofer/Response.pm (unchanged)
Skip blib/lib/DBI/Gofer/Transport/Base.pm (unchanged)
Skip blib/lib/DBI/Util/_accessor.pm (unchanged)
Skip blib/lib/DBD/DBM.pm (unchanged)
Skip blib/arch/auto/DBI/DBIXS.h (unchanged)
Skip blib/lib/dbixs_rev.pl (unchanged)
Skip blib/lib/DBI/Const/GetInfoType.pm (unchanged)
Skip blib/lib/DBI/Gofer/Serializer/DataDumper.pm (unchanged)
Skip blib/lib/DBI/DBD/Metadata.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/pipeone.pm (unchanged)
Skip blib/lib/DBI/Const/GetInfo/ODBC.pm (unchanged)
Skip blib/lib/DBI/ProfileDumper/Apache.pm (unchanged)
Skip blib/lib/DBD/File/Roadmap.pod (unchanged)
Skip blib/arch/auto/DBI/Driver.xst (unchanged)
Skip blib/lib/DBD/File.pm (unchanged)
Skip blib/lib/DBI/Util/CacheMemory.pm (unchanged)
Skip blib/lib/DBD/NullP.pm (unchanged)
Skip blib/lib/DBI/ProfileSubs.pm (unchanged)
Skip blib/arch/auto/DBI/dbi_sql.h (unchanged)
Skip blib/lib/DBD/File/HowTo.pod (unchanged)
Skip blib/lib/DBD/Gofer.pm (unchanged)
Skip blib/arch/auto/DBI/dbivport.h (unchanged)
Skip blib/arch/auto/DBI/dbd_xsh.h (unchanged)
Skip blib/lib/DBI/DBD/SqlEngine/HowTo.pod (unchanged)
Skip blib/arch/auto/DBI/dbixs_rev.h (unchanged)
Skip blib/lib/DBD/Gofer/Transport/Base.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/corostream.pm (unchanged)
Skip blib/lib/DBI/FAQ.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/rush.pm (unchanged)
Skip blib/lib/DBI/SQL/Nano.pm (unchanged)
Skip blib/lib/DBI/Const/GetInfo/ANSI.pm (unchanged)
Skip blib/lib/DBI/Gofer/Request.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/stream.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/classic.pm (unchanged)
Skip blib/lib/DBI/Const/GetInfoReturn.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/Base.pm (unchanged)
Skip blib/lib/DBI.pm (unchanged)
Skip blib/lib/DBI/Gofer/Serializer/Storable.pm (unchanged)
Skip blib/lib/DBI/Gofer/Transport/stream.pm (unchanged)
Skip blib/lib/DBD/Sponge.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/pedantic.pm (unchanged)
Skip blib/lib/DBI/W32ODBC.pm (unchanged)
Skip blib/lib/DBI/DBD/SqlEngine/Developers.pod (unchanged)
Skip blib/lib/DBI/Gofer/Transport/pipeone.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/null.pm (unchanged)
Skip blib/lib/Bundle/DBI.pm (unchanged)
Skip blib/lib/DBD/File/Developers.pod (unchanged)
Skip blib/lib/DBI/Profile.pm (unchanged)
Skip blib/lib/DBI/ProfileDumper.pm (unchanged)
Skip blib/lib/DBI/ProxyServer.pm (unchanged)
Skip blib/lib/DBI/Gofer/Serializer/Base.pm (unchanged)
Skip blib/arch/auto/DBI/dbipport.h (unchanged)
Skip blib/lib/DBI/Gofer/Execute.pm (unchanged)
Skip blib/lib/DBI/DBD.pm (unchanged)
Skip blib/lib/DBI/DBD/SqlEngine.pm (unchanged)
Skip blib/lib/Win32/DBIODBC.pm (unchanged)
Skip blib/lib/DBI/PurePerl.pm (unchanged)
Skip blib/lib/DBD/ExampleP.pm (unchanged)
Skip blib/lib/DBI/ProfileData.pm (unchanged)
gcc-4 -c    -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3    -DVERSION=\"1.628\"  -DXS_VERSION=\"1.628\"  "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter DBI.c
DBI.c: 関数 'XS_DBD_____db_take_imp_data' 内:
DBI.xs:5086:16: 警告: 'mg' はこの関数内初期化されずに使用されるかもしれません [-Wmaybe-uninitialized]
DBI.xs:4999:12: 備考: 'mg' はここで定義されています
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.dll
g++-4  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector DBI.o  -o blib/arch/auto/DBI/DBI.dll  \
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14.dll    \

chmod 755 blib/arch/auto/DBI/DBI.dll
cp DBI.bs blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs
/usr/bin/perl.exe "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
cp dbiprof blib/script/dbiprof
/usr/bin/perl.exe -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/dbiprof
/usr/bin/perl.exe "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
cp dbiproxy blib/script/dbiproxy
/usr/bin/perl.exe -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/dbiproxy
/usr/bin/perl.exe "-Iblib/arch" "-Iblib/lib" dbilogstrip.PL dbilogstrip
Extracted dbilogstrip from dbilogstrip.PL with variable substitutions.
cp dbilogstrip blib/script/dbilogstrip
/usr/bin/perl.exe -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/dbilogstrip
Manifying blib/man1/dbiprof.1
Manifying blib/man1/dbiproxy.1
Manifying blib/man1/dbilogstrip.1
Manifying blib/man3/DBI.Gofer.Response.3pm
Manifying blib/man3/DBD.Proxy.3pm
Manifying blib/man3/DBI.Gofer.Transport.Base.3pm
Manifying blib/man3/DBD.DBM.3pm
Manifying blib/man3/DBI.Gofer.Serializer.DataDumper.3pm
Manifying blib/man3/DBI.Const.GetInfoType.3pm
Manifying blib/man3/DBI.DBD.Metadata.3pm
Manifying blib/man3/DBI.Const.GetInfo.ODBC.3pm
Manifying blib/man3/DBD.Gofer.Transport.pipeone.3pm
Manifying blib/man3/DBI.ProfileDumper.Apache.3pm
Manifying blib/man3/DBD.File.3pm
Manifying blib/man3/DBD.File.Roadmap.3pm
Manifying blib/man3/DBI.Util.CacheMemory.3pm
Manifying blib/man3/DBI.ProfileSubs.3pm
Manifying blib/man3/DBD.Gofer.3pm
Manifying blib/man3/DBD.File.HowTo.3pm
Manifying blib/man3/DBI.DBD.SqlEngine.HowTo.3pm
Manifying blib/man3/DBD.Gofer.Transport.Base.3pm
Manifying blib/man3/DBD.Gofer.Transport.corostream.3pm
Manifying blib/man3/DBI.FAQ.3pm
Manifying blib/man3/DBD.Gofer.Policy.rush.3pm
Manifying blib/man3/DBI.SQL.Nano.3pm
Manifying blib/man3/DBI.Gofer.Request.3pm
Manifying blib/man3/DBI.Const.GetInfo.ANSI.3pm
Manifying blib/man3/DBD.Gofer.Transport.stream.3pm
Manifying blib/man3/DBD.Gofer.Policy.classic.3pm
Manifying blib/man3/DBI.Gofer.Transport.stream.3pm
Manifying blib/man3/DBI.Gofer.Serializer.Storable.3pm
Manifying blib/man3/DBI.3pm
Manifying blib/man3/DBD.Gofer.Policy.Base.3pm
Manifying blib/man3/DBI.Const.GetInfoReturn.3pm
Manifying blib/man3/DBD.Sponge.3pm
Manifying blib/man3/DBD.Gofer.Policy.pedantic.3pm
Manifying blib/man3/DBI.Gofer.Transport.pipeone.3pm
Manifying blib/man3/DBI.DBD.SqlEngine.Developers.3pm
Manifying blib/man3/DBI.W32ODBC.3pm
Manifying blib/man3/DBD.Gofer.Transport.null.3pm
Manifying blib/man3/Bundle.DBI.3pm
Manifying blib/man3/DBD.File.Developers.3pm
Manifying blib/man3/DBI.Profile.3pm
Manifying blib/man3/DBI.ProfileDumper.3pm
Manifying blib/man3/DBI.Gofer.Serializer.Base.3pm
Manifying blib/man3/DBI.ProxyServer.3pm
Manifying blib/man3/DBI.Gofer.Execute.3pm
Manifying blib/man3/DBI.DBD.3pm
Manifying blib/man3/Win32.DBIODBC.3pm
Manifying blib/man3/DBI.DBD.SqlEngine.3pm
Manifying blib/man3/DBI.PurePerl.3pm
Manifying blib/man3/DBI.ProfileData.3pm
  TIMB/DBI-1.628.tar.gz
  /usr/bin/make -- OK

cpan[8]>
続いてforce install DBI

Manifying blib/man3/DBI.Gofer.Serializer.Storable.3pm
Manifying blib/man3/DBI.3pm
Manifying blib/man3/DBD.Gofer.Policy.Base.3pm
Manifying blib/man3/DBI.Const.GetInfoReturn.3pm
Manifying blib/man3/DBD.Sponge.3pm
Manifying blib/man3/DBD.Gofer.Policy.pedantic.3pm
Manifying blib/man3/DBI.Gofer.Transport.pipeone.3pm
Manifying blib/man3/DBI.DBD.SqlEngine.Developers.3pm
Manifying blib/man3/DBI.W32ODBC.3pm
Manifying blib/man3/DBD.Gofer.Transport.null.3pm
Manifying blib/man3/Bundle.DBI.3pm
Manifying blib/man3/DBD.File.Developers.3pm
Manifying blib/man3/DBI.Profile.3pm
Manifying blib/man3/DBI.ProfileDumper.3pm
Manifying blib/man3/DBI.Gofer.Serializer.Base.3pm
Manifying blib/man3/DBI.ProxyServer.3pm
Manifying blib/man3/DBI.Gofer.Execute.3pm
Manifying blib/man3/DBI.DBD.3pm
Manifying blib/man3/Win32.DBIODBC.3pm
Manifying blib/man3/DBI.DBD.SqlEngine.3pm
Manifying blib/man3/DBI.PurePerl.3pm
Manifying blib/man3/DBI.ProfileData.3pm
  TIMB/DBI-1.628.tar.gz
  /usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness
(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basics.t .................... ok
t/02dbidrv.t .................... ok
t/03handle.t .................... ok
t/04mods.t ...................... ok
t/05concathash.t ................ ok
t/06attrs.t ..................... ok
t/07kids.t ...................... ok
t/08keeperr.t ................... ok
t/09trace.t ..................... ok
t/10examp.t ..................... ok
t/11fetch.t ..................... ok
t/12quote.t ..................... ok
t/13taint.t ..................... ok
t/14utf8.t ...................... ok
t/15array.t ..................... ok
t/16destroy.t ................... ok
t/19fhtrace.t ................... ok
t/20meta.t ...................... ok
t/30subclass.t .................. ok
t/31methcache.t ................. ok
t/35thrclone.t .................. ok
t/40profile.t ................... ok
t/41prof_dump.t ................. ok
t/42prof_data.t ................. ok
t/43prof_env.t .................. ok
t/48dbi_dbd_sqlengine.t ......... ok
t/49dbd_file.t .................. ok
t/50dbm_simple.t ................ ok
t/51dbm_file.t .................. ok
t/52dbm_complex.t ............... skipped: DBI::SQL::Nano is being used
t/60preparse.t .................. ok
t/65transact.t .................. ok
t/70callbacks.t ................. ok
t/72childhandles.t .............. ok
t/80proxy.t ..................... skipped: modules required for proxy are probab
ly not installed (e.g., RPC/PlClient.pm)
t/85gofer.t ..................... ok
t/86gofer_fail.t ................ ok
t/87gofer_cache.t ............... ok
t/90sql_type_cast.t ............. ok
t/pod-coverage.t ................ skipped: Currently a developer-only test
t/pod.t ......................... ok
t/zvg_01basics.t ................ ok
t/zvg_02dbidrv.t ................ ok
t/zvg_03handle.t ................ ok
t/zvg_04mods.t .................. ok
t/zvg_05concathash.t ............ ok
t/zvg_06attrs.t ................. ok
t/zvg_07kids.t .................. ok
t/zvg_08keeperr.t ............... ok
t/zvg_09trace.t ................. ok
t/zvg_10examp.t ................. ok
t/zvg_11fetch.t ................. ok
t/zvg_12quote.t ................. ok
t/zvg_13taint.t ................. skipped: Taint attribute tests not functional
with DBI_AUTOPROXY
t/zvg_14utf8.t .................. ok
t/zvg_15array.t ................. ok
t/zvg_16destroy.t ............... ok
t/zvg_19fhtrace.t ............... ok
t/zvg_20meta.t .................. ok
t/zvg_30subclass.t .............. ok
t/zvg_31methcache.t ............. ok
t/zvg_35thrclone.t .............. ok
t/zvg_40profile.t ............... ok
t/zvg_41prof_dump.t ............. ok
t/zvg_42prof_data.t ............. ok
t/zvg_43prof_env.t .............. ok
t/zvg_48dbi_dbd_sqlengine.t ..... ok
t/zvg_49dbd_file.t .............. ok
t/zvg_50dbm_simple.t ............ ok
t/zvg_51dbm_file.t .............. ok
t/zvg_52dbm_complex.t ........... skipped: DBI::SQL::Nano is being used
t/zvg_60preparse.t .............. ok
t/zvg_65transact.t .............. skipped: Transactions not supported by DBD::Go
fer
t/zvg_70callbacks.t ............. ok
t/zvg_72childhandles.t .......... ok
t/zvg_80proxy.t ................. skipped: modules required for proxy are probab
ly not installed (e.g., RPC/PlClient.pm)
t/zvg_85gofer.t ................. ok
t/zvg_86gofer_fail.t ............ skipped: Gofer DBI_AUTOPROXY
t/zvg_87gofer_cache.t ........... skipped: Gofer DBI_AUTOPROXY
t/zvg_90sql_type_cast.t ......... ok
t/zvn_48dbi_dbd_sqlengine.t ..... ok
t/zvn_49dbd_file.t .............. ok
t/zvn_50dbm_simple.t ............ ok
t/zvn_51dbm_file.t .............. ok
t/zvn_52dbm_complex.t ........... skipped: DBI::SQL::Nano is being used
t/zvn_85gofer.t ................. ok
t/zvp_01basics.t ................ ok
t/zvp_02dbidrv.t ................ ok
t/zvp_03handle.t ................ ok
t/zvp_04mods.t .................. ok
t/zvp_05concathash.t ............ ok
t/zvp_06attrs.t ................. ok
t/zvp_07kids.t .................. skipped: $h->{Kids} attribute not supported fo
r DBI::PurePerl
t/zvp_08keeperr.t ............... ok
t/zvp_09trace.t ................. ok
t/zvp_10examp.t ................. ok
t/zvp_11fetch.t ................. ok
t/zvp_12quote.t ................. ok
t/zvp_13taint.t ................. skipped: Taint attributes not supported with D
BI::PurePerl
t/zvp_14utf8.t .................. ok
t/zvp_15array.t ................. ok
t/zvp_16destroy.t ............... ok
t/zvp_19fhtrace.t ............... ok
t/zvp_20meta.t .................. ok
t/zvp_30subclass.t .............. ok
t/zvp_31methcache.t ............. ok
t/zvp_35thrclone.t .............. ok
t/zvp_40profile.t ............... skipped: profiling not supported for DBI::Pure
Perl
t/zvp_41prof_dump.t ............. skipped: profiling not supported for DBI::Pure
Perl
t/zvp_42prof_data.t ............. skipped: profiling not supported for DBI::Pure
Perl
t/zvp_43prof_env.t .............. skipped: profiling not supported for DBI::Pure
Perl
t/zvp_48dbi_dbd_sqlengine.t ..... ok
t/zvp_49dbd_file.t .............. ok
t/zvp_50dbm_simple.t ............ ok
t/zvp_51dbm_file.t .............. ok
t/zvp_52dbm_complex.t ........... skipped: DBI::SQL::Nano is being used
t/zvp_60preparse.t .............. skipped: preparse not supported for DBI::PureP
erl
t/zvp_65transact.t .............. ok
t/zvp_70callbacks.t ............. skipped: $h->{Callbacks} attribute not support
ed for DBI::PurePerl
t/zvp_72childhandles.t .......... ok
t/zvp_80proxy.t ................. skipped: modules required for proxy are probab
ly not installed (e.g., RPC/PlClient.pm)
t/zvp_85gofer.t ................. ok
t/zvp_86gofer_fail.t ............ skipped: requires Callbacks which are not supp
orted with PurePerl
t/zvp_87gofer_cache.t ........... ok
t/zvp_90sql_type_cast.t ......... ok
t/zvxgn_48dbi_dbd_sqlengine.t ... ok
t/zvxgn_49dbd_file.t ............ ok
t/zvxgn_50dbm_simple.t .......... ok
t/zvxgn_51dbm_file.t ............ ok
t/zvxgn_52dbm_complex.t ......... skipped: DBI::SQL::Nano is being used
t/zvxgn_85gofer.t ............... ok
t/zvxgnp_48dbi_dbd_sqlengine.t .. ok
t/zvxgnp_49dbd_file.t ........... ok
t/zvxgnp_50dbm_simple.t ......... ok
t/zvxgnp_51dbm_file.t ........... ok
t/zvxgnp_52dbm_complex.t ........ skipped: DBI::SQL::Nano is being used
t/zvxgnp_85gofer.t .............. ok
t/zvxgp_01basics.t .............. ok
t/zvxgp_02dbidrv.t .............. ok
t/zvxgp_03handle.t .............. ok
t/zvxgp_04mods.t ................ ok
t/zvxgp_05concathash.t .......... ok
t/zvxgp_06attrs.t ............... ok
t/zvxgp_07kids.t ................ skipped: $h->{Kids} attribute not supported fo
r DBI::PurePerl
t/zvxgp_08keeperr.t ............. ok
t/zvxgp_09trace.t ............... ok
t/zvxgp_10examp.t ............... ok
t/zvxgp_11fetch.t ............... ok
t/zvxgp_12quote.t ............... ok
t/zvxgp_13taint.t ............... skipped: Taint attributes not supported with D
BI::PurePerl
t/zvxgp_14utf8.t ................ ok
t/zvxgp_15array.t ............... ok
t/zvxgp_16destroy.t ............. ok
t/zvxgp_19fhtrace.t ............. ok
t/zvxgp_20meta.t ................ ok
t/zvxgp_30subclass.t ............ ok
t/zvxgp_31methcache.t ........... ok
t/zvxgp_35thrclone.t ............ ok
t/zvxgp_40profile.t ............. skipped: profiling not supported for DBI::Pure
Perl
t/zvxgp_41prof_dump.t ........... skipped: profiling not supported for DBI::Pure
Perl
t/zvxgp_42prof_data.t ........... skipped: profiling not supported for DBI::Pure
Perl
t/zvxgp_43prof_env.t ............ skipped: profiling not supported for DBI::Pure
Perl
t/zvxgp_48dbi_dbd_sqlengine.t ... ok
t/zvxgp_49dbd_file.t ............ ok
t/zvxgp_50dbm_simple.t .......... ok
t/zvxgp_51dbm_file.t ............ ok
t/zvxgp_52dbm_complex.t ......... skipped: DBI::SQL::Nano is being used
t/zvxgp_60preparse.t ............ skipped: preparse not supported for DBI::PureP
erl
t/zvxgp_65transact.t ............ skipped: Transactions not supported by DBD::Go
fer
t/zvxgp_70callbacks.t ........... skipped: $h->{Callbacks} attribute not support
ed for DBI::PurePerl
t/zvxgp_72childhandles.t ........ ok
t/zvxgp_80proxy.t ............... skipped: modules required for proxy are probab
ly not installed (e.g., RPC/PlClient.pm)
t/zvxgp_85gofer.t ............... ok
t/zvxgp_86gofer_fail.t .......... skipped: requires Callbacks which are not supp
orted with PurePerl
t/zvxgp_87gofer_cache.t ......... skipped: Gofer DBI_AUTOPROXY
t/zvxgp_90sql_type_cast.t ....... ok
t/zvxnp_48dbi_dbd_sqlengine.t ... ok
t/zvxnp_49dbd_file.t ............ ok
t/zvxnp_50dbm_simple.t .......... ok
t/zvxnp_51dbm_file.t ............ ok
t/zvxnp_52dbm_complex.t ......... skipped: DBI::SQL::Nano is being used
t/zvxnp_85gofer.t ............... ok
All tests successful.
Files=182, Tests=8766, 241 wallclock secs ( 0.11 usr  0.31 sys + 147.32 cusr 79.
15 csys = 226.89 CPU)
Result: PASS
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-Iblib/lib" "-Iblib/arch" test.pl
test.pl
DBI test application $Revision$
Switch: DBI 1.628 by Tim Bunce, 1.628
Available Drivers: DBM, ExampleP, File, Gofer, Oracle, Proxy, Sponge
dbi:ExampleP:: testing 3 sets of 20 connections:
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
connect 20 and disconnect them, 3 times: 0.0156s / 60 = 0.0003s
Testing handle creation speed...
40000 NullP sth/s perl 5.014002 cygwin-thread-multi-64int (gcc 4.5.3 -O3) 0.0000
25s

test.pl done
  TIMB/DBI-1.628.tar.gz
  /usr/bin/make test -- OK
Running make install
Manifying blib/man1/dbilogstrip.1
Files found in blib/arch: installing files in blib/lib into architecture depende
nt library tree
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBI/DBI.
dll
chmod 755 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBI/DBI.d
ll
test -n "" || /bin/rebase -s /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-6
4int/auto/DBI/DBI.dll

The following DLLs couldn't be rebased because they were in use:
  /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/Term/ReadLine/G
nu/Gnu.dll
  /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/Digest/SHA/SHA.
dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/re/re.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Sys/Hostname/Hostname.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Storable/Storable.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Opcode/Opcode.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/List/Util/Util.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/IO/IO.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/File/Glob/Glob.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Fcntl/Fcntl.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Compress/Raw/Zlib/Zlib.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/B/B.dll
  /usr/bin/cygssp-0.dll
  /usr/bin/cygreadline7.dll
  /usr/bin/cygperl5_14.dll
  /usr/bin/cygncursesw-10.dll
  /usr/bin/cygncurses-10.dll
  /usr/bin/cygiconv-2.dll
  /usr/bin/cygintl-8.dll
  /usr/bin/cyggcc_s-1.dll
  /usr/bin/cygcrypt-0.dll
Appending installation info to /usr/lib/perl5/5.14/i686-cygwin-threads-64int/per
llocal.pod
  TIMB/DBI-1.628.tar.gz
  /usr/bin/make install  -- OK

cpan[2]>

お、DBIの導入はでけたみたいだ。
続いてDBD::Oracleの導入。

cpan[8]> install DBD::Oracle
Running install for module 'DBD::Oracle'
Running make for P/PY/PYTHIAN/DBD-Oracle-1.66.tar.gz
Fetching with LWP:
http://tux.rainside.sk/CPAN/authors/id/P/PY/PYTHIAN/DBD-Oracle-1.66.tar.gz
Fetching with LWP:
http://tux.rainside.sk/CPAN/authors/id/P/PY/PYTHIAN/CHECKSUMS
Checksum for /home/Administrator/.cpan/sources/authors/id/P/PY/PYTHIAN/DBD-Oracle-1.66.tar.gz ok

  CPAN.pm: Going to build P/PY/PYTHIAN/DBD-Oracle-1.66.tar.gz

Using DBI 1.623 (for perl 5.014002 on cygwin-thread-multi-64int) installed in /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/DBI/

Configuring DBD::Oracle for perl 5.014002 on cygwin (cygwin-thread-multi-64int)

Remember to actually *READ* the README file! Especially if you have any problems.

Installing on a cygwin, Ver#1.7
Using Oracle in C:/app/oracle/product/11.2.0/client_1
DEFINE _SQLPLUS_RELEASE = "1102000300" (CHAR)
Oracle version 11.2.0.3 (11.2)
Found oci directory
Using OCI directory 'oci'

client_version=11.2


DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112


Checking for functioning wait.ph


System: perl5.014002 cygwin_nt-5.1 winxp 1.7.15(0.26053) 2012-05-09 10:25 i686 cygwin
Compiler:   gcc-4 -O3 -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector
Linker:     /usr/bin/ld
Sysliblist:

Checking if your kit is complete...
Looks good
LD_RUN_PATH=C:/app/oracle/product/11.2.0/client_1/lib:C:/app/oracle/product/11.2.0/client_1/rdbms/lib
Using DBD::Oracle 1.66.
Using DBD::Oracle 1.66.
Using DBI 1.623 (for perl 5.014002 on cygwin-thread-multi-64int) installed in /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/DBI/
Writing Makefile for DBD::Oracle
Writing MYMETA.yml

***  If you have problems...
     read all the log printed above, and the README and README.help.txt files.
     (Of course, you have read README by now anyway, haven't you?)

cp lib/DBD/Oracle/Troubleshooting/Cygwin.pod blib/lib/DBD/Oracle/Troubleshooting/Cygwin.pod
cp lib/DBD/Oracle.pm blib/lib/DBD/Oracle.pm
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp lib/DBD/Oracle/Troubleshooting/Vms.pod blib/lib/DBD/Oracle/Troubleshooting/Vms.pod
cp lib/DBD/Oracle/Troubleshooting/Hpux.pod blib/lib/DBD/Oracle/Troubleshooting/Hpux.pod
cp lib/DBD/Oracle/Troubleshooting/Linux.pod blib/lib/DBD/Oracle/Troubleshooting/Linux.pod
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
cp lib/DBD/Oracle/Troubleshooting.pod blib/lib/DBD/Oracle/Troubleshooting.pod
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp lib/DBD/Oracle/Troubleshooting/Sun.pod blib/lib/DBD/Oracle/Troubleshooting/Sun.pod
cp lib/DBD/Oracle/Troubleshooting/Macos.pod blib/lib/DBD/Oracle/Troubleshooting/Macos.pod
cp lib/DBD/Oracle/Object.pm blib/lib/DBD/Oracle/Object.pm
cp lib/DBD/Oracle/Troubleshooting/Aix.pod blib/lib/DBD/Oracle/Troubleshooting/Aix.pod
cp lib/DBD/Oracle/Troubleshooting/Win64.pod blib/lib/DBD/Oracle/Troubleshooting/Win64.pod
cp lib/DBD/Oracle/Troubleshooting/Win32.pod blib/lib/DBD/Oracle/Troubleshooting/Win32.pod
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
/usr/bin/perl.exe -p -e "s/~DRIVER~/Oracle/g" /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/DBI/Driver.xst > Oracle.xsi
/usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.14/ExtUtils/typemap -typemap typemap  Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
gcc-4 -c  -IC:/app/oracle/product/11.2.0/client_1/oci/include -IC:/app/oracle/product/11.2.0/client_1/rdbms/demo -I/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/DBI  -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3    -DVERSION=\"1.66\"  -DXS_VERSION=\"1.66\"  "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 Oracle.c
gcc-4 -c  -IC:/app/oracle/product/11.2.0/client_1/oci/include -IC:/app/oracle/product/11.2.0/client_1/rdbms/demo -I/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/DBI  -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3    -DVERSION=\"1.66\"  -DXS_VERSION=\"1.66\"  "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c
dbdimp.c: 関数 'dbd_rebind_ph_xml' 内:
dbdimp.c:2876:17: 警告: 異なるサイズの整数からポインタへのキャストです [-Wint-to-pointer-cast]
gcc-4 -c  -IC:/app/oracle/product/11.2.0/client_1/oci/include -IC:/app/oracle/product/11.2.0/client_1/rdbms/demo -I/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/DBI  -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3    -DVERSION=\"1.66\"  -DXS_VERSION=\"1.66\"  "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 oci8.c
oci8.c: 関数 'ora_blob_read_mb_piece' 内:
oci8.c:1847:4: 警告: 書式 '%lu' は引数の型が 'long unsigned int' であると予期されますが、第 6 引数の型は 'ub4' です [-Wformat]
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.dll
LD_RUN_PATH="C:/app/oracle/product/11.2.0/client_1/lib:C:/app/oracle/product/11.2.0/client_1/rdbms/lib" g++-4  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector Oracle.o  dbdimp.o  oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.dll   \
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14.dll -L/home/Administrator/.cpan/build/DBD-Oracle-1.66-NWOUAl -loci     \

chmod 755 blib/arch/auto/DBD/Oracle/Oracle.dll
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
Manifying blib/man3/DBD.Oracle.Troubleshooting.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Cygwin.3pm
Manifying blib/man3/DBD.Oracle.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Sun.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Vms.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Hpux.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Macos.3pm
Manifying blib/man3/DBD.Oracle.Object.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Aix.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Linux.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Win64.3pm
Manifying blib/man3/DBD.Oracle.Troubleshooting.Win32.3pm
Manifying blib/man3/DBD.Oracle.GetInfo.3pm
  PYTHIAN/DBD-Oracle-1.66.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/000-report-versions-tiny.t .. #
t/000-report-versions-tiny.t .. 1/? #
# Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08
# perl: 5.014002 (wanted 5.006) on cygwin from /usr/bin/perl
#
# B                                             => 1.29       (want any version)
# Carp                                          => 1.20       (want any version)
# DBI                                           => 1.623      (want 1.51)
# Data::Dumper                                  => 2.130_02   (want any version)
# Devel::Peek                                   => 1.07       (want any version)
# DynaLoader                                    => 1.13       (want any version)
# Encode                                        => 2.42_01    (want any version)
# Exporter                                      => 5.64_03    (want any version)
# ExtUtils::MakeMaker                           => 6.57_05    (want 6.30)
# Math::BigInt                                  => 1.994      (want any version)
# Test::More                                    => 0.98       (want 0.88)
# Thread::Semaphore                             => 2.12       (want any version)
# lib                                           => 0.63       (want any version)
# strict                                        => 1.04       (want any version)
# utf8                                          => 1.09       (want any version)
# vars                                          => 1.02       (want any version)
# version                                       => 0.88       (want 0.9901)
# warnings                                      => 1.12       (want any version)
#
# Thanks for using my code.  I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve your problem.
#
t/000-report-versions-tiny.t .. ok
t/00versions.t ................ 1/2 # OCI client library version: 11.2.0.3
t/00versions.t ................ ok
t/01base.t .................... ok
t/10general.t ................. skipped: Unable to connect to Oracle
t/12impdata.t ................. skipped: Unable to connect to Oracle
t/14threads.t ................. skipped: Unable to connect to Oracle
t/15nls.t ..................... skipped: Unable to connect to Oracle
t/20select.t .................. skipped: Unable to connect to oracle
t/21nchar.t ................... skipped: Unable to connect to Oracle
t/22nchar_al32utf8.t .......... skipped: Unable to connect to Oracle
t/22nchar_utf8.t .............. skipped: Unable to connect to Oracle
t/23wide_db.t ................. skipped: Unable to connect to Oracle
t/23wide_db_8bit.t ............ skipped: Unable to connect to Oracle
t/23wide_db_al32utf8.t ........ skipped: Unable to connect to Oracle
t/24implicit_utf8.t ........... skipped: Unable to connect to Oracle
t/25plsql.t ................... skipped: Unable to connect to Oracle
t/26exe_array.t ............... skipped: Unable to connect to Oracle
t/28array_bind.t .............. skipped: Unable to connect to Oracle
t/30long.t .................... skipped: Unable to connect to Oracle
t/31lob.t ..................... skipped: Unable to connect to Oracle
t/31lob_extended.t ............ skipped: Unable to connect to Oracle
t/32xmltype.t ................. skipped: Unable to connect to Oracle
t/34pres_lobs.t ............... skipped: Unable to connect to Oracle
t/36lob_leak.t ................ skipped: Unable to connect to Oracle
t/38taf.t ..................... DBI connect('','scott/tiger',...) failed: ORA-12560: TNS: ツプツδ債トツコツδ仰・ツアツダツプツタツ・ツエツδ可ーツつェツ板ュツ青カツつオツ づ慊つオツつス (DBD ERROR: OCIServerAttach) at t/38taf.t line 19
t/38taf.t ..................... skipped: Unable to connect to Oracle
t/39attr.t .................... DBI connect('','scott/tiger',...) failed: ORA-12560: TNS: ツプツδ債トツコツδ仰・ツアツダツプツタツ・ツエツδ可ーツつェツ板ュツ青カツつオツ づ慊つオツつス (DBD ERROR: OCIServerAttach) at t/39attr.t line 33
t/39attr.t .................... skipped: Unable to connect to Oracle
t/40ph_type.t ................. skipped: Unable to connect to Oracle
t/50cursor.t .................. skipped: Unable to connect to Oracle
t/51scroll.t .................. skipped: Unable to connect to Oracle
t/55nested.t .................. skipped: Unable to connect to Oracle
t/56embbeded.t ................ skipped: Unable to connect to Oracle
t/58object.t .................. skipped: Unable to connect to Oracle
t/60reauth.t .................. skipped: ORACLE_USERID_2 not defined.
t/70meta.t .................... skipped: Unable to connect to Oracle
t/80ora_charset.t ............. skipped: Unable to connect to Oracle
t/rt13865.t ................... skipped: can't connect to database
t/rt74753-utf8-encoded.t ...... skipped: unable to connect to Oracle database
t/rt85886.t ................... skipped: unable to connect to Oracle database
All tests successful.
Files=38, Tests=9, 23 wallclock secs ( 0.13 usr  0.27 sys +  7.26 cusr  5.16 csys = 12.80 CPU)
Result: PASS
  PYTHIAN/DBD-Oracle-1.66.tar.gz
  /usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/dbdimp.h
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/mk.pm
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/ocitrace.h
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/Oracle.bs
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/Oracle.dll
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/Oracle.h
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle.pm
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/GetInfo.pm
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Object.pm
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Aix.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Cygwin.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Hpux.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Linux.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Macos.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Sun.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Vms.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Win32.pod
Installing /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/DBD/Oracle/Troubleshooting/Win64.pod
Installing /usr/share/man/man3/DBD.Oracle.3pm
Installing /usr/share/man/man3/DBD.Oracle.GetInfo.3pm
Installing /usr/share/man/man3/DBD.Oracle.Object.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Aix.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Cygwin.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Hpux.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Linux.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Macos.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Sun.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Vms.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Win32.3pm
Installing /usr/share/man/man3/DBD.Oracle.Troubleshooting.Win64.3pm
chmod 755 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/Oracle.dll
test -n "" || /bin/rebase -s /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/DBD/Oracle/Oracle.dll

The following DLLs couldn't be rebased because they were in use:
  /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/Term/ReadLine/Gnu/Gnu.dll
  /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/HTML/Parser/Parser.dll
  /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/Digest/SHA/SHA.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/re/re.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Time/HiRes/HiRes.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Sys/Hostname/Hostname.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Storable/Storable.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Socket/Socket.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/POSIX/POSIX.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Opcode/Opcode.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/List/Util/Util.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/IO/IO.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/File/Glob/Glob.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Fcntl/Fcntl.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/Compress/Raw/Zlib/Zlib.dll
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/auto/B/B.dll
  /usr/bin/cygreadline7.dll
  /usr/bin/cygssp-0.dll
  /usr/bin/cygperl5_14.dll
  /usr/bin/cygncursesw-10.dll
  /usr/bin/cygncurses-10.dll
  /usr/bin/cygintl-8.dll
  /usr/bin/cygiconv-2.dll
  /usr/bin/cyggcc_s-1.dll
  /usr/bin/cygcrypt-0.dll
Appending installation info to /usr/lib/perl5/5.14/i686-cygwin-threads-64int/perllocal.pod
  PYTHIAN/DBD-Oracle-1.66.tar.gz
  /usr/bin/make install  -- OK

cpan[9]>
お、これもでけた。

#!/usr/bin/perl

use DBI;

$dbhost="hoge0";
$dbh = DBI->connect("dbi:Oracle:mysid", "user01", "pass01") or die "Unale to connect to $dbname: $DBI::errstr\n";

$sth=$dbh->prepare("select * from tab");
$sth->execute;

my($tname);
$rv = $sth->bind_columns(\$tname);
while($sth->fetch) {
        print "$tname ...\n";
}

#$dbh->commit;
$dbh->disconnect;

環境変数を以下のように設定

ORACLE_HOME=C:\app\oracle\product\11.2.0\client_1
NLS_LANG=Japanese_JAPAN.JA16SJISTILDE
LANG=ja_JP.SJIS
日本語も問題なく表示される。

投稿されたコメント:

コメント
コメントは無効になっています。