Hi Rob,
Sorry for my late reply and many thanks for providing me with some insight into
the ILSM mechanism.
I was able to run the tests successfully but only through the following
procedure, which you suggested.
1. Edit BC.pm by adding the declaration:
our $RE_balanced_brackets, $RE_balanced_parens;
followed by the lines,
$RE_balanced_brackets = ...
$RE_balanced_parens = ...
2. Install Inline::BC with "make install".
3. Delete the config file
"/usr/SeaWhale/usr/linux-glibc-2.2.5/src/Inline-BC-0.06/_Inline/config".
Running "make test" after these steps worked fine and all tests were passed.
I will log both problems as bug reports on rt.cpan.org as you suggested. I
would also like to find the solution to the "make test" problem as tests should
really be run first before installation. This may take a little while however,
as I need to get a better understanding of the internals of Inline.
Many thanks for your help.
Cheers, Ron.
[[email protected], [email protected]]
----- Original Message ----
> From: Sisyphus <[email protected]>
> To: Ron Grunwald <[email protected]>; Inline Perl Discussion
> <[email protected]>
> Sent: Wednesday, 7 January, 2009 8:31:13 PM
> Subject: Re: Inline::BC all tests failed
>
>
> ----- Original Message ----- From: "Ron Grunwald"
> To: "Sisyphus" ; "Inline Perl Discussion"
>
> Sent: Wednesday, January 07, 2009 7:38 PM
> Subject: Re: Inline::BC all tests failed
>
>
> > Dear Rob,
> >
> > Many thanks for your very quick reply.
> >
> > On the second problem that I reported where Inline doesn't recognise BC as
> > an
> installed ILSM, how does Inline determine what ILSMs are installed?
> >
>
> I don't know the full mechanism involved, but I believe it starts with sub
> register() in the Inline::*.pm file. For example, see the register() sub in
> Inline/BC.pm and Inline/C.pm.
>
> Without having thoroughly investigated, it looks to me that:
>
> 1)The Inline::BC::register() sub is called by Inline::create_config_file() in
> Inline.pm.
> 2) Inline::check_config_file() then checks the created config file to verify
> that BC is an installed ILSM.
>
> In your case, I gather that the config file doesn't include "BC", and
> Inline::check_config_file() therefore throws the error you're getting. This
> could mean one of two things:
>
> 1) There's something faulty in the registration of BC as an ILSM.
> 2) There's a pre-existing config file in the build directory that doesn't
> mention BC.
>
> If there's a pre-existing config file (in
> /usr/SeaWhale/usr/linux-glibc-2.2.5/src/Inline-BC-0.06/_Inline), then
> removing
> it will force the creation of a new config file the next time you run 'make
> test'. And that newly created config file should verify that BC is an ILSM.
> (That's why the recommendation "If you have installed a support module for
> this
> language, try deleting the config file from the following Inline DIRECTORY,
> and
> run again" is given.)
>
> Are you unable to get past that error ? ... even if you actually install
> Inline::BC and delete the config file ?
>
> Cheers,
> Rob
Stay connected to the people that matter most with a smarter inbox. Take
a look http://au.docs.yahoo.com/mail/smarterinbox