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...