Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Platform Win2000 Server.
I have "ActivePerl-5.6.0.623-MSWin32-x86-multi-thread" and "mysql-3.23.32-win".
In order to make these to work together i need to install DBI-1.14. (Perl DBI module.) and Msql-Mysql-modules-1.2215.(Perl DBD module to access mSQL and MySQL databases.)

As I understand DBI.pm has to be installed before mySQL.pm. I run "Perl MakeFile.pl" in comandline and it makes "makeFile" which has to be run with "dmake.exe".
I have downloaded "dmake.exe" and when I run "dmake MakeFile" it gives this message:
dmake.exe: makefile: line 895: Error -- Expecting macro or rule defn, found neither
and the line 895 is at the buttom of MakeFile:
# --- MakeMaker pm_to_blib section:
....
....
$(PM_TO_BLIB)
<<
@$(TOUCH) $@

I really don't know how to put these 2 modules in.
Can anyone help me?

I appreciate any suggestion
Regards
Ciamak

Replies are listed 'Best First'.
Re: installing DBI.pm on ActivePerl
by dws (Chancellor) on Feb 21, 2001 at 01:41 UTC
    c:\> ppm install dbi

    should do the trick. ActiveState uses the Perl Package Manager (PPM) for installs. See their online documentation for details.

Re: installing DBI.pm on ActivePerl
by arturo (Vicar) on Feb 21, 2001 at 01:42 UTC

    You can avoid a lot of the sorts of headaches you're getting by using the PPM tool. Read up on it in the docs that came with your Perl distribution.

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Re: installing DBI.pm on ActivePerl
by Caillte (Friar) on Feb 21, 2001 at 16:41 UTC

    I have yet to find a version of make for dos that likes the standard perl makefiles. Generally the best and only wy to install code is via a package manager. In dos you have two options:

    ppm install dbi
    perl -MCPAN -e shell

    Ad then typing 'install DBI'. With this second version you will find you will probably have to configure the CPAN interface first.

    $japh->{'Caillte'} = $me;

Re: installing DBI.pm on ActivePerl
by rrwo (Friar) on Feb 22, 2001 at 03:15 UTC