Hi,
I have installed Active Perl [5.8]. I want to access my DB2 and Oracle databases. Hence I downloaded the DBD for DB2 [version .76]. When I tried to build on DBD, as said in README file, using the command
perl -w Makefile.PL
it went fine. But it gave errors in the second step when making using nmake.
C:\DBD-DB2-0.76>nmake
Microsoft (R) Program Maintenance Utility Version 7.00.9254
Copyright (C) Microsoft Corporation. All rights reserved.
cp lib/Bundle/DBD/DBI.pm blib\lib\Bundle\DBD\DBI.pm
cp DB2.pm blib\lib\DBD\DB2.pm
cp DBI.pm blib\lib\DBD\DBI.pm
cp lib/Bundle/DBD/DB2.pm blib\lib\Bundle\DBD\DB2.pm
cp DB2.pod blib\lib\DBD\DB2.podcp Constants.pm ..\blib\lib\DBD\DB2\Constants.pm
AutoSplitting ..\blib\lib\DBD\DB2\Constants.pm (..\blib\lib\auto\DBD\DB2\Constants)
C:\perl\bin\perl.exe C:\perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\ExtUtils\typemap Constants.xs > Constants.xsc && C:\perl\bin\perl.exe -MExtUtils
::Command -e mv Constants.xsc Constants.c
cl -c -I"C:/DB2/IBM/SQLLIB/include" -nologo -Gf -W3 -MD -Zi -DNDEBUG -
O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" "-IC:\Perl\lib\CORE" Constants.c
cl : Command line warning D4029 : optimization is not available in the standard edition compiler Constants.c
c:\perl\lib\CORE\win32.h(61) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'Stop.
Can anybody pls tell me how to proceed with this. What are the requirements.
Thanks in advance
ifxTechie.
I have installed Active Perl [5.8]. I want to access my DB2 and Oracle databases. Hence I downloaded the DBD for DB2 [version .76]. When I tried to build on DBD, as said in README file, using the command
perl -w Makefile.PL
it went fine. But it gave errors in the second step when making using nmake.
C:\DBD-DB2-0.76>nmake
Microsoft (R) Program Maintenance Utility Version 7.00.9254
Copyright (C) Microsoft Corporation. All rights reserved.
cp lib/Bundle/DBD/DBI.pm blib\lib\Bundle\DBD\DBI.pm
cp DB2.pm blib\lib\DBD\DB2.pm
cp DBI.pm blib\lib\DBD\DBI.pm
cp lib/Bundle/DBD/DB2.pm blib\lib\Bundle\DBD\DB2.pm
cp DB2.pod blib\lib\DBD\DB2.podcp Constants.pm ..\blib\lib\DBD\DB2\Constants.pm
AutoSplitting ..\blib\lib\DBD\DB2\Constants.pm (..\blib\lib\auto\DBD\DB2\Constants)
C:\perl\bin\perl.exe C:\perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\ExtUtils\typemap Constants.xs > Constants.xsc && C:\perl\bin\perl.exe -MExtUtils
::Command -e mv Constants.xsc Constants.c
cl -c -I"C:/DB2/IBM/SQLLIB/include" -nologo -Gf -W3 -MD -Zi -DNDEBUG -
O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" "-IC:\Perl\lib\CORE" Constants.c
cl : Command line warning D4029 : optimization is not available in the standard edition compiler Constants.c
c:\perl\lib\CORE\win32.h(61) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'Stop.
Can anybody pls tell me how to proceed with this. What are the requirements.
Thanks in advance
ifxTechie.