November 30, 2007
Fedora Core / RHEL don't seem to come with up-to-date versions of Scalar::Util
I ran into this problem once before on a Red Hat Enterprise Linux machine, and now I am having the same problem on my Fedora Core (7 I think) machine. The problem is that CPAN is unable to install various things, in particular Bundle::CPAN, because:You don't have the XS version of Scalar::UtilI have also run into problems where I get an error message like:
Weak references are not implemented in the version of perlBoth of these can be fixed by using CPAN to install an up-to-date version of Scalar::Util:
perl -MCPAN -e shellYou might have to force the install if you have an up-to-date version of Scalar::Util (which I did) but it had been compiled without the proper options to support XS.
force install Scalar::Util
If you are interested in finding out more a simple search should turn up lots more information. I find it shocking that modern Perl distributions can be around that leave out such a commonly-used feature. Hopefully Redhat / Fedora will get around to fixing it in their next release (and if not, at least I've left myself a note here.)
Comments
Provide your email address when commenting and Gravatar will provide general portable avatars, and if you haven't signed up with them, a cute procedural avatar with their implementation of Shamus Young's Wavatars.Re: Fedora Core / RHEL don't seem to come with up-to-date versions of Scalar::Util
Posted 15 years, 4 months ago by Josh • • • Reply
Re: Fedora Core / RHEL don't seem to come with up-to-date versions of Scalar::Util
Posted 15 years, 4 months ago by Fugu • • www • Reply
Re: Fedora Core / RHEL don't seem to come with up-to-date versions of Scalar::Util
Posted 15 years, 3 months ago by Pierre Jochem • @ • • Reply
Re: Fedora Core / RHEL don't seem to come with up-to-date versions of Scalar::Util
Posted 15 years, 1 month ago by Ian • • • Reply
Re: Fedora Core / RHEL don't seem to come with up-to-date versions of Scalar::Util
But
force install Bundle::CPAN
and
upgrade
immediatelly after this was also useful for me.
Posted 14 years, 8 months ago by Anonymous • • www • Reply
Comments have now been turned off for this post