On 01/05/02 17:44 -0700, Clint Olsen wrote:
> Alright, I've had enough. I can't get this thing to compile. It seems
> that as soon as I start specifying configuration variables for Inline, the
> perl interpreter immediately loses any ability to recognize my code:
>
> #!/usr/intel/bin/perl -w
>
> use Inline C => Config => INC => '-I /usr/guest/olsenc/work/virgelo/perl
>-I/usr/guest/olsenc/work/virgelo -I/afs/pdx/proj/otools/src/kazlib-1.20';# , NAME =>
>"Virgelo";
You need to add another statement *after* the above one, like:
use Inline C => 'DATA';
or
use Inline 'C';
When you use the 'Config' parameter, it means: "This directive is for
configuration only. Don't compile anything (because I haven't told you where
the source code is yet)". I think you'd be more happy with this:
use Inline C => DATA => INC => '-I /usr/guest/olsenc/work/virgelo/perl
-I/usr/guest/olsenc/work/virgelo -I/afs/pdx/proj/otools/src/kazlib-1.20';# , NAME =>
"Virgelo";
Cheers, Brian