Wow you sent a lot of detail.

Maybe not *quite* so much next time? :-)

Still, if you want it fixed, it's better to err on the side of too much data -- as here -- rather than not enough -- "my script don't work, why not." -- so I'm ok with this :)


On Wed, 14 Jul 2004, Adam wrote:

PowerBook G4 "12
Mac OS X 10.3.4 (Build 7H63)
Perl 5.8.1-RC3
XCode 1.1
DBI 1.43 (attempting to install)
MySqld  Ver 4.0.16-standard for apple-darwin6.6 on powerpc

Where did you get your MySQL from? Directly from a MySQL package that was made for OSX? Compiled from source? Fink? Other?


I think this line is a big hint:

   Note (probably harmless): No library found for -lmysqlclient
   Using DBI 1.43 (for perl 5.008001 on darwin-thread-multi-2level)
   installed in /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI
   Writing Makefile for DBD::mysql

If DBD::mysql can't see the MySQL header files, you're probably in trouble -- you'll get a warning like this, and later tests won't work.


If you're using Fink to install MySQL, the 'mysql-dev' sub-package has all the header files you need to make this warning go away; doing that might be enough to fix things for you.


Also, are you installing these CPAN modules by hand, or are you using the CPAN shell? Things are much easier with the shell -- all you have to do is a line like this:


    $ perl -MCPAN -e 'install Bundle::mysql'

and, assuming I have the capitalization right, it'll Just Work. In Time.

The fact that you spell out what you did for each of "perl Makefile.PL", "make", etc suggests that you're doing this by hand. This used to be the normal way to install Perl modules, but CPAN.pm has been around for a few years now and it's much less painful than doing all this by hand.



--
Chris Devers

Reply via email to