Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

RE: DBD-mysql [was DBD::mysql]

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


chris.schults at pccsea

Dec 5, 2008, 11:40 AM

Post #1 of 2 (909 views)
Permalink
RE: DBD-mysql [was DBD::mysql]

> This is a SWAG, but I'd start by investigating whether there's an
> alternative to having to specify the "use lib" in order to use
> DBD::mysql. That just doesn't look right to me. Did you use CPAN to
> install DBD::mysql?

Thanks David.

DBD::mysql and DBI came pre-installed with RHEL and are up to date
according to YUM.

The reason why I'm using the "use lib" statement is because that
directory is not in @INC. When I add it to the PERL5LIB environment
variable and try to restart Bricolage, an error occurs.

Is there another way to have a Bricolage Mason template connect to MySQL
that I'm not considering?

Chris


D-Beaudet at NGA

Dec 5, 2008, 1:01 PM

Post #2 of 2 (850 views)
Permalink
RE: DBD-mysql [was DBD::mysql] [In reply to]

I assume you're running under the 64 bit kernel?

uname -a

Maybe you can try the perl -I switch when invoking from the command line
to discover the right directory to include?

-Idirectory specify @INC/#include directory (several -I's allowed)

make sure the command line works first.


If you get it working, it's probable that you might have to recompile
mod_perl and then apache in order to get mod_perl to look in the right
place.


> -----Original Message-----
> From: Schults, Chris [mailto:chris.schults [at] pccsea]
> Sent: Friday, December 05, 2008 2:40 PM
> To: users [at] lists
> Subject: RE: DBD-mysql [was DBD::mysql]
>
> > This is a SWAG, but I'd start by investigating whether there's an
> > alternative to having to specify the "use lib" in order to use
> > DBD::mysql. That just doesn't look right to me. Did you use CPAN
to
> > install DBD::mysql?
>
> Thanks David.
>
> DBD::mysql and DBI came pre-installed with RHEL and are up to date
> according to YUM.
>
> The reason why I'm using the "use lib" statement is because that
> directory is not in @INC. When I add it to the PERL5LIB environment
> variable and try to restart Bricolage, an error occurs.
>
> Is there another way to have a Bricolage Mason template connect to
MySQL
> that I'm not considering?
>
> Chris

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.