LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2007, 09:15 PM   #1
unixshell101
Member
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 86

Rep: Reputation: 15
Question 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:B_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?
 
Old 07-05-2007, 04:14 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
From http://search.cpan.org/~cdent/Purple...rple/Client.pm it looks like you need to have SQLite installed.
--- rod.
 
Old 07-06-2007, 11:54 AM   #3
unixshell101
Member
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 86

Original Poster
Rep: Reputation: 15
What type of SQLIte?
 
Old 07-06-2007, 12:25 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
Old 07-06-2007, 06:56 PM   #5
unixshell101
Member
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 86

Original Poster
Rep: Reputation: 15
I not sure what type i need there so many of them.
 
Old 07-06-2007, 10:45 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by unixshell101
I not sure what type i need there so many of them.
One type coming in several versions? There's only
one
SQLite....


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPAN mirrors tommytomato Linux - Software 2 10-07-2006 03:55 AM
CPAN as root? LocoMojo Linux - Software 2 01-19-2006 07:27 PM
How do I install cpan? abefroman Linux - Software 1 11-16-2005 11:28 PM
CPAN Problem mesh2005 Linux - Networking 7 10-25-2005 08:36 AM
How to Reconfigure CPAN amer_58 Linux - Newbie 1 04-19-2005 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration