Přeskočit na obsah

Perl/Databáze/DBIx/problémy

Z Wikiverzity
< Perl‎ | Databáze‎ | DBIx

Moduly[editovat]

DBIx::Cookbook[editovat]

Při instalaci

DBIx::Cookbook

dostanu hlášku

 CPAN: Storable loaded ok (v2.27)
Reading '/home/petr/.cpan/Metadata'
  Database was generated on Sat, 16 Nov 2013 07:07:48 GMT
Running install for module 'DBIx::Cookbook'
Running make for T/TB/TBONE/DBIx-Cookbook-0.09.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
CPAN: Compress::Zlib loaded ok (v2.033)
Checksum for /home/petr/.cpan/sources/authors/id/T/TB/TBONE/DBIx-Cookbook-0.09.tar.gz ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.112150)

  CPAN.pm: Building T/TB/TBONE/DBIx-Cookbook-0.09.tar.gz

Can't locate inc/Module/Install.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
CPAN: YAML loaded ok (v0.77)
  TBONE/DBIx-Cookbook-0.09.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites

Najdu

Zkusím

cpan Module::Install

To pomohlo, nainstalovalo se mi to, ale skončilo to hláškou:

./etc/install_sakila.pl
make: ./etc/install_sakila.pl: Command not found
make: *** [sakila] Error 127
  TBONE/DBIx-Cookbook-0.09.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

To samé jsem našel na:

S tou sakilou už kdysi byly nějaké problémy, matně vzpomínám. Zatím to ignoruji, ale:

perldoc DBIx::Cookbook
No documentation found for "DBIx::Cookbook".