List:MySQL and Perl« Previous MessageNext Message »
From:Andy Date:October 25 2009 10:48am
Subject:Problem with installingDBD-mysql-4.012
View as plain text  
HI,

Am very new to this.

 

Config:

Mac OS X 10.6.1

ActivePerl-5.8

 

Following instructions at:
http://www.truerwords.net/articles/osx/install_dbd_mysql.html

(which worked perfectly for Mac OS X 10.6.1, Perl v5.10.0 (which comes
pre-installed with Mac OS X 10.6.1).)

 

But when I tried to do the same for ActivePerl-5.8, I get this message:

gcc -c  -I/usr/local/ActivePerl-5.8/lib/auto/DBI
-I/usr/local/mysql-5.1.39-osx10.5-x86_64/include  -g -Os -arch x86_64
-fno-common   -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE
-DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT
-DDONT_DECLARE_CXA_PURE_VIRTUAL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
-fno-common -DPERL_DARWIN -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-fno-merge-constants -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3
-DVERSION=\"4.012\" -DXS_VERSION=\"4.012\"
"-I/usr/local/ActivePerl-5.8/lib/CORE"   dbdimp.c

gcc -c  -I/usr/local/ActivePerl-5.8/lib/auto/DBI
-I/usr/local/mysql-5.1.39-osx10.5-x86_64/include  -g -Os -arch x86_64
-fno-common   -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE
-DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT
-DDONT_DECLARE_CXA_PURE_VIRTUAL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
-fno-common -DPERL_DARWIN -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-fno-merge-constants -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3
-DVERSION=\"4.012\" -DXS_VERSION=\"4.012\"
"-I/usr/local/ActivePerl-5.8/lib/CORE"   mysql.c

mysql.c: In function 'boot_DBD__mysql':

mysql.c:2380: error: 'PL_unitcheckav' undeclared (first use in this
function)

mysql.c:2380: error: (Each undeclared identifier is reported only once

mysql.c:2380: error: for each function it appears in.)

make: *** [mysql.o] Error 1

 

I have no experience with perl MAKEFILE.pl files or make.

Can you please give me some step-by-step hand-holding to resolve the above
problem?

I need to use Perl 5.8 rather than 5.10.

 

Thanks very much,

Andynic

 

 


Thread
Problem with installingDBD-mysql-4.012Andy25 Oct