From link http://search.cpan.org/~timb/DBI-1.609/lib/Bundle/DBI.pm I have downloaded DBI-1.609.tar.gz in the path "C:\Users\manish\Desktop\DBI Module"
I extracted files in the same place.
Now on the command prompt, I went to path C:\Users\manish\Desktop\DBI Module\DBI-1.609
On the command prompt, I am used command "perl makefile.pl" as per the instruction in documentation. I am getting following message
It looks like you don't have a C compiler on your PATH, so you will no
+t be
able to compile C or XS extension modules. You can install GCC from t
+he
MinGW package using the Perl Package Manager by running:
ppm install MinGW
*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.
Argument "6.55_02" isn't numeric in numeric ge (>=) at makefile.pl lin
+e 110
*** Warning: whitespace characters in the current directory path (C:/U
+sers/
sh/Desktop/DBI Module/DBI-1.609) 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.
How do I set INCLUDE and LIB variables ? How can I make this work ? When I am trying to execute perl file (makefile.pl), why am I getting message for C++ ?
Please explain how to set up this environment
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.