Update: Uninstalling and reinstalling Perl back over the same directory seems to have fixed whatever was the problem whilst leaving all (of those I've tried) my installed packages still working.
My previously working Inline::C setup has suddenly started failing with:
#! perl -slw
use strict;
use Inline C => Config => BUILD_NOISY => 1;
use Inline C => <<'END_C', NAME => 'test', CLEAN_AFTER_BUILD => 0;
SV *test( SV *sv ( {
printf( "test %s\n", SvPVX( sv ) );
return sv;
}
END_C
print test( 'test' );
__END__
C:\test>ppm install -force Inline::C
Downloading Inline-0.46...done
Unpacking Inline-0.46...done
Generating HTML for Inline-0.46...done
Updating files in site area...done
116 files unchanged
C:\test>test
Starting Build Preprocess Stage
Can't find the default system typemap file at C:/Perl64/site/lib/Inlin
+e/C.pm line 347.
Can't use an undefined value as an ARRAY reference at C:/Perl64/site/l
+ib/Inline/C.pm line 367.
BEGIN failed--compilation aborted at C:\test\test.pl line 11.
As you can see, I've tried re-installing Inline::C to no avail.
Any thoughts what might have caused it to start failing or how to corrected it?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.