Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: cpan error messages

by Roger (Parson)
on Sep 03, 2005 at 07:58 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-19 03:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found