|
|
 |
 |
 |
 |
Perl Programming Language
|
 |
 |
 |
 |
 |
 |
 |
 |
XML::Simple install fails?
Following is a transcript of my attempt to install XML::Simple on a Windows XP box:
C:\>perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.7601) ReadLine support enabled cpan> install XML::Simple CPAN: Storable loaded ok LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz 26 [main] perl 2232 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 1511 [main] perl 2232 open_stackdumpfile: Dumping stack trace to perl.exe.stackdump C:\>
At first I thought maybe the CPAN site was down, but the problem persists so I'm guessing it's something on my machine. I'd appreciate help or pointers on how to solve this. Thanks in advance, Bill
"Bill Cohagan" <b @teraXNOSPAMXquest.com> wrote in message news:4663fd75$0$9900$4c368faf@roadrunner.com... You probably already have XML-Simple-2.16 (the latest version). To check, run: perl -MXML::Simple -e "print $XML::Simple::VERSION" For me (ActiveState build 820) that produces '2.16' - which is the current version. Cheers, Rob
Rob Thanks for the response; however that appears not to be the case; i.e.,
C:\>perl -MXML::Simple -e "print $XML::Simple::VERSION" Can't locate XML/Simple.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5 /site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/ve ndor_perl/5.8 .). "Sisyphus" <sisyph@nomail.afraid.org> wrote in message
news:46640497$0$30175$afc38c87@news.optusnet.com.au...
> "Bill Cohagan" <b@teraXNOSPAMXquest.com> wrote in message > news:4663fd75$0$9900$4c368faf@roadrunner.com... > You probably already have XML-Simple-2.16 (the latest version). > To check, run: > perl -MXML::Simple -e "print $XML::Simple::VERSION" > For me (ActiveState build 820) that produces '2.16' - which is the current > version. > Cheers, > Rob
"Bill Cohagan" <b @teraXNOSPAMXquest.com> wrote in message news:46640b4d$0$9011$4c368faf@roadrunner.com... > Rob > Thanks for the response; however that appears not to be the case; i.e., > C:\>perl -MXML::Simple -e "print $XML::Simple::VERSION" > Can't locate XML/Simple.pm in @INC (@INC contains: > /usr/lib/perl5/5.8/cygwin
Aaah ... sorry. You're earlier post mentioned "Windows" ... but you're using Cygwin. (I was thinking *native* windows and, hence, ActivePerl - *my* mistake :-) Sorry - I don't make any attempt to diagnose problems with CPAN.pm installations (as I never use it). You could perhaps circumvent your problems with CPAN.pm/Cygwin by downloading http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-2.16.ta... , extracting it to some location, cd'ing to that location and running, in succession: perl Makefile.PL make test make install Cheers, Rob
Thanks, I'll give that a try if I can't isolate the problem. I've done the install on a couple of other machines without problems, so it's something peculiar to this machine. I'm going to try a fresh install of (cygwin) perl itself as a first step. Regards, Bill "Sisyphus" <sisyph @nomail.afraid.org> wrote in message news:46640e60$0$14719$afc38c87@news.optusnet.com.au...
> "Bill Cohagan" <b@teraXNOSPAMXquest.com> wrote in message > news:46640b4d$0$9011$4c368faf@roadrunner.com... >> Rob >> Thanks for the response; however that appears not to be the case; i.e., >> C:\>perl -MXML::Simple -e "print $XML::Simple::VERSION" >> Can't locate XML/Simple.pm in @INC (@INC contains: >> /usr/lib/perl5/5.8/cygwin > Aaah ... sorry. You're earlier post mentioned "Windows" ... but you're > using Cygwin. (I was thinking *native* windows and, hence, ActivePerl - > *my* mistake :-) > Sorry - I don't make any attempt to diagnose problems with CPAN.pm > installations (as I never use it). > You could perhaps circumvent your problems with CPAN.pm/Cygwin by > downloading > http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-2.16.ta... > , extracting it to some location, cd'ing to that location and running, in > succession: > perl Makefile.PL > make test > make install > Cheers, > Rob
Rob Reinstalling cygwin/perl didn't help so I tried the alternative you suggested and it appears to have installed without problems. Thanks for the suggestion! Bill "Sisyphus" <sisyph @nomail.afraid.org> wrote in message news:46640e60$0$14719$afc38c87@news.optusnet.com.au...
> "Bill Cohagan" <b@teraXNOSPAMXquest.com> wrote in message > news:46640b4d$0$9011$4c368faf@roadrunner.com... >> Rob >> Thanks for the response; however that appears not to be the case; i.e., >> C:\>perl -MXML::Simple -e "print $XML::Simple::VERSION" >> Can't locate XML/Simple.pm in @INC (@INC contains: >> /usr/lib/perl5/5.8/cygwin > Aaah ... sorry. You're earlier post mentioned "Windows" ... but you're > using Cygwin. (I was thinking *native* windows and, hence, ActivePerl - > *my* mistake :-) > Sorry - I don't make any attempt to diagnose problems with CPAN.pm > installations (as I never use it). > You could perhaps circumvent your problems with CPAN.pm/Cygwin by > downloading > http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-2.16.ta... > , extracting it to some location, cd'ing to that location and running, in > succession: > perl Makefile.PL > make test > make install > Cheers, > Rob
|
 |
 |
 |
 |
|