in reply to Instructions to install DBI.pm in Win2k - "make" does nuttin' poppi?!

Download nmake.exe from Microsoft. Double-click the exe and it should expand to three files. Put the new nmake executable and the error list into a directory in your path. If you wish, you can rename nmake.exe to make.exe and it will still work, but allow you to type 'make' instead of 'nmake' (some people prefer that).

Once you do that, extract the archive to a temp directory and CD to that directory. Then follow the usual steps:

perl Makefile.PL make make test make install

Assuming you have ActiveState Perl, you can use PPM to install modules. Type "perldoc PPM" on a command line for more info. It's pretty simple:

C:\>ppm PPM interactive shell (2.1.5) - type 'help' for available commands. PPM> install DBI Install package 'DBI?' (y/N):

Answer the question and type "quit" to exit.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Replies are listed 'Best First'.
(tye)Re: Instructions to install DBI.pm in Win2k - "make" does nuttin' poppi?!
by tye (Sage) on Dec 04, 2001 at 01:30 UTC

    Two notes:

    1. DBI contains *.xs files (which contain C code) so grabbing a version of "make" won't do you much good unless you also have a C compiler (which probably comes with a version of "make" anyway).
    2. You don't have to have an ActiveState distribution of Perl to use PPM. For example, Perl from indigostar supports the same PPM format and even comes with a GUI package manager, as well as a less-restrictive license, a less opaque installation procedure (which is a disadvantage if you wanted a standard GUI install process), and a web server.

            - tye (but my friends call me "Tye")