cpan help
[root@localhost perlsyntax]# cpan install Purple
It looks like you specified 'install' as an argument to cpan(1). This script is not the CPAN.pm prompt and doesn't understand the same commands. In fact, doesn't require the extra typing. You probably just want to list the modules you want to install: cpan Purple See the documentation for more details on using this script. [root@localhost perlsyntax]# cpan Purple CPAN: File::HomeDir loaded ok (v0.65) CPAN: Storable loaded ok (v2.16) Going to read /root/.cpan/Metadata Database was generated on Tue, 03 Jul 2007 22:50:43 GMT Running install for module 'Purple' Running make for C/CD/CDENT/Purple/Purple-0.9.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.005) Checksum for /root/.cpan/sources/authors/id/C/CD/CDENT/Purple/Purple-0.9.tar.gz ok Purple-0.9/ Purple-0.9/Changes Purple-0.9/CREDITS Purple-0.9/lib/ Purple-0.9/lib/Purple/ Purple-0.9/lib/Purple/Client.pm Purple-0.9/lib/Purple/DB_File.pm Purple-0.9/lib/Purple/Sequence.pm Purple-0.9/lib/Purple/Server/ Purple-0.9/lib/Purple/Server/REST.pm Purple-0.9/lib/Purple/Server.pm Purple-0.9/lib/Purple/SQLite.pm Purple-0.9/lib/Purple.pm Purple-0.9/Makefile.PL Purple-0.9/MANIFEST Purple-0.9/META.yml Purple-0.9/README Purple-0.9/t/ Purple-0.9/t/00-load.t Purple-0.9/t/api.t Purple-0.9/t/client.t Purple-0.9/t/pod-coverage.t Purple-0.9/t/pod.t Purple-0.9/TODO CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build C/CD/CDENT/Purple/Purple-0.9.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Purple CPAN: YAML loaded ok (v0.65) cp lib/Purple/DB_File.pm blib/lib/Purple/DB_File.pm cp lib/Purple/Server/REST.pm blib/lib/Purple/Server/REST.pm cp lib/Purple/Client.pm blib/lib/Purple/Client.pm cp lib/Purple.pm blib/lib/Purple.pm cp lib/Purple/Server.pm blib/lib/Purple/Server.pm cp lib/Purple/SQLite.pm blib/lib/Purple/SQLite.pm cp lib/Purple/Sequence.pm blib/lib/Purple/Sequence.pm Manifying blib/man3/Purple::DB_File.3pm Manifying blib/man3/Purple::Server::REST.3pm Manifying blib/man3/Purple::Client.3pm Manifying blib/man3/Purple::SQLite.3pm Manifying blib/man3/Purple::Server.3pm Manifying blib/man3/Purple.3pm Manifying blib/man3/Purple::Sequence.3pm CDENT/Purple/Purple-0.9.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.........# Testing Purple 0.9, Perl 5.008008, /usr/bin/perl t/00-load.........ok t/api.............ok t/client..........ok 1/10500 Can't read entity body: Connection reset by peer at /root/.cpan/build/Purple-0.9-FIcF7E/blib/lib/Purple/Client.pm line 105, <DATA> line 16. # Looks like you planned 10 tests but only ran 3. t/client..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-10 Failed 7/10 tests, 30.00% okay t/pod-coverage....ok t/pod.............skipped all skipped: Test::Pod 1.14 required for testing POD Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/client.t 255 65280 10 14 4-10 1 test skipped. Failed 1/5 test scripts. 7/188 subtests failed. Files=5, Tests=188, 2 wallclock secs ( 1.26 cusr + 0.39 csys = 1.65 CPU) Failed 1/5 test programs. 7/188 subtests failed. make: *** [test_dynamic] Error 255 CDENT/Purple/Purple-0.9.tar.gz /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force I not sure what this error mean and i not sure how to fix it on cpan? |
From http://search.cpan.org/~cdent/Purple...rple/Client.pm it looks like you need to have SQLite installed.
--- rod. |
What type of SQLIte?
|
Is there more than one type? I don't do SQLite. I assumed you must if you are using a perl module that requires it.
--- rod. |
I not sure what type i need there so many of them.
|
Quote:
one SQLite.... Cheers, Tink |
All times are GMT -5. The time now is 05:11 AM. |