in reply to Re: Problem encountered while installing DBI and DBD::ODBC modules
in thread Problem encountered while installing DBI and DBD::ODBC modules

Hi,
Thank You, I've installed DBI without any problem, while installing that, the following message gets displayed

"You are using a perl configured with threading enabled. You should be aware that using multiple threads is not recommended for production environments." But this is not a problem.

After that, I've started installing the DBD::ODBC, the following error gets displayed.

"Useless use of private variable in void context at C:\Documents and Settings\anb u\Desktop\Perl modules\DBD-ODBC-1.11\Makefile.PL line 430. Configuring DBD::ODBC ... >>> Remember to actually *READ* the README file! And re-read it if you have any problems. *** Warning: whitespace characters in the current directory path (C:/Documents a nd Settings/anbu/Desktop/Perl modules/DBD-ODBC-1.11) may cause problems *** You're using Microsoft Visual C++ compiler or similar but the LIB and INCLUDE environment variables are not both set. You need to run the VCVARS32.BAT batch file that was supplied with the compiler before you can use it. A copy of vcvars32.bat can typically be found in the following directories under your Visual Studio install directory: Visual C++ 6.0: vc98\bin Visual Studio .NET: vc7\bin Find it, run it, then retry this. If you think this error is not correct then just set the LIB and INCLUDE environment variables to some value to disable the check."

Regards,
Saravanan.S
  • Comment on Re^2: Problem encountered while installing DBI and DBD::ODBC modules

Replies are listed 'Best First'.
Re^3: Problem encountered while installing DBI and DBD::ODBC modules
by mje (Curate) on Feb 25, 2009 at 14:00 UTC

    What part of the advice output don't you understand? You need a C compiler to compile DBD::ODBC and it needs to know where to find it and how to use it - both of which are fixed by following the recommendation made of finding and running vcvars32.bat.

Re^3: Problem encountered while installing DBI and DBD::ODBC modules
by moritz (Cardinal) on Feb 25, 2009 at 13:44 UTC
    Remember to actually *READ* the README file! And re-read it if you have any problems.

    So, did you?