in reply to Installing Bundle::DBI

You are attempting to install a bundle of modules.

Modules sometimes contain C code, which is used to implement parts that run faster than the perl equivalent would.

There are easier ways to install modules, and on Windows, precompiled, packaged modules are available.

First, determine what flavour of perl you use. Run the command:

perl -v
If the output contains the words "Activestate", such as:
Binary build 1003 [285500] provided by ActiveState http://www.ActiveSt +ate.com
Then you can use "PPM" to install modules. In your case, enter:
ppm install DBI
and that should do all the work for you.

If it is not activestate, you will probably need to use the "cpan" command.

     Theory is when you know something, but it doesn't work.
    Practice is when something works, but you don't know why it works.
    Programmers combine Theory and Practice: Nothing works and they don't know why.         -Anonymous

Replies are listed 'Best First'.
Re^2: Installing Bundle::DBI
by manishrathi (Beadle) on Feb 10, 2010 at 03:37 UTC
    Whats the difference between ActiveState command and CPAN command ?
    I was under the impression that whatever Perl I install, commands will be the same. I thought, CPAN is central repository for modules and if I need a module, I can download it from there. I did not know that CPAN has commands too.
    Where ca I find CPAN commands ?
    How many different flavors of Perl are there for windows ? Whats the reason that so many flavors of Perl are created for windows ? Can anyone create a separate flavor of Perl ? Are the commands very much different for different flavors of Perl ? Are these commands designed separately ? Is it rrequired to program all the commands separatelt or one can keep whatever commands he wants to keep as same and change the commands wherever he wants ? If I have ActiveState perl and I want to change behavior of a command , can I do that ? How to access command files ? How to find commands for these different flavors ?

    whats the reason that "perl makefile.pl" gives compiler message for c++ ? Is "makefile" C file or Perl file ?
    How can I use INCLUDE as environment variable ? I dont see it in my liost of environment variables. Do I need to create INCLUDE and LIB separately on my computer ? What values do I need to put in INCLUDE and LIB ?
      Those are all excellent questions, and I would encourage you to research the subjects in the fine manual that came with your installation, and search the internet.

      Reasonable questions for this forum would be a lot more specific - after you have made an attempt (like installing DBI), done basic forensics, and have a specific issue.

           Theory is when you know something, but it doesn't work.
          Practice is when something works, but you don't know why it works.
          Programmers combine Theory and Practice: Nothing works and they don't know why.         -Anonymous