in reply to Where does CPAN store its build directories and logs under cygwin?

G'day Special_K,

On my Cygwin installation, I believe the directory to which you're referring is ~/.cpan/build. When running cpan, o conf build_dir reports this directory. I installed Dancer2 (v0.300004) yesterday; I see a Dancer2-0.300004-0 directory in which there's Makefile.PL and friends.

If you just run o conf, you'll see all options; possibly some which are closer to what you're currently looking for, or perhaps useful for future reference (e.g. cpan_home, keep_source_where, and so on).

Take a look at "CPAN: CONFIGURATION" for more information about the terse listing you get from o conf.

— Ken

Replies are listed 'Best First'.
Re^2: Where does CPAN store its build directories and logs under cygwin?
by Special_K (Pilgrim) on Jan 07, 2021 at 16:46 UTC
    I do have the build directory, found here on my setup: /home/user/.local/share/.cpan/build It contains a folder for each attempted install of a module, as yours does. These folders do not contain any build logs, however. Do you know where the build logs are saved in your configuration? I'll have to spend some more time looking at the CPAN options (and comparing them to their values on my Linux machine) to see which one(s) might be relevant to my question.
      Do you know where the build logs are saved in your configuration?

      As a lazy bloke I would run cpan under strace capturing open() system calls and inspect the resulting logfile:

      $ strace -s4096 -o cpantrace.log -e open cpan $args

      That would give me a clue where which files are written.

      perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

      I ran find ~ -name "build.log": no results returned.

      I've just noticed the "EDIT:" in your OP. It looks like you have your answer.

      For future reference, I get notified if you reply to one of my posts; I do not get a notification when you update one of your posts.

      — Ken