# from Hicks, Robert
# on Monday 12 June 2006 12:24 pm:
>>>Can't open C:\Documents\config for output.
>>
>>This sounds familiar. Please try this inline:
>>
>> http://scratchcomputing.com/code/x-Inline/Inline-0.44_01.tar.gz
>>
>>--Eric
>
>That gets me the same error message...
Did you do "make test" ? "make install" ?
What is the output of:
perl -e 'use Inline; print Inline->VERSION, "\n";'
? (guess that might be /e on windows?)
If you still get "Can't open C:\Documents\config ...", I suspect that
you did not get the new Inline installed properly. Otherwise, "make
test" should fail. I don't have windows, but this sounds about like
what is happening:
$ perl -e 'use Inline; print Inline->VERSION, "\n";'
0.44
$ PERL_INLINE_DIRECTORY='/tmp/inline test' perl inline_use.pl
Can't open /tmp/inline/config for output.
No such file or directory
at -e line 0
BEGIN failed--compilation aborted.
Failed to autogenerate /tmp/inline test/config.
at inline_use.pl line 4
BEGIN failed--compilation aborted at inline_use.pl line 14.
# /me goes backstage and switches versions...
$ perl -e 'use Inline; print Inline->VERSION, "\n";'
0.44_01
$ PERL_INLINE_DIRECTORY='/tmp/inline test' perl inline_use.pl
we have inline::C
-----------
#!/usr/bin/perl
# inline_use.pl
use Inline(
C => <<'EOC'
void got_it() {
printf("we have inline::C\n");
}
EOC
);
got_it();
-----------
--Eric
--
As an old bass player friend of mine used to say: throw money, don't
clap.
--Tony Parisi
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------