Problems Compiling DB2 DBD
am 18.10.2007 16:20:56 von cdwellsHi all,
I am attempting to compile the DB2 DBD Perl module on an AIX 5.3 system
running Perl 5.8.2, Perl DBI v1.59, and DB2 and App Dev client v9.1. I was
able to compile, test, and install the Perl DBI module without any
problems, however whenever I attempt to compile the DB2 DBD module, I
receive the following errors:
nasdbmo:root /build/DBD-DB2-1.0# perl Makefile.PL
Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!
Using DB2 in "/opt/IBM/db2/V9.1"
System: perl5.008002 DBI1.59 aix animals 2 5 000709cf4c00 aix-thread-multi
dl_aix.xs
Compiler: cc_r -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlonglong
Includes: -I"/opt/IBM/db2/V9.1/include"
-I"/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/ DBI"
Libraries: -L/opt/IBM/db2/V9.1/lib64 -ldb2
Writing Makefile for DBD::DB2::Constants
Writing Makefile for DBD::DB2
nasdbmo:root /build/DBD-DB2-1.0# make
cc_r -c -I"/opt/IBM/db2/V9.1/include"
-I"/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/ DBI"
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias
-DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O
-DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" "-I/usr/opt/perl5/lib/5.8.2
/aix-thread-multi/CORE" DB2.c
"DB2.xs", line 115.9: 1506-025 (S) Operand must be a modifiable lvalue.
"DB2.xs", line 175.13: 1506-025 (S) Operand must be a modifiable lvalue.
make: 1254-004 The error code from the last command is 1.
Has anyone experienced this issue before or know what the fix is? Any
suggestions are greatly appreciated.
Thanks,
Chris Wells
IBM Global Services
Team Lead - Generalist Delivery, Dept LXQD
Office: (877) 567-8707 (T/L 349-6511)
Mobile: (859) 433-4727
cdwells@us.ibm.com