Re: regarding DBI module not working windows 2010

Alexander Foken <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Hi,

On 08.01.2012 19:27, Sridhar Dachepelly wrote:
> Hello,
>
> I am trying to use DBI module in Windows 2010 server, i have installed perl
> 5,14 version (64-BIT). DBI module is not working and giving errors.
> Could you please look into the below errors and suggest what we can do for
> the same.
>
> C:\intranet\integration\cards>perl label2.pl
> Use of :unique is deprecated at C:/Program
> Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/MSWin32-x86-multi-thread/Config.pm
> line 39.
> Use of :unique is deprecated at C:/Program
> Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/MSWin32-x86-multi-thread/Config.pm
> line 1050.
> Perl lib version (v5.8.6) doesn't match executable version (v5.14.2) at
> C:/Program Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/MSWin32-x86-mult
> i-thread/Config.pm line 32.

You have mixed different Perl versions. That won't work, and now your 
installation is broken beyond repair.

Remove both Perl installations and re-install the newer one. Then 
re-install all required modules, using the cpan tool on Strawberry Perl, 
or using the ppm tool on ActiveState Perl.

> Compilation failed in require at C:/Program
> Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/MSWin32-x86-multi-thread/DynaLoader.pm
> line 25.
> BEGIN failed--compilation aborted at C:/Program
> Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/MSWin32-x86-multi-thread/DynaLoader.pm
> line 25.
> Compilation failed in require at C:/Program
> Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/DBI.pm line 160.
> BEGIN failed--compilation aborted at C:/Program
> Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/DBI.pm line 160.
> Compilation failed in require at label2.pl line 1.
> BEGIN failed--compilation aborted at label2.pl line 1.
>
>
> Thanks,
> Shridhar.
>
Alexander

-- 
Alexander Foken
mailto:[email protected]  http://www.foken.de/alexander/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.