Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

CPAN: YAML won't install

by sundialsvc4 (Abbot)
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:

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...


Replies are listed 'Best First'.
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).

      What's weird though is that 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://653146]
Approved by randyk
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2018-03-20 14:47 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (254 votes). Check out past polls.