[OpenAFS] AFS Perl Modules and Ubuntu

Jean-Marc Choulet jm130794@gmail.com
Fri, 05 Sep 2014 20:06:57 +0200


I must install some Perl scripts on a Ubuntu 12.04. These scripts use 
AFS::VOS, ... Perl modules. Ubuntu doesn't have deb packages.

I installed the libopenafs-dev package and my host is a AFS client.

I tried to install these modules avec cpan but I have errors :

# LANG=C cpan AFS::VOS
Going to read '/home/jm/.cpan/Metadata'
   Database was generated on Thu, 04 Sep 2014 23:41:02 GMT
Running install for module 'AFS::VOS'
Running make for N/NO/NOG/AFS-2.6.3.tar.gz
Checksum for /home/jm/.cpan/sources/authors/id/N/NO/NOG/AFS-2.6.3.tar.gz ok

   CPAN.pm: Going to build N/NO/NOG/AFS-2.6.3.tar.gz

Checking if your kit is complete...
Looks good

Path to the AFS installation (libraries, binaries,
header files) to be used for this installation?       [/usr]
ERROR from evaluation of 
/home/jm/.cpan/build/AFS-2.6.3-jE1h6I/src/Makefile.PL: Invalid version 
format (non-numeric data) at ./Makefile.PL line 144.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
   /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
   Make had some problems, won't test
Running make install
   Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine 

Any ideas ?