Re: Problem In installing DBI in Win NT machine

2001-09-27 Thread Burak Gursoy

ppm gets the archive(s) from activestate.com. so, you have to be connected
to internet during installation...


- Original Message -
From: Abhra [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Abhra [EMAIL PROTECTED]
Sent: Thursday, September 27, 2001 4:59 PM
Subject: Problem In installing DBI in Win NT machine


 Hello

 I am a beginner in Perl . I have installed Active perl latest version in
 my Win NT machine. I am trying to install DBI module in my machine by
 both ppm and manual method. While installing I am facing following
 problem

 1. while trying to install  DBI in WIN NT machine by ppm  I gave
 following command
 ppm
 ppm   Install DBI

 It gives error:  Could not locate a PPD file for the package BDI.
 Please note during installation internet connection was on and done
 proxy setting.

 2. While trying to install by manual ,i have down loaded DBI madules
 from CPAN and gave following command

  perl Makefile.pl
  nmake
   it gives error : The name specified is not recognised as an
 internal or external command,operable program or batch file
 Please note: In my machine namke is available not dmake

 Can any body suggest me the remedy for the following problem and how i
 can install DBI in my window Nt machine


 Thanking in advance


 Abhra







Re: Problem In installing DBI in Win NT machine

2001-09-27 Thread eingb

On 27 Sep 2001, at 19:29, Abhra wrote:

 Hello
 
 I am a beginner in Perl . I have installed Active perl latest version
 in my Win NT machine. I am trying to install DBI module in my machine
 by both ppm and manual method. While installing I am facing following
 problem
 
 1. while trying to install  DBI in WIN NT machine by ppm  I gave
 following command
 ppm
 ppm   Install DBI
 
 It gives error:  Could not locate a PPD file for the package
 BDI. Please note during installation internet connection was on
 and done
 proxy setting.

If the error message was paisted from ppm's output, there was a typo 
(BDI instead of DBI).
Configure your internet connection not to use a http proxy. Note that 
there is probably software running on your machine acting like a 
local http proxy and you are not aware of it ( a few months ago i was 
almost at loss of my senses, because ppm stopped to work without any 
evident reason, until I discovered that it was my ad filter which I 
had placed in the startup folder for some reason). If you, for some 
reason, want to use a http proxy, did you follow the respective 
instructions in the ppm manual (setting the environment variables 
HTTP_proxy and probably HTTP_proxy_user and HTTP_proxy_pass)?

 
 2. While trying to install by manual ,i have down loaded DBI madules
 from CPAN and gave following command
 
  perl Makefile.pl
  nmake
   it gives error : The name specified is not recognised as an
 internal or external command,operable program or batch file
 Please note: In my machine namke is available not dmake

You did not tell us after which command you got this error (after the 
perl Makefile.pl or after the nmake). Check that both are in your 
path. Have you a got C compiler installed (the DBI contains embedded 
C code which needs to be copmiled)? Note that it may be necessary to 
build your whole perl installation from the sources with your 
compiler...

Although it may make one feel somewhat dependent on ActiveState, as 
soon as you are working with their Perl distribution, always try to 
install modules with ppm as long as there are ppm packages for it. 
This is the case for DBI.

HTH

Bodo




Re: Problem In installing DBI in Win NT machine

2001-09-27 Thread Bart Lateur

On Thu, 27 Sep 2001 19:29:29 +0530, Abhra wrote:

1. while trying to install  DBI in WIN NT machine by ppm  I gave
following command
ppm
ppm   Install DBI
   
It gives error:  Could not locate a PPD file for the package BDI.
Please note during installation internet connection was on and done
proxy setting. 

You can still use PPM with downloaded archives. You need both a ppd file
and the .tar.gz file, the ppd file must point to your local copy of the
.tar.gz file (preferably with a relative URL). You can get a ZIP from
Activestate's site with both the .tar.gz file (actually, 3 of them --
one for each target platform) and an adjusted ppd file. Unzip (but don't
ungzip-untar), and try again from within the directory you unzipped them
into.

http://www.activestate.com/PPMPackages/zips/6xx-builds-only/

-- 
Bart.