On Nov 4, 2:09 am, [EMAIL PROTECTED] (Jonathan Leffler)
wrote:
On Mon, Nov 3, 2008 at 10:20 AM, Vineet Kaimal [EMAIL PROTECTED]wrote:
I was trying to install DBD-DB2-1.1 in a 64 bit machine, in the
Please include the full module name in the subject line - it makes it easier
for others.
process i am able to run the
perl Makefile.pl command
But after this when i try running the make command, i encountered the
following error.
make[1]: Entering directory
`/data01/home/wasuser/perlModules/DBD-DB2-1.1/Constants'
make[1]: Leaving directory
`/data01/home/wasuser/perlModules/DBD-DB2-1.1/Constants'
gcc -c -I/db2home/db2inst1/sqllib/include
-I/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/DBI
-I/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi/auto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION=\1.1\
-DXS_VERSION=\1.1\ -fPIC
-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE
-DDB2_CACHE_FIX DB2.c
DB2.xs: In function `XS_DBD__DB2__db_disconnect':
DB2.xs:128: error: structure has no member named `_old_cached_kids'
DB2.xs:129: error: structure has no member named `_old_cached_kids'
DB2.xs:130: error: structure has no member named `_old_cached_kids'
DB2.xs: In function `XS_DBD__DB2__db_DESTROY':
DB2.xs:192: error: structure has no member named `_old_cached_kids'
DB2.xs:193: error: structure has no member named `_old_cached_kids'
DB2.xs:194: error: structure has no member named `_old_cached_kids'
make: *** [DB2.o] Error 1
Can anyone please help me with this?
Which version of DBI do you have installed?
I'd lay odds that your DBI is too old. Your Perl isn't exactly in its first
flush of youth, either, but is probably what comes with your system - which
leads to the next question:
Which platform are you running on? (Probably less important this time.)
--
Jonathan Leffler [EMAIL PROTECTED] #include disclaimer.h
Guardian of DBD::Informix - v2008.0513 -http://dbi.perl.org
Blessed are we who can laugh at ourselves, for we shall never cease to be
amused.
Vineet, we have a technote on building the 1.1 driver on AIX 64 bit.
Please refer to the following technote.
http://www-01.ibm.com/support/docview.wss?rs=71context=SSEPGGuid=swg21181032loc=en_UScs=utf-8lang=en
However, it would be helpful to reproduce the problem if you can
provide us with the perl -V output, the platform you are on, DBI
version.