BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Inline::C compile failure.
by ELISHEVA (Prior) on Jan 17, 2011 at 07:01 UTC | |
by BrowserUk (Patriarch) on Jan 17, 2011 at 07:26 UTC | |
|
Re: Inline::C compile failure.
by ikegami (Patriarch) on Jan 17, 2011 at 08:23 UTC | |
by BrowserUk (Patriarch) on Jan 17, 2011 at 08:52 UTC | |
|
Re: Inline::C compile failure.
by CountZero (Bishop) on Jan 17, 2011 at 07:52 UTC | |
|
Re: Inline::C compile failure.
by Anonyrnous Monk (Hermit) on Jan 17, 2011 at 08:20 UTC | |
by BrowserUk (Patriarch) on Jan 17, 2011 at 09:04 UTC |