What you forgot to read, is that ActiveState comes with PPM, which allows
binary installations from the repositories, and therefore you don't have to
compile.

ActiveState does not have the current DBI in their repository, so you must
install from www.xmlproj.com/PPM

Here is how to do it.  In command prompt...

ppm set repository XMLPROJ http://www.xmlproj.com/PPM

Then...

ppm install DBI-1_20

This will install DBI 1.20.

Then use...

ppm install DBD::ODBC

To install the ODBC.pm from ActiveState.

Ilya

-----Original Message-----
From: mwm
To: [EMAIL PROTECTED]
Sent: 12/16/01 10:25 PM
Subject: module install failure

using AS perl 5.6 on winNT4.0 sp6 & new to perl

I have spent the entire weekend trying to install DBI 1.20 24th Aug 2001

First I followed the instructions in its readme file.
that didn't work after the 1st step: perl Makefile.PL
as i don't have a make, nmake, ect..

after reading perldoc for DBI.PM & spending countless hours reading web
doc
on several sites i also tried the following.

Second using web docs I tried to run: perl -MCPAN -e shell
cpan> install DBD::ODBC
that didn't work because:    
'can't locate loadable object for module DBI in @INC (@INC contains:
C:/Perl/lib C:/Perl/site/lib) at C:/Perl/lib/DBI.pm line 189

BEFORE  this attempt I did run:    cpan> install DBI
the result was that the DBI.pm already install is current or somthing to
that effect.
I checked and DBI.pm is in the right place under C:/Perl/lib.

Third I tried to run: ppm from a cmd prompt
then at:    PPM> search
after a short wait the ppm prompt returns without any results,
docs say i should get a list of modules.

also tried  to see if i could install this:    PPM> install DBD::ODBC
results were:    retrieving package  'DBD-ODBC'......
                      Error installing package 'DBD-ODBC' : Could not
locate
                      a PPD file for package DBD-ODBC

Forth I went to ActiveState's archives downloaded the dbdodbc.zip file
unzipped/expanded the files and followed the readme file, which says
run the following command in the current directory:    ppm install
DBD-ODBC.ppd
 
results were simular to the third attemp:    Error installing package
'DBD-ODBC' : Could not locate a PPM binary of 'DBD-ODBC.ppd' for this
platform

I have spent two days trying to work arround these problems without any
success.
I thought originally, that if I knew where the expand/unzipped files
belong
it would be just a matter of moving 'somemodule.pm' to its correct home.

I know that my errors are caused by syntax errors but ................

Reply via email to