Re: Installing Perl DBI



Sorry, compiling from source on Win32 is nothing for beginners. I doubt Raja has properly installed nmake and the C compiler ActivePerl 5.6 was compiled with. For a beginner, installing PPDs from ActiveState's repository is much easier and faster.

Don't get me wrong: It is possible to use "perl Makefile.PL ; nmake ; nmake test ; nmake install" on ActivePerl, but it can cause a lot of trouble (missing nmake, missing C compiler, wrong C compiler, spaces in path to C compiler, tests failing on Windows, and so on) , resulting in a lot of questions posted to various mailing lists, frustration and wasted time. PPM and PPD files are probably not the best idea since the wheel, but they do work without much trouble.

As a simple rule of thumb for beginners:

If you use ActivePerl on Win32, use the ActiveState repository for modules and google for PPDs of modules not stored there. (Some modules on CPAN list a private PPD repository in their documentation, use http://search.cpan.org/)
If you use Perl on non-Win32 platforms (including cygwin) or compiled it yourself from CPAN, use CPAN for modules.


Alexander

Gupta, Razat wrote:

Try it with nmake and nmake install instaed of PPM if you have downladed
the DBI.

Regards
Razat

-----Original Message-----
From: Dilly raja [mailto:rajadilly@xxxxxxxxx] Sent: Tuesday, January 24, 2006 2:21 AM
To: dbi-users@xxxxxxxx
Subject: Reg: Installing Perl DBI



I have installed ActivePerl-5.6.1.638-MSWin32-x86 in my Windows-Xp system. I have to install perl DBI on it. I dont have Internet connection. i downloaded the DBI-1.50.tar from the net and unzipped and saved in a location. when i try to type the command "Install dbi" in the PPM> it gives the "error cannot locate .PPD file." like this. I am new to perl but i want to install the Perl DBI. What should i do if i want to install the perl dbi in my system. Tell it step by step procedure that i want to do.

--
Friendly,
Raja.M





--
Alexander Foken
mailto:alexander@xxxxxxxx  http://www.foken.de/alexander/

.



Relevant Pages

  • Re: ActiveState vs. "C:Program Files" and "C:Progra~1"
    ... The advice usually offered is to simply not install perl into any directory containing white space. ... I've never known ActivePerl to create a perl\site\bin folder. ... That's a fairly old version of nmake. ...
    (comp.lang.perl.misc)
  • Re: using PAR (pp) for executables
    ... Possibly by simply entering nmake straight after. ... Running nmake should install those modules for you and might also ... have your own MSVC++ compiler. ... where you ran 'perl Makefile.PL') and see how it goes. ...
    (comp.lang.perl.misc)
  • Re: RubyNodes gems and setup.rb failing....
    ... gem install and the setup.rb without any success. ... So I'm guessing my issue is I need to install a 'nmake' program for XP ... You need a compiler to compile and install binary gems. ...
    (comp.lang.ruby)
  • Perl on Windows
    ... I need to write to the eventlogs and Im trying to install 'libwin32' ... nmake is installed ... Visual Studio C++ is installed for the cl compiler ...
    (comp.lang.perl.modules)
  • problems about gcc installation
    ... i need to install gcc, and when i install it, the following problems ... configure: loading cache ./config.cache ... checking for C compiler default output file name... ... checking whether the linker supports shared libraries... ...
    (comp.unix.programmer)