Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Perl Monk, Perl Meditation.
 
PerlMonks

Winxp, AS perl 5.10 and cpan error

by grizzley (Hermit)
 | Log in | Create a new user | The Monastery Gates | Super Search | 
 | Seekers of Perl Wisdom | Meditations | PerlMonks Discussion | 
 | Obfuscation | Reviews | Cool Uses For Perl | Perl News | Q&A | Tutorials | 
 | Poetry | Recent Threads | Newest Nodes | Donate | What's New | 

on Aug 22, 2008 at 07:39 UTC ( #706074=perlquestion: print w/ replies, xml ) Need Help??
grizzley has asked for the wisdom of the Perl Monks concerning the following question:

I finally installed ActiveState perl 5.10 and started working with it. Its nice. But when I try to run cpan, I get an error, which blocks all tasks:

cpan> i /Run/ CPAN: Storable loaded ok (v2.18) Going to read C:\Perl\cpan\Metadata Database was generated on Wed, 06 Aug 2008 10:02:50 GMT CPAN: LWP::UserAgent loaded ok (v5.810) CPAN: Time::HiRes loaded ok (v1.9711) Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz CPAN: YAML::XS loaded ok (v0.26) Alert: While trying to 'parse' YAML file 'C:\Perl\cpan\FTPstats.yml' with 'YAML::XS' the following error was encountered: Usage: YAML::XS::LibYAML::Load(yaml_str) at C:\Perl\lib/YAML/XS.pm l +ine 70.
Does anyone know how to fix it? I have a talk about Perl (at work for other employees to populate Perl) in my schedule next Wednesday and would be really happy if didn't have to go back to perl 5.8, which worked without such error.

Comment on Winxp, AS perl 5.10 and cpan error
Download Code
Re: Winxp, AS perl 5.10 and cpan error
by Anonymous Monk on Aug 22, 2008 at 07:47 UTC
    1. Google it. 2. Turn on debugging/verbosity 3. Try using cpanp (core since 5.009005)
[reply]
Re: Winxp, AS perl 5.10 and cpan error
by jand (Friar) on Aug 23, 2008 at 01:17 UTC
    Edit C:\Perl\lib\CPAN\Config.pm and change the yaml_module entry from
    'yaml_module' => q[YAML::XS],
    to
    'yaml_module' => q[],
[reply]
[d/l]
[select]
      That's fixed it! Thank a lot!
[reply]
      d@mn, $#!t worked for me too. Thanks dawg
[reply]
        By now ActivePerl 5.10.0.1004 has been released, which contains a fixed YAML::LibYAML module, so it is no longer necessary to disable the yaml_module in the CPAN configuration.
[reply]

Back to Seekers of Perl Wisdom


Login:
Password
remember me
What's my password?
Create A New User

Node Status
node history
Node Type: perlquestion [id://706074]
Approved by moritz
help
Community Ads
Chatterbox
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users
Others scrutinizing the Monastery: (11)
GrandFather
wfsp
atcroft
herveus
Not_a_Number
Eyck
$self
matze77
vishi83
gnosti
WizardOfUz
As of 2009-11-21 09:37 GMT
Sections
The Monastery Gates
Seekers of Perl Wisdom
Meditations
PerlMonks Discussion
Categorized Q&A
Tutorials
Obfuscated Code
Perl Poetry
Cool Uses for Perl
Perl News
Information
PerlMonks FAQ
Guide to the Monastery
What's New at PerlMonks
Voting/Experience System
Tutorials
Reviews
Library
Perl FAQs
Other Info Sources
Find Nodes
Nodes You Wrote
Super Search
List Nodes By Users
Newest Nodes
Recently Active Threads
Selected Best Nodes
Best Nodes
Worst Nodes
Saints in our Book
Leftovers
The St. Larry Wall Shrine
Offering Plate
Awards
Craft
Snippets Section
Code Catacombs
Quests
Editor Requests
Buy PerlMonks Gear
PerlMonks Merchandise
Planet Perl
Perlsphere
Use Perl
Perl.com
Perl 5 Wiki
Perl Jobs
Perl Mongers
Perl Directory
Perl documentation
CPAN
Random Node
Voting Booth

Future historians will find that the material characteristic of the current era is...

Aluminium
Plastic
Oil
Water
Carbon dioxide
Copper
Iron
Silicon
Salt
Uranium
Hydrogen
Other

Results (729 votes), past polls