|
Posted by rajesh on March 14, 2006, 6:53 am
Please log in for more thread options
HI Rob,
Thanks a lot. it works now. But as I guess the DBI is not
coming by default with active state perl even for higher verison also
like 6. finallly I got the right ppm and could able to install DBI
offline.
thanks
Rajesh
Sisyphus wrote:
> "rajesh" <sivarajesh.jarugula@gmail.com
>
> > If I try
> > to install that .ppd file it is saying "no suitable installation target
> > found for package DBI". Shall I need DBI.pm file?
>
> That usually means that the ppm you tried to install was built for a
> different version of perl (or a different OS) to what you have. Have a look
> inside the ppd file. Since you're using perl 5.8 on Win32 you want to find
> in there:
>
> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
>
> If it says:
>
> <ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
>
> then it was built for Win32, but for perl 5.6. And if it was built for some
> OS other than Win32, it will be different again.
>
> However, if you're running ActiveState perl, then you should already have
> DBI - as that package is included as standard with ActiveState perl. To
> check that you have it, enter:
>
> perl -MDBI -e "print $DBI::VERSION"
>
> That should report the version of DBI that you have. If you don't have DBI
> it will present you with an error message complaining that DBI.pm could not
> be found.
>
> Cheers,
> Rob
|