in reply to Re: How to connect to a remote teradata machine using perl on windows machine and execute BTEQ commands
in thread How to connect to a remote teradata machine using perl on windows machine and execute BTEQ commands

ya i have gone through it and installed DBI trough cpan and while intalling DBD::Teradata i am getting a large bunch of errors. and at last iam getting
DARNOLD/DBD-Teradata-1.52.tar.gz C:\Dwimperl\c\bin\dmake.EXE -- NOT OK CPAN: YAML loaded ok (v0.77) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
  • Comment on Re^2: How to connect to a remote teradata machine using perl on windows machine and execute BTEQ commands
  • Download Code

Replies are listed 'Best First'.
Re^3: How to connect to a remote teradata machine using perl on windows machine and execute BTEQ commands
by Corion (Patriarch) on Nov 03, 2014 at 10:28 UTC

    So parts of the installation fail. You will have to look at what parts fail. This information is further up in the installation output.

    The README included with DBD::Teradata says that `The provided test suite is not suitable for normal Perl "make test"´ , so you will have to adapt your approach to that. My rough suggestion is to start a CPAN shell and then use the look command to proceed manually with the installation:

    cpan cpan> look DBD::Teradata > perl Makefile.PL > make test > make install > exit

    Also note that the documentation of DBD::Teradata links to http://www.presicient.com/tdatdbd/ which supposedly has a more supported and more complete version.

Re^3: How to connect to a remote teradata machine using perl on windows machine and execute BTEQ commands
by marto (Cardinal) on Nov 03, 2014 at 10:25 UTC

      i tried to install DBD::Teradata as below and i am using windows

        !!!NOTE TO INSTALLERS!!!

        Looks like you didn't read this part, or the module documentation on cpan. If you want to make life needlessly difficult for yourself continue to ignore this.

        It seems your system cannot find the library and header files necessary to build this module. Are you sure you have these files on your system?

        The help file of this module specifically lists the following files and libraries to be made available:

        • libcliv2.so
        • libtdusr.so
        • libtdgss.so
        • parcel.h
        • dbcarea.h
        • coperr.h
        • coptypes.h
        • errmsg.cat
        • clispb.dat

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        My blog: Imperial Deltronics