FAQ

On Wed, Mar 4, 2009 at 7:22 PM, Zefram 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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupmodule-build @
categoriesperl
postedMar 5, '09 at 12:23a
activeMar 5, '09 at 1:48a
posts2
users2
websitecpan.org...

2 users in discussion

David Golden: 1 post Zefram: 1 post

People

Translate

site design / logo © 2018 Grokbase