[perl #38124] [TODO] build - header file detection w/o perl5

James Keenan via RT parrotbug-followup at parrotcode.org
Sat Feb 7 02:44:49 UTC 2009


On Sun Jan 01 19:09:51 2006, jhoblitt at ifa.hawaii.edu wrote:
> auto::headers uses the Config module to detect installed header files.
> It's ok to get default values and the arch name from Config but it's not
> OK to depend on it for probing the system as the Configure code will
> liked be compiled down to PIR someday so it can be executed by
> miniparrot and systems that don't have perl5 installed.
> 

We've long recognized that we will eventually have to jettison our
reliance on Perl 5's Config module, not just for header detection but
for all of our configuration probes.  But that's a post-1.0 project.

In the meantime, since the OP we have added some functionality to
config/auto/headers.pm to compensate for Config's limitations.  See for
example this comment:

sub _list_extra_headers {
    my $conf = shift;
    # some headers may not be probed-for by perl 5, or might not be
    # properly reflected in %Config (i_fcntl seems to be wrong on my
machine,
    # for instance).

So I wonder whether we need to keep this ticket open at this time.

Thank you very much.
kid51


More information about the parrot-dev mailing list