On Wed, Mar 4, 2009 at 7:22 PM, Zefram <[email protected]> wrote:
> I reckon I ought to be using the more robust ->have_c_compiler method
Probably a good idea.
> problem in its file handling. It calls ExtUtils::CBuilder->have_compiler,
> which sticks its test files in a fixed location, /tmp/compilet.{c,o,so}
> on Unix. Multiple simultaneous users will clash with each other.
That's pretty clearly a bug, though I suspect that in practice you'll
have few users that happen to simultaneously call have_compiler.
> M:B has places for temporary files. Should it be able to tell EU:CB to
> use a particular directory?
EU::CB already uses File::Spec->tmpdir. It should either use
File::Temp or (to avoid a dependency) generate a random directory
name.
Could you please file a but on rt.cpan.org?
David