All, I need help regarding install of CPAN modules in strawberry perl. I have a question about Perl connectivity to Teradata. Is it the correct email address?
I have been using Active Perl 5.12 on Windows xp since one year. I tried installing a perl module from CPAN and I got errors while performing the following steps. perl makefile.pl n|d(make) n|d(make) install Recently I downloaded strawberry perl 5.12.3.0 and download CPAN module named DBD::Teradata-1.52. Using cpan client, I could download cpan module(get command). Files related to the module are created at C:\strawberry\cpan\build\DBD-Teradata-1.52-tLHaX2 But I get errors while installing them using perl makefile.pl(This setp ran successfully) dmake dmake install The following is the error log. Is it becuase of the compilers I am using. C:\strawberry\cpan\build\DBD-Teradata-1.52-tLHaX2>perl Makefile.PL *** Configuring DBD::Teradata (feature-limited free edition)... *************************************************************** * * !!!NOTE TO INSTALLERS!!! * * DBD::Teradata will be built using the following * directives: * Libraries: * Include files: -IC:\PROGRA~1\NCR\TERADA~1\cli\inc * Compile flags: * * If your CLI2 libraries and/or include files are in another * location, please update the TDAT_DBD_CLI_LIB and * TDAT_DBD_CLI_INC environment variables before running * Makefile.PL. * *************************************************************** Checking for DBI, 1.40 or later ... ok Checking for Math::BigInt, 1.73 or later ... ok Checking if your kit is complete... Looks good Writing Makefile for DBD::Teradata C:\strawberry\cpan\build\DBD-Teradata-1.52-tLHaX2>dmake cp lib/DBD/Teradata.pm blib\lib\DBD\Teradata.pm C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap Teradata.xs > Teradata.xsc && C:\straw berry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Teradata.xsc Teradata.c Please specify prototyping behavior for Teradata.xs (see perlxs manual) gcc -c -IC:\PROGRA~1\NCR\TERADA~1\cli\inc -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-ali asing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" "-IC:\strawberry\perl\lib\CORE" Teradata.c Teradata.xs:5:22: coptypes.h: No such file or directory Teradata.xs:6:21: dbcarea.h: No such file or directory Teradata.xs:7:20: coperr.h: No such file or directory Teradata.xs:8:20: parcel.h: No such file or directory Teradata.xs:34: error: syntax error before "DBCAREA" Teradata.xs:34: warning: no semicolon at end of struct or union Teradata.xs:35: warning: data definition has no type or storage class Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_set_debug': Teradata.xs:57: error: syntax error before "dbcp" Teradata.xs:58: error: `dbcp' undeclared (first use in this function) Teradata.xs:58: error: (Each undeclared identifier is reported only once Teradata.xs:58: error: for each function it appears in.) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_init_dbcarea': Teradata.xs:67: error: syntax error before "dbc_ctx" Teradata.xs:68: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:68: error: `dbcp' undeclared (first use in this function) Teradata.xs:72: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:72: error: syntax error before ')' token Teradata.xs:78: error: `EM_OK' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_get_connection': Teradata.xs:101: error: syntax error before "dbc_ctx" Teradata.xs:102: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:102: error: `dbcp' undeclared (first use in this function) Teradata.xs:102: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:149: error: `DBFCON' undeclared (first use in this function) Teradata.xs:156: error: `EM_OK' undeclared (first use in this function) Teradata.xs:176: error: `DBFFET' undeclared (first use in this function) Teradata.xs:184: error: `PclLSN' undeclared (first use in this function) Teradata.xs:188: error: `PclSUCCESS' undeclared (first use in this function) Teradata.xs:191: error: `PclFAILURE' undeclared (first use in this function) Teradata.xs:192: error: `PclERROR' undeclared (first use in this function) Teradata.xs:204: error: `PclENDSTATEMENT' undeclared (first use in this function ) Teradata.xs:205: error: `PclENDREQUEST' undeclared (first use in this function) Teradata.xs:213: error: `REQEXHAUST' undeclared (first use in this function) Teradata.xs:234: error: `DBFERQ' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_get_tdat_release': Teradata.xs:256: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:256: error: syntax error before ')' token Teradata.xs:257: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:257: error: `dbcp' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_cleanup': Teradata.xs:272: error: syntax error before "dbc_ctx" Teradata.xs:273: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:273: error: `dbcp' undeclared (first use in this function) Teradata.xs:273: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:277: error: `DBFDSC' undeclared (first use in this function) Teradata.xs:280: error: `EM_OK' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_send_request': Teradata.xs:302: error: syntax error before "dbc_ctx" Teradata.xs:303: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:303: error: `dbcp' undeclared (first use in this function) Teradata.xs:303: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:334: error: `DBFIRQ' undeclared (first use in this function) Teradata.xs:337: error: `EM_OK' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_wait_for_response': Teradata.xs:358: error: `EM_OK' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_get_response': Teradata.xs:384: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:384: error: syntax error before ')' token Teradata.xs:385: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:385: error: `dbcp' undeclared (first use in this function) Teradata.xs:413: error: `DBFFET' undeclared (first use in this function) Teradata.xs:414: error: `EM_OK' undeclared (first use in this function) Teradata.xs:426: error: `EM_NODATA' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_end_request': Teradata.xs:447: error: syntax error before "dbc_ctx" Teradata.xs:448: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:448: error: `dbcp' undeclared (first use in this function) Teradata.xs:448: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:449: error: `EM_OK' undeclared (first use in this function) Teradata.xs:455: error: `DBFERQ' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_abort_request': Teradata.xs:474: error: syntax error before "dbc_ctx" Teradata.xs:475: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:475: error: `dbcp' undeclared (first use in this function) Teradata.xs:475: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:476: error: `EM_OK' undeclared (first use in this function) Teradata.xs:482: error: `DBFABT' undeclared (first use in this function) Teradata.xs: In function `XS_DBD__Teradata__Cli_tdxs_test_leak': Teradata.xs:504: error: `dbc_ctx' undeclared (first use in this function) Teradata.xs:504: error: syntax error before ')' token Teradata.xs:505: error: `DBCAREA' undeclared (first use in this function) Teradata.xs:505: error: `dbcp' undeclared (first use in this function) Teradata.xs:528: error: `DBFIRQ' undeclared (first use in this function) Teradata.xs:530: error: `EM_OK' undeclared (first use in this function) Teradata.xs:545: error: `DBFFET' undeclared (first use in this function) Teradata.xs:555: error: `DBFERQ' undeclared (first use in this function) dmake.exe: Error code 129, while making 'Teradata.o'