On Tue Jun 10 05:32:21 2008, coke wrote:
> Forwarding to open a ticket.
> 
> 
> ---------- Forwarded message ----------
> From: Nathan Gray <[EMAIL PROTECTED]>
> Date: Tue, Jun 10, 2008 at 6:57 AM
> Subject: parrot init/hints for the Hurd
> To: [EMAIL PROTECTED]
> 
> 
> I tried compiling parrot on the Hurd, but Configure.pl complained:
> 
> Checking
MANIFEST.....................................................done.
> Setting up Configure's default
values.................................done.
> Tweaking settings for
miniparrot...................................skipped.
> Loading platform and local hints files...
> step init::hints died during execution: Can't locate init/hints/gnu.pm
> in @INC (@INC contains: config lib /usr/lib/perl/5.10
> /usr/share/perl/5.10 /usr/local/lib/perl/5.10.0
> /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 .) at
> (eval 12) line 2.
> BEGIN failed--compilation aborted at (eval 12) line 2.
> 
>  at Configure.pl line 444
> 
> -kolibrie
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> 
> iD8DBQFITl43YlZScpXqKgQRAhAQAJwIrPz6Xv7a8SdwKpD5zYlMmJjRwgCZAVxh
> BhM39Mhl9+qnVLQcK7iZWNU=
> =lOQY
> -----END PGP SIGNATURE-----
> 

Interesting. I tried to duplicate this error by removing my platform's
hints file and re-running. I get the message you describe, but then
Configure.pl completes, and at the -end-, gracefully says:

During configuration the following steps failed:
    01:  init::manifest
    05:  init::hints
You should diagnose and fix these errors before calling 'make'

Did you get this far, or did Configure.pl just stop completely for you
where your log cuts off?

Now, the desired behavior here IMO should be that if we can't find a
hints file for your platform... the build should continue with no
problems or warnings, except that perhaps in verbose mode we say
something like "no hints file, assuming defaults.".

The offending line is in config/init/hints.pm, where we say:

    eval "use $hints";
    die $@ if $@;

We should probably first check to see if the file exists before running
the use statement; then the die is only because of invalid perl, not
"file not found."

Your workaround, btw, is probably:

 touch config/init/hints/hurd.pm

Thanks for the report, I'm interested to see how we do here once we get
past this small config bump.

Reply via email to