[Pdx-pm] DBD::mysql cont.

James marks jamarks at jamarks.com
Tue Mar 30 01:39:51 CST 2004

I'm still  hesitant to post all the terminal text related to the failed 
install attempt (unless you really want it) but here are some of the 
errors that I can see:


Can't exec "mysql_config": No such file or directory at Makefile.PL 
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.

(Above was repeated 9 times in a row)


Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgz


/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.8.1/ExtUtils/typemap  mysql.xs > mysql.xsc && mv 
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 
Warning: duplicate function definition 'rows' detected in mysql.xs, 
line 290


Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3 
cc  -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o 
  -o blib/arch/auto/DBD/mysql/mysql.bundle   -L/usr/local/mysql/lib 
-lmysqlclient -lz
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


On Mar 29, 2004, at 11:26 PM, Chris Dawson wrote:

> Take a look in the ~.cpan/build directory and enter  the DBD-mysql 
> directory (command line:  "cd ~/.cpan/build/" from a terminal window). 
>  Then type make and let us know more about what the build problem is.  
> I am sure there is nothing wrong with the CPAN version; this is one of 
> the most commonly used modules in perl so it is very unlikely a broken 
> version would be checked in.  You do have mysql installed on the 
> machine which you are building the DBD-mysql driver, right?  I think 
> building DBD-mysql requires header files from the mysql sources.  But, 
> hard to tell without more information from you.
> Chris
> James marks wrote:
>> Regarding my previous post of the same subject, I probably should 
>> have mentioned that I'm on a Mac G4/OS10.3.2 running Perl 5.8.1
>> 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