Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

CPAN: YAML won't install

by sundialsvc4 (Monsignor)
on Nov 27, 2007 at 04:33 UTC ( #653146=perlquestion: print w/ replies, xml ) Need Help??
sundialsvc4 has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install YAML on a slightly-old shared system and I'm getting an error-message sequence exactly like the one shown here:

http://www.nntp.perl.org/group/perl.cpan.testers/2007/06/msg515703.html

Usually my experience has been that there's some kind of “hidden prerequisite,” incorrectly omitted from the YAML manifest. But it's not really obvious in this case what the problem might be. Obviously I'm not the only one to have encountered it... “CPANTS” did too...

Ideas?

Comment on CPAN: YAML won't install
Re: CPAN: YAML won't install
by andreas1234567 (Vicar) on Nov 27, 2007 at 07:12 UTC
    I would be easier to assist if you stated your version of Perl, OS and archtecture. The link you provided reports an attempt to install YAML version 0.65 on Perl version 5.6.2, OS linux 2.6, architecture i686-linux-64int, so I assume your system is identical.

    The test reports shows that last two releases of YAML fails for all tested systems running Perl version 5.6:

    YAML 0.66: * FAIL 698872 5.6.2 on Freebsd 6.1-release (i386-freebsd) * FAIL 673079 5.6.2 on Freebsd 6.2-release (amd64-freebsd) * FAIL 663843 5.6.2 on Darwin 8.10.0 (darwin-thread-multi) * FAIL 660806 5.6.2 on Linux 2.6.16-2-k7 (i686-linux-64int) YAML 0.65: * FAIL 649648 5.6.2 on Freebsd 6.1-release (i386-freebsd) * FAIL 612710 5.6.2 on Netbsd 3.1 (i386-netbsd-thread-multi-64int) * FAIL 612317 5.6.2 on Netbsd 3.1 (i386-netbsd-thread-multi-64int) * FAIL 537050 5.6.2 on Linux 2.6.16-2-k7 (i686-linux-64int) * FAIL 515791 5.6.2 on Linux 2.4.27-3-686 (i686-linux) * FAIL 515703 5.6.2 on Linux 2.6.16-2-k7 (i686-linux-64int)
    If the above assumption holds, I guess you would benefit from upgrading your version of Perl (from 5.6 -> 5.8).
    --
    Andreas

      What's weird though is that YAML.pm only specifies a minimum Perl version of 5.6.1:

      use 5.006001;

      diotalevi mentions that Filter::Util::Call needs to be installed for YAML 0.62 to work and it doesn't look to me as if the Makefile.PL declares that in 0.66 either.

      Update: Fixed link to bug - [rt://] only links to bug queues, not to specific bugs

Re: CPAN: YAML won't install
by eserte (Deacon) on Nov 27, 2007 at 21:46 UTC
    YAML::Syck works with perl 5.6.2, the basic API is compatible with YAML, and it's way faster.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://653146]
Approved by randyk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2014-07-31 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (242 votes), past polls