Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: cpan error messages

by Roger (Parson)
on Sep 03, 2005 at 07:58 UTC ( #488881=note: print w/ replies, xml ) Need Help??

in reply to cpan error messages

I will normally go to the cpan build directory, usually ~/.cpan/build/, change to the directory for the particular module I am building, and do another build under the directory with the command: make 2>&1 | tee build.log | more.

This way, I can build the package, redirect STDERR to STDOUT (so I can capture all build messages), capture the build messages in a build.log file, while inspecting the output page by page with more.

Comment on Re: cpan error messages
Select or Download Code
Replies are listed 'Best First'.
Re^2: cpan error messages
by merlyn (Sage) on Sep 03, 2005 at 12:49 UTC
    I find the "look Module::Name" command extremely valuable, if used within the same session, because it doesn't reset the directory.

    So when I hit an error, and want to poke around, I hit uparrow, change "install" to "look", and there I am in the build directory already.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

Re^2: cpan error messages
by spiritway (Vicar) on Sep 03, 2005 at 08:01 UTC

    Thank you, Roger. I do believe you've hit it right on the head. I appreciate it...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-11-25 04:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (670 votes), past polls