perl_mysql_modules

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: Problems installing Bugzilla on Mandrake 71
From: Matthew Barnson <mbarnson@excitehome.net>
Date: Sun, 13 Aug 2000 16:03:10 -0600

On Sun, 13 Aug 2000, Jon Robertson scratched this in the dirt:
> I'm trying to set up a test Bugzilla box.  Our current box is a PII 233 and
> the test box is a P 90.  Our current box is RH62 and the test box is
> Mandrake 7.1.  I went with Mandrake this time because I'm usually happier
> with Mandrake.  It's just that RH62 was the more recent at the time I setup
> our production box.
> 
> I just installed Mandrake71 on the test box and I'm having a problem using
> the Mysql Perl module via Apache. This works fine on the production box, so
> I assume there is a configuration setting that is missing or something.
> Everything that was installed was done via DrakX, including Apache, Perl,
> and the perl modules.
> 
> The actual error I get from Apache is:
> 
> Software error:
> 
> Can't locate Mysql.pm in @INC (@INC contains ....
> 
> Mysql.pm is in /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBD and sure
> enough, that path is not listed in @INC.
> 
> How can I add the DBD path to @INC?

  Try this (instead of the Mandrake installation stuff):

# perl -MCPAN -eshell
cpan> install Mysql

  Answer the questions, should be ready to go on MDK 7.1 -- that's what I try
to run all my Bugzilla stuff on.


===

Subject: Re: Problems installing Bugzilla on Mandrake 71
From: Dave Miller <bugdude1@intrec.com>
Date: Sun, 13 Aug 2000 17:17:44 -0400

On 8/13/00 4:14 PM -0500, Jon Robertson wrote:

>I'm trying to set up a test Bugzilla box.  Our current box is a PII 233 and
>the test box is a P 90.

>Can't locate Mysql.pm in @INC (@INC contains ....
>
>Mysql.pm is in /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBD and sure
>enough, that path is not listed in @INC.
>
>How can I add the DBD path to @INC?

If it's a Pentium 90, I'd bet it's trying to find it in

/usr/lib/perl5/site_perl/5.6.0/i586-linux/DBD

Is that listed in your path?  If so, you might want to move the DBD-related
stuff into the other folder.

Otherwise, add this line to the top of globals.pl before any of the use or
require lines:

push @INC,"/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBD";

===



the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu