Navigation

 

Archives

May 2008
S M T W T F S
« Apr   Jul »
 123
45678910
11121314151617
18192021222324
25262728293031

Recent Comments

Local Weather

Related Posts

Stats

Meta

Fixing the Perl Module “only available with the XS version” Error

When trying to install or upgrade a perl module using cpan, you may get an error stating that the module you are trying to install “is only available with the XS version”

This error tends to rear its ugly head after you have updated perl. The module Scalar::List::Utils contains both an XS and a pure perl version. Many other modules rely on the XS version in order to function. This is where you run into that error.

Fortunately the fix is quite simple! Simply reinstall Scalar::List::Utils manually.

wget http://cpan.netnitco.net/authors/id/G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz
tar zxvf Scalar-List-Utils-1.19.tar.gz
cd Scalar-List-Utils-1.19
perl Makefile.PL
make test install

Once this is done, try performing the installation of the module that failed with the “is only available with the XS version” error. It should now complete successfully!

Blogged with the Flock Browser

Tags: , , , , ,

Spread the word: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • NewsVine
  • Technorati
  • StumbleUpon
  • YahooMyWeb
  • Reddit

Write a comment





Subscribe without commenting.