Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: CPAN tests failing

by stevieb (Abbot)
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 +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 +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 :)

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967974]
[marto]: glad mine can't do this
[choroba]: sell to whom? Burglars?
[marto]: think targeted ads
[marto]: "your house is so big, consider product XYZ", "You clean a lot, consider product ABC"
Discipulus your house is so small, accept dollars from nigeria

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-07-26 11:59 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (390 votes). Check out past polls.