With ActiveState Perl, you should install all your modules using the ppm
utility which comes with it.  This will install the precompiled binary DBI
version.  

Make sure you have internet connection at the time and no firewall and
execute this command...

ppm install DBI

This will install DBI, do the same for DBDs, (ppm install DBD::Oracle,
etc...).

Read the ppm docs, which come with ActiveState if you have a firewall and
how to bypass.

Ilya Sterin

-----Original Message-----
From: Liz Keogh
To: [EMAIL PROTECTED]
Sent: 06/05/2001 9:20 AM
Subject: DBI module with Windows 2000

Hi, sorry if this question is a little newbie.

I'm trying to install the DBI module on Windows 2000. I have 
ActiveState's Active Perl installed (and it works fine), but I don't
have 
cl.exe. I can't install anything which requires a licence (so I can't
get 
cl.exe from Visual Studio).

Has anyone tried to install DBI with this setup? Does anyone know 
where I can get a copy of cl.exe, or what I need to do to use a 
different c compiler (I think that's what cl.exe is). Or does anyone 
know what I can do with my config.pm file, etc., to make PPM work?

At the moment these are the errors I get:

C:\DBI>make
Makefile:904: *** missing separator.  Stop.

C:\DBI>nmake
(... all works fine until ...)
'cl' is not recognized as an internal or external command,
operable program or batch file.

C:\DBI>ppm
PPM interactive shell (2.1.5) - type 'help' for available commands.
PPM> install dbi
Install package 'dbi?' (y/N): y
Installing package 'dbi'...
Error installing package 'dbi': Read a PPD for 'dbi', but it is not 
intended for this build of Perl (MSWin32-x86-multi-thread)

Cheers,
Liz.

Reply via email to