5 messages in com.mysql.lists.perlRe: mysql.pm on Apache/mod_perl/perl ...
FromSent OnAttachments
dave_dunstan10 Jan 2000 09:27 
Ed Phillips10 Jan 2000 10:17 
Tim Tompkins10 Jan 2000 10:57 
Randy Kobes10 Jan 2000 14:09 
Jochen Wiedmann11 Jan 2000 12:23 
Subject:Re: mysql.pm on Apache/mod_perl/perl win98
From:Jochen Wiedmann (jo@ispsoft.de)
Date:01/11/2000 12:23:16 PM
List:com.mysql.lists.perl

dave_dunstan wrote:

Do I really have to compile my own mysql.pm to get this to work? I don't have VC++! I guess I could get it ...

The DBD::mysql driver (like most other database drivers) consists of two parts: A Perl part and a C part.

If you aren't using ActivePerl (which isn't working with mod_perl, AFAIK), you either need a precompiled binary of DBD::mysql or you must compile your own - and hence you need a C compiler. (The DBD::mysql docs tell you what to do.) The C compiler must be the same that was used for compiling Perl. VC++ is not a must: You can compile Perl with egcs. The WIN32-README of the Perl source distribution contains more details.

A precompiled binary of Perl 5.00502, including DBD::mysql, is available at www.mysql.com.

Bye,

Jochen