Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.

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
Domain Nodelet?
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 taking refuge in the Monastery: (4)
As of 2022-09-29 08:06 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (125 votes). Check out past polls.