On Thu, Nov 07, 2002 at 12:01:22PM +0000, Nicholas Clark wrote:
> So I run my script like this:
> 
> /usr/local/bin/perl5.8.0 -MInline=FORCE,NOCLEAN,NOISY xsubpp.problem 
> Starting Build Prepocess Stage
> Finished Build Prepocess Stage
> 
> Starting Build Parse Stage
> Finished Build Parse Stage
> 
> Starting Build Glue 1 Stage
> Finished Build Glue 1 Stage
> 
> Starting Build Glue 2 Stage
> Finished Build Glue 2 Stage
> 
> Starting Build Glue 3 Stage
> Finished Build Glue 3 Stage
> 
> Starting Build Compile Stage
>   Starting "perl Makefile.PL" Stage
> Writing Makefile for xsubpp_problem_b494
>   Finished "perl Makefile.PL" Stage
> 
>   Starting "make" Stage
> /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/i686-linux 
>-I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap 
>/usr/local/lib/perl5/5.8.0/ExtUtils/typemap  xsubpp_problem_b494.xs >xstmp.c && mv 
>xstmp.c xsubpp_problem_b494.c
> 
> 
> 
> Eh? Why is it now switching back to using /usr/local/bin/perl

Oh. I see. It's this sinful line in C.pm:

    $o->call('makefile_pl', '"perl Makefile.PL"', 2);


Inline's great.

Except that line which is wrong.

Who said the first perl in my path was the perl I was running?

Nicholas Clark

Reply via email to