Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: CPAN tests failing

by stevieb (Deacon)
on Apr 29, 2012 at 22:06 UTC ( #967974=note: print w/ replies, xml ) Need Help??


in reply to CPAN tests failing

ok bro... a little late in the making, but as promised, here's what I had to do to install your module successfully on a pristine Ubuntu 11.10 machine:

1 mkdir devel 2 cd devel 3 wget http://search.cpan.org/CPAN/authors/id/R/RF/RFREIMUTH/Rand +omJungle-0.04.tar.gz 4 tar -xzvf RandomJungle-0.04.tar.gz 5 cd RandomJungle-0.04/ 6 perl Makefile.PL 7 make 8 make test *** expected errors due to deps 9 sudo perl -MCPAN -e 'install Test::Warn' 10 make test *** more expected errors 12 sudo perl -MCPAN -e 'install Devel::StackTrace' 13 make test *** again, expected errors 14 sudo perl -MCPAN -e 'install DBM::Deep' 15 sudo perl -MCPAN -e 'install XML::Twig' *** doa 16 sudo perl -MCPAN -e 'force install XML::Twig' *** force didn't work, so I did some research, but not before manually testing things on my own... 17 cd .. 18 wget http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Pars +er-2.41.tar.gz 19 tar -xzvf XML-Parser-2.41.tar.gz 20 cd XML-Parser-2.41/ 23 make *** with another failure here, I resorted to good ol' google.

Ironically, it was this PerlMonks post that sent me in the right direction, then I continued...

26 sudo apt-get install libexpat1-dev 27 make 28 sudo perl -MCPAN -e 'install XML::Twig' *** success with XML::Twig!! 29 cd .. 30 cd RandomJungle-0.04/ 31 make test 32* 33* sudo make install *** and all is good :)

From what I can tell, you have all your bases covered :)


Comment on Re: CPAN tests failing
Select or Download Code
Re^2: CPAN tests failing
by bobf (Monsignor) on Apr 30, 2012 at 14:15 UTC

    Very cool. Thanks for the detailed notes. I wonder if, based on the hoops you had to jump through, I should create a bundle that includes the dependencies. Are there guidelines for when/how to do that?

    CPAN testing seems to be going well: 47+ reports in, all passed. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967974]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2015-07-02 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (34 votes), past polls