----- Original Message ----- From: "Ron Grunwald" <ron...@yahoo.com.au>


The error dialog is shown below:

PERL_DL_NONLAZY=1 /usr/SeaWhale/usr/linux-glibc-2.2.5/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00use....Variable "$RE_balanced_brackets" is not imported at (re_eval 9) line 2. Global symbol "$RE_balanced_brackets" requires explicit package name at (re_eval 9) line 2.

I haven't tried Inline::BC, but the same problem (which doesn't affect perl-5.6) occurred with Inline::C's ParseRegExp.pm.

In BC.pm, replace the line:

our $RE_balanced_brackets =
with:
our $RE_balanced_brackets; $RE_balanced_brackets =

And do the same change for "our $RE_balanced_parens =" (a couple of lines further down).

Then run 'make clean' and rebuild the module from scratch.


Error. You have specified 'BC' as an Inline programming language.

I currently only know about the following languages:
   C, Foo, foo

If you have installed a support module for this language, try deleting the
config file from the following Inline DIRECTORY, and run again:

   /usr/SeaWhale/usr/linux-glibc-2.2.5/src/Inline-BC-0.06/_Inline


Not sure why this happens. Try doing as the message suggests - remove the config file from /usr/SeaWhale/usr/linux-glibc-2.2.5/src/Inline-BC-0.06/_Inline. Then re-run 'make test' and see if you get a better result.

If that doesn't work, install the module, then delete the config file again, then re-run 'make test'.

Bug reports for these 2 issues should be filed at http://rt.cpan.org/Public/Dist/Display.html?Name=Inline-BC .

Cheers,
Rob

Reply via email to