Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 4166
Status: resolved
Priority: 0/
Queue: DBD-mysql

Owner: Nobody in particular
Requestors: bryce [...]

Bug Information
Severity: Important
Broken in: 2.9002
Fixed in: (no value)

Subject: error in generated Makefile for DBD::mysql
Download (untitled) / with headers
text/plain 1.3k
DBD-mysql-2.9002 ran cpan install DBD-mysql-2.9002 on Clean install of Mac OS X, 10.3 (Panther) (comes with perl v5.8.1-RC3) after running prerequisites (DBI) uname -a gives: Darwin exarchate1.local 7.0.0 Darwin Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003; root:xnu/xnu-517.obj~1/RELEASE_PPC Power Macintosh powerpc cpan output failed at: 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 -lm make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 /usr/bin/make -- NOT OK the Makefile line has: 476 LD_RUN_PATH="$(LD_RUN_PATH)" $(PERL) myld $(LD) $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST) $(INST_DYNAMIC_FIX) where $(LD) is: LD: MACOSX_DEPLOYMENT_TARGET=10.3 cc myld then gets a result of -1 on: 10 $retval = system @ARGV; trying to execute "MACOSX_DEPLOYMENT_TARGET=10.3" instead of "cc". I worked around this by: (1) setting the environment variable MACOSX_DEPLOYMENT_TARGET=10.3 (2) running this cc command (minus the MACOSX_DEPLOYMENT_TARGET=10.3) manually (3) commenting out the 4 lines in the makefile related to executing myld (lines 470-473) (4) make (5) make install
Download (untitled) / with headers
text/plain 175b
This problem is not related to or caused by the DBD::mysql module. Please forward your request to the owner of the ExtUtils::MakeMaker module, which generates the Makefile.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to