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

Reply via email to