Subject: | DBD-SQLite is needed into PREREQ_PM. |
Hi.
I encountered problem when installing Data-Session-1.02 into perl-5.12.2
on my linux-box. I think PREREQ_PM needs DBD-SQLite.
Please look following.
### Before installing DBD-SQLite ###
Building and testing Data-Session-1.02
Building Data-Session
# Test: File.1. DSN: dbi:File:. ID generator: AutoIncrement. Serializer:
DataDumper
# type: driver:File;id:AutoIncrement;serialize:DataDumper
# id 1: 1002
# type: driver:File;id:AutoIncrement;serialize:DataDumper
# type: driver:File;id:AutoIncrement;serialize:DataDumper
# type: driver:File;id:AutoIncrement;serialize:DataDumper
# type: driver:File;id:AutoIncrement;serialize:DataDumper
# type: driver:File;id:AutoIncrement;serialize:DataDumper
### SNIP ###
# Test: File.1. DSN: dbi:File:. ID generator: UUID36. Serializer: YAML
# type: driver:File;id:UUID36;serialize:YAML
# id 1: E89D7636-0F09-11E0-837B-29DE15C14D9C
# type: driver:File;id:UUID36;serialize:YAML
# type: driver:File;id:UUID36;serialize:YAML
# type: driver:File;id:UUID36;serialize:YAML
# type: driver:File;id:UUID36;serialize:YAML
# type: driver:File;id:UUID36;serialize:YAML
# Test: SQLite.1. DSN: dbi:SQLite:dbname=/tmp/sessions.sqlite. ID
generator: AutoIncrement. Serializer: DataDumper
# Child (driver:SQLite;id:AutoIncrement;serialize:DataDumper) exited
without calling finalize()
Bailout called. Further testing stopped: install_driver(SQLite)
failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: t
/home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/lib
/home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/arch
/home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-
linux /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2
/home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/x86_64-linux
/home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2 .) at (eval 84)
line 3.
# Failed test 'driver:SQLite;id:AutoIncrement;serialize:DataDumper'
# at /home/yt/perl5/perlbrew/perls/perl-
5.12.2/lib/site_perl/5.12.2/Try/Tiny.pm line 67.
FAILED--Further testing stopped: install_driver(SQLite) failed: Can't
locate DBD/SQLite.pm in @INC (@INC contains: t
/home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/lib
/home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/arch
/home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-
linux /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2
/home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/x86_64-linux
/home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2 .) at (eval 84)
line 3.
-> FAIL Installing Data::Session failed. See /home/yt/.cpanm/build.log
for details.
Expiring 13 work directories.
### After installed DBD-SQLite ###
Building and testing Data-Session-1.02
Building Data-Session
# Test: File.1. DSN: dbi:File:. ID generator: AutoIncrement. Serializer:
DataDumper
### SNIP ###
# DSN name: SQLite.1. DSN: dbi:SQLite:dbname=/tmp/sessions.sqlite. ID
generator: MD5. Serializer: DataDumper
# type: driver:SQLite;id:MD5;serialize:DataDumper
# id1: a1ab5e158d6e16abc8c22d1d9c45b8b1
# type: driver:SQLite;id:MD5;serialize:DataDumper
# type: driver:SQLite;id:MD5;serialize:DataDumper
# type: driver:SQLite;id:MD5;serialize:DataDumper
# type: driver:SQLite;id:MD5;serialize:DataDumper
# 1: Recovered known id a13923e994085fe959aff2e7c0482a8a from traverse
# 2: Recovered known id 3e50ecad3cde258d27b06f7d5ccefc17 from traverse
# 3: Recovered known id e8df0fbe1ca896cc8e55dae70eba41c4 from traverse
# 4: Recovered known id 1d85cdc42117f450002d6523a2fe3e8a from traverse
t/traverse.t .. ok
All tests successful.
Files=3, Tests=126, 7 wallclock secs ( 0.22 usr 0.05 sys + 1.99 cusr
0.29 csys = 2.55 CPU)
Result: PASS
--
yturtle(Satoshi Azuma) <ytnobody@gmail.com>