Am 02.01.2015 um 16:29 schrieb The Doctor <doc...@doctor.nl2k.ab.ca>:

> On Fri, Jan 02, 2015 at 07:10:42PM +1100, Ivan Wills wrote:
>> My technique for that is to add the following lines in DBI (say on line
>> 283):
>> use Carp qw/cluck/;
>> cluck "Here";
>> 
>> And see what the stack suggests is going on.
>> 
>> Ivan
>> 
>> On 2 January 2015 at 10:53, The Doctor <doc...@doctor.nl2k.ab.ca> wrote:
>> 
>>> I start a programme with a DBI dependency and I get:
>>> 
>>> Can't locate object method "bootstrap" via package "DBI" at
>>> /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/DBI.pm line 277.
>>> BEGIN failed--compilation aborted at
>>> /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/DBI.pm line 284.
>>> 
> 
> No dice.  All that happens is that 284 becomes 286.

But "bootstrap" wasn't found in line 277 :)
So you're fortune might improve by moving the debug code a few lines upwards ...

>>> 
>>> All right the bs file exists.

The .bs file is mostly irrelevant - the DBI.so file counts ...
Did you check `file 
/usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/auto/DBI/DBI.so`?

>>> What else is not correct?
>>> 
>>> How do I do a debug on this?

http://www.lmgtfy.com/?q=Can%27t+locate+object+method+%22bootstrap%22+via+package

Cheers
-- 
Jens Rehsack
rehs...@gmail.com

Reply via email to