----- Original Message -----
From: "Ron Grunwald" <ron...@yahoo.com.au>
To: "Sisyphus" <sisyph...@optusnet.com.au>; "Inline Perl Discussion"
<inline@perl.org>
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