Hello Scott,

>C:\PXPerl\bin>perl test2.pl
>
>(contents of test2.pl)
>use Inline C => <<'END_C';
>void greet() {
>  printf("Hello, world\n");
>}
>END_C
>
>greet;
>
>(Output)
>Can't use an undefined value as an ARRAY reference at 
>C:/PXPerl/site/lib/Inline/
>C.pm line 358.
>INIT failed--call queue aborted.
>  
>

I read you removed the PXPerl installation, so I just want to state out
that this program works here on XP with PXPerl. So, I assume the problem
is in your installation (of something), not PXPerl.

There is another indication for this. In your error messages I read

  (You get this message, because MakeMaker could not find 
"D:\PXPerl\BUILD\PERL-00
  000000000000000000000000000000000000000000000000\lib\CORE\perl.h")

This looks like an incomplete PXPerl installation to me. I didn't
investigate this but PXPerl first installs a common way, then it adapts
itself to the configured compiler (as I understood this). On my system,
perl.h can be found and ist located in c:\PXPerl\lib\CORE\.

I didn't mention it but the way it worked for me was to install MinGW,
then PXPerl configured for MinGW (and finally the one library file that
is missed in the PXPerl installation (to be found on the PXPerl site)).

Regards

                 Jochen





Reply via email to