Fwd: [Pdx-pm] DBD::mysql

Kyle Dawkins kyle at cepaso.com
Wed Mar 31 02:54:21 CST 2004


Dang, tried to send this to the list with the wrong From: address.

Here I am, trying with the right one...


Begin forwarded message:

> From: Kyle Dawkins <kyle at centralparksoftware.com>
> Date: 31 March 2004 0:52:16 GMT-08:00
> To: James marks <jamarks at jamarks.com>
> Cc: pdx pm <pdx-pm-list at pm.org>
> Subject: Re: [Pdx-pm] DBD::mysql
>
> Hi
>
> Sorry to jump in on this so late, but when I first installed Panther 
> on my laptop I had to do this to get the Mysql perl mods to install:
>
> "...Edit
>
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config.pm
>
> and change the line
>
> ld="MACOSX_...."
>
> to read
>
> ld="env MACOSX_...."
>
> and then you'll be able to build Mysql (and a few others)..."
>
> Not sure if it'll help you, but once I made that change, it worked 
> fine for me.  They may have fixed that in 10.3.X, but in 10.3 it was 
> not.
>
> Good luck
>
> Kyle Dawkins
> Central Park Software
>
> On 29 Mar 2004, at 22:54, James marks wrote:
>
>> Hi,
>>
>> First off, I'm very new to Perl, CPAN and the command line so my 
>> apologies if my question is unclear or misdirected.
>>
>> I'm running through example Perl scripts provided in "Managing & 
>> Using MySQL" and the current script fails with the following message:
>>
>>
>> "Can't locate DBD/mysql.pm in @INC ... Perhaps the DBD::mysql perl 
>> module hasn't been fully installed..."
>>
>>
>> So, I attempt to install DBD::mysql via CPAN and the attempted 
>> installation fails as follows:
>>
>> (lots of text snipped)
>>
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
>>   /usr/bin/make  -- NOT OK
>> Running make test
>>   Can't test without successful make
>> Running make install
>>   make had returned bad status, install seems impossible
>>
>>
>> I've excluded much of the attempted installation text for the sake of 
>> brevity and, in so doing, may have withheld information necessary to 
>> answer this question, but is the installation failure more likely to 
>> be a problem on my computer or is there something inherently wrong 
>> with DBD::mysql on CPAN? In other words, is anyone else having this 
>> problem or is DBD::mysql installing correctly for others?
>>
>> The MySQL sample Perl scripts all seem to need DBD::mysql to run and 
>> I seem to be unable to install it.
>>
>> Thanks!
>>
>> James
>>
>> _______________________________________________
>> Pdx-pm-list mailing list
>> Pdx-pm-list at mail.pm.org
>> http://mail.pm.org/mailman/listinfo/pdx-pm-list
>>
>




More information about the Pdx-pm-list mailing list