Bug report re TRIAL5.

Given
  use Inline C => 'int bar() { return 3; }';
  print &bar(),"\n";
the command line argument
  -MInline=INFO
causes failure.

$ [...]
    You are using Inline.pm version 0.44-TRIAL5
$ cat t04c.pl
use Inline C => 'int bar() { return 3; }';
print &bar(),"\n";
$ rm -rf _Inline/
$ perl t04c.pl
Called parser from Inline::C /usr/local/lib/perl5/site_perl/5.6.1/Inline/C.pm 279
3

$ rm -rf _Inline/
$ perl -MInline=INFO t04c.pl
<-----------------------Information Section----------------------------------->

Information about the processing of your Inline C code:

Your source code needs to be compiled. I'll use this build directory:
[...]_Inline/build/t04c_pl_c88e

and I'll install the executable as:
[...]_Inline/lib/auto/t04c_pl_c88e/t04c_pl_c88e.so

Called parser from Inline::C /usr/local/lib/perl5/site_perl/5.6.1/Inline/C.pm 223
No C functions have been successfully bound to Perl.


<-----------------------End of Information Section---------------------------->
Called parser from Inline::C /usr/local/lib/perl5/site_perl/5.6.1/Inline/C.pm 279
Can't locate auto/main/bar.al in @INC (@INC contains: [...]_Inline/lib 
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1 
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux /usr/local/lib/perl5/site_perl/5.6.1 
/usr/local/lib/perl5/site_perl .) at t04c.pl line 2

This
  use Inline (C => Config => PRINT_INFO => 1);
has a similar effect.

Reply via email to