Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Error running genxref

closed
nobody
5
2002-02-18
2002-02-12
Bernhard Penz
No

I just downloaded and tried to install LXR 0.9.1, but
when I want to cross-reference the code I get the
following error message:

# ./genxref --url=http://index.srv/lxr

Can't locate DBI.pm in @INC (@INC contains:
lib /usr/lib/perl5/5.6.1/i586-
linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6
.1/i586-
linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/sit
e_perl .)
at /usr/lib/perl5/site_perl/LXR/Index/Mysql.pm line
24, <CONFIG> line 1.
BEGIN failed--compilation aborted
at /usr/lib/perl5/site_perl/LXR/Index/Mysql.pm line
24, <CONFIG> line 1.
Compilation failed in require
at /usr/lib/perl5/site_perl/LXR/Index/DBI.pm line 30,
<CONFIG> line 1.

I changed then line 24 in DBI.pm from
use DBI;

to
use LXR::Index::DBI;

but then I get the following error messageCan't locate
object method "connect" via package "DBI" (perhaps you
forgot to load "DBI"?)
at /usr/lib/perl5/site_perl/LXR/Index/Mysql.pm line
40, <CONFIG> line 1.

Looking into DBI.pm I see only a new method declared.

Thanks for your help,
Berni

Discussion

  • Malcolm Box
    Malcolm Box
    2002-02-18

    • status: open --> closed