Re: Installing Perl DBI
- From: alexander@xxxxxxxx (Alexander Foken)
- Date: Tue, 24 Jan 2006 13:21:25 +0100
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/
.
- References:
- RE: Installing Perl DBI
- From: Razat Gupta
- RE: Installing Perl DBI
- Prev by Date: RE: Installing Perl DBI
- Next by Date: bind varray as in or inout param
- Previous by thread: RE: Installing Perl DBI
- Next by thread: bind varray as in or inout param
- Index(es):
Relevant Pages
|
|