[Catalyst] Re: Module::Install and prerequisites for BookDB example
Kevin Old
kevinold at gmail.com
Thu Dec 29 02:24:22 CET 2005
Here's an example of what happens with Net::Amazon
[kevin at localhost BookDB]$ perl Makefile.PL
include inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Include.pm
include inc/ExtUtils/AutoInstall.pm
include inc/Module/Install/Catalyst.pm
include inc/Module/Install/Scripts.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/AutoInstall.pm
*** ExtUtils::AutoInstall version 0.63
*** Checking for dependencies...
[Core Features]
- Catalyst ...loaded. (5.61 >= 5.60)
- Catalyst::View::TT ...loaded. (0.12)
- Catalyst::Model::CDBI ...loaded. (0.08)
- Template::Plugin::Class ...loaded. (0.12)
- Net::Amazon ...missing.
- Catalyst::Plugin::DefaultEnd ...loaded. (0.03)
- Catalyst::Plugin::FillInForm ...loaded. (0.06)
- Data::FormValidator ...loaded. (4.01)
- Catalyst::Plugin::FormValidator ...loaded. (0.02)
==> Auto-install the 1 mandatory module(s) from CPAN? [y]
*** Dependencies will be installed the next time you type 'make'.
(You may need to do that as the 'root' user.)
*** ExtUtils::AutoInstall configuration finished.
include inc/Module/Install/WriteAll.pm
Writing META.yml
at /usr/lib/perl5/site_perl/5.8.6/Module/Install/WriteAll.pm line 15
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Warning: prerequisite Net::Amazon 0 not found.
at /usr/lib/perl5/site_perl/5.8.6/Module/Install/Makefile.pm line 93
Writing Makefile for BookDB
[kevin at localhost BookDB]$ sudo make
/usr/bin/perl -Iinc Makefile.PL --config= --installdeps=Net::Amazon,0
include inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Include.pm
include inc/ExtUtils/AutoInstall.pm
include inc/Module/Install/Catalyst.pm
include inc/Module/Install/Scripts.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/AutoInstall.pm
*** Installing dependencies...
*** Installing Net::Amazon...
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 27 Dec 2005 21:10:46 GMT
Running install for module Net::Amazon
Running make for M/MS/MSCHILLI/Net-Amazon-0.34.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.duke.edu/pub/perl/authors/id/M/MS/MSCHILLI/Net-Amazon-0.34.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
ftp://ftp.duke.edu/pub/perl/authors/id/M/MS/MSCHILLI/CHECKSUMS
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/M/MS/MSCHILLI/Net-Amazon-0.34.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/Test-Pod-Coverage-1.06 (10.3>10.0 MB)
Deleting from cache: /root/.cpan/build/SQL-Abstract-1.20 (10.2>10.0 MB)
Net-Amazon-0.34/
Net-Amazon-0.34/lib/
Net-Amazon-0.34/lib/Net/
Net-Amazon-0.34/lib/Net/Amazon/
Net-Amazon-0.34/lib/Net/Amazon/Response/
Net-Amazon-0.34/lib/Net/Amazon/Response/Exchange.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/BrowseNode.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Blended.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Artist.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/UPC.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Keyword.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Seller.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Similar.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Wishlist.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Power.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/ASIN.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/Manufacturer.pm
Net-Amazon-0.34/lib/Net/Amazon/Response/TextStream.pm
Net-Amazon-0.34/lib/Net/Amazon/Attribute/
Net-Amazon-0.34/lib/Net/Amazon/Attribute/Review.pm
Net-Amazon-0.34/lib/Net/Amazon/Attribute/ReviewSet.pm
Net-Amazon-0.34/lib/Net/Amazon/Property/
Net-Amazon-0.34/lib/Net/Amazon/Property/DVD.pm
Net-Amazon-0.34/lib/Net/Amazon/Property/Book.pm
Net-Amazon-0.34/lib/Net/Amazon/Property/Music.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/
Net-Amazon-0.34/lib/Net/Amazon/Request/BrowseNode.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Similar.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Power.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Artist.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/UPC.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/TextStream.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Blended.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Exchange.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Keyword.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/ASIN.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Wishlist.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Seller.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Manufacturer.pm
Net-Amazon-0.34/lib/Net/Amazon/Request/Sort.pm
Net-Amazon-0.34/lib/Net/Amazon/Request.pm
Net-Amazon-0.34/lib/Net/Amazon/Result/
Net-Amazon-0.34/lib/Net/Amazon/Result/Seller.pm
Net-Amazon-0.34/lib/Net/Amazon/Result/Seller/
Net-Amazon-0.34/lib/Net/Amazon/Result/Seller/Listing.pm
Net-Amazon-0.34/lib/Net/Amazon/Response.pm
Net-Amazon-0.34/lib/Net/Amazon/Property.pm
Net-Amazon-0.34/lib/Net/Amazon.pm
Net-Amazon-0.34/eg/
Net-Amazon-0.34/eg/similar2
Net-Amazon-0.34/eg/upc
Net-Amazon-0.34/eg/reviews
Net-Amazon-0.34/eg/blended.pl
Net-Amazon-0.34/eg/cheapo
Net-Amazon-0.34/eg/sim
Net-Amazon-0.34/eg/cd_fetch
Net-Amazon-0.34/eg/wishlist
Net-Amazon-0.34/eg/rate_limit
Net-Amazon-0.34/eg/heavy
Net-Amazon-0.34/eg/asin-de
Net-Amazon-0.34/eg/browse
Net-Amazon-0.34/eg/maxauthors
Net-Amazon-0.34/eg/exchange
Net-Amazon-0.34/eg/asin_fetch
Net-Amazon-0.34/eg/keyword
Net-Amazon-0.34/eg/dejazz
Net-Amazon-0.34/eg/seller
Net-Amazon-0.34/eg/similar
Net-Amazon-0.34/eg/asin_dvd
Net-Amazon-0.34/eg/textstream
Net-Amazon-0.34/eg/asin_img
Net-Amazon-0.34/eg/asin_cache
Net-Amazon-0.34/eg/manufacturer
Net-Amazon-0.34/eg/artist
Net-Amazon-0.34/eg/asin_mult
Net-Amazon-0.34/eg/power
Net-Amazon-0.34/eg/asin_offerall
Net-Amazon-0.34/eg/asin
Net-Amazon-0.34/t/
Net-Amazon-0.34/t/init.pl
Net-Amazon-0.34/t/canned/
Net-Amazon-0.34/t/canned/power.xml
Net-Amazon-0.34/t/canned/reviews.xml
Net-Amazon-0.34/t/canned/exchange.xml
Net-Amazon-0.34/t/canned/asin_cdm.xml
Net-Amazon-0.34/t/canned/asin_mua.xml
Net-Amazon-0.34/t/canned/wishlist10_1.xml
Net-Amazon-0.34/t/canned/keyword.xml
Net-Amazon-0.34/t/canned/asin_pp.xml
Net-Amazon-0.34/t/canned/power_sorted.xml
Net-Amazon-0.34/t/canned/manufacturer.xml
Net-Amazon-0.34/t/canned/upc_zwan.xml
Net-Amazon-0.34/t/canned/wishlist10_2.xml
Net-Amazon-0.34/t/canned/browse.xml
Net-Amazon-0.34/t/canned/artist.xml
Net-Amazon-0.34/t/canned/seller.xml
Net-Amazon-0.34/t/canned/dvd.xml
Net-Amazon-0.34/t/canned/asin_cd.xml
Net-Amazon-0.34/t/canned/asin_err.xml
Net-Amazon-0.34/t/canned/blendedm.xml
Net-Amazon-0.34/t/canned/wishlist1.xml
Net-Amazon-0.34/t/canned/blended1.xml
Net-Amazon-0.34/t/canned/locale.xml
Net-Amazon-0.34/t/canned/textstream.xml
Net-Amazon-0.34/t/canned/power_empty.xml
Net-Amazon-0.34/t/003UPC.t
Net-Amazon-0.34/t/014Constructors.t
Net-Amazon-0.34/t/005Power.t
Net-Amazon-0.34/t/010Artist.t
Net-Amazon-0.34/t/011Locale.t
Net-Amazon-0.34/t/007Manufacturer.t
Net-Amazon-0.34/t/001ASIN.t
Net-Amazon-0.34/t/012Keyword.t
Net-Amazon-0.34/t/004Reviews.t
Net-Amazon-0.34/t/015Exchange.t
Net-Amazon-0.34/t/009Blended.t
Net-Amazon-0.34/t/013Seller.t
Net-Amazon-0.34/t/006Browse.t
Net-Amazon-0.34/t/002Wishlist.t
Net-Amazon-0.34/t/008Textstream.t
Net-Amazon-0.34/Changes
Net-Amazon-0.34/MANIFEST
Net-Amazon-0.34/README
Net-Amazon-0.34/adm/
Net-Amazon-0.34/adm/podok
Net-Amazon-0.34/META.yml
Net-Amazon-0.34/MANIFEST.SKIP
Net-Amazon-0.34/Makefile.PL
CPAN.pm: Going to build M/MS/MSCHILLI/Net-Amazon-0.34.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite Log::Log4perl 0.3 not found.
Writing Makefile for Net::Amazon
---- Unsatisfied dependencies detected during
[M/MS/MSCHILLI/Net-Amazon-0.34.tar.gz] -----
Log::Log4perl
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
*** Net::Amazon installation failed.
*** ExtUtils::AutoInstall installation finished.
cp script/bookdb_cgi.pl blib/script/bookdb_cgi.pl
/usr/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/bookdb_cgi.pl
cp script/bookdb_server.pl blib/script/bookdb_server.pl
/usr/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/bookdb_server.pl
cp script/bookdb_create.pl blib/script/bookdb_create.pl
/usr/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/bookdb_create.pl
cp script/bookdb_fastcgi.pl blib/script/bookdb_fastcgi.pl
/usr/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/bookdb_fastcgi.pl
cp script/bookdb_test.pl blib/script/bookdb_test.pl
/usr/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/bookdb_test.pl
Manifying blib/man1/bookdb_cgi.pl.1
Manifying blib/man1/bookdb_server.pl.1
Manifying blib/man1/bookdb_create.pl.1
Manifying blib/man1/bookdb_fastcgi.pl.1
Manifying blib/man1/bookdb_test.pl.1
Manifying blib/man3/BookDB::M::BookDB::Format.3pm
Manifying blib/man3/BookDB::M::BookDB::Book.3pm
Manifying blib/man3/BookDB::C::Book.3pm
Manifying blib/man3/BookDB::M::BookDB.3pm
Manifying blib/man3/BookDB::M::BookDB::Genre.3pm
Manifying blib/man3/BookDB::V::TT.3pm
Manifying blib/man3/BookDB.3pm
Manifying blib/man3/BookDB::C::Borrower.3pm
Manifying blib/man3/BookDB::M::BookDB::Borrower.3pm
[kevin at localhost BookDB]$
[kevin at localhost BookDB]$ perl -MNet::Amazon
Can't locate Net/Amazon.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 .).
BEGIN failed--compilation aborted.
--
Kevin Old
kevinold at gmail.com
More information about the Catalyst
mailing list