[Lxr-dev] [ lxr-Bugs-516458 ] genxref (LXR 0.9.1) error
Brought to you by:
ajlittoz
From: <no...@so...> - 2002-02-12 16:52:02
|
Bugs item #516458, was opened at 2002-02-12 07:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=516458&group_id=27350 Category: genxref Group: None >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Bernhard Penz (bpenz) Assigned to: Nobody/Anonymous (nobody) Summary: genxref (LXR 0.9.1) error Initial Comment: Hello, I am running LXR 0.9.1 on a Linux box with Mysql Ver 11.15 Distrib 3.23.41. I am trying to cross-reference plain files for the moment. When I run './genxref --url=http://mylxr.srv/lxr' I get the following error message: 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. Changing line 24 in Mysql.pm from 'use DBI;' to 'use LXR::Index::DBI;' ends up in this error message: Can'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. and there I am stuck because when I look in DBI.pm there is only one function named 'new' definded. Thanks for your help, Berni ---------------------------------------------------------------------- >Comment By: Malcolm Box (mbox) Date: 2002-02-12 08:51 Message: Logged In: YES user_id=215386 The most likely reason for this is that you don't have the DBI perl modules installed. You can install them from CPAN: perl -MCPAN -e shell will get you started. Changing the line in Mysql.pm will not help - LXR::DBI and DBI are different modules, hence the error message about connect. This sort of question is best asked on the lxr-general or lxr-developer list as it's not really a bug. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=516458&group_id=27350 |