[OpenAFS] Re: AFS Perl Modules and Ubuntu

Jean-Marc Choulet jm130794@gmail.com
Fri, 05 Sep 2014 22:13:26 +0200


I set AFS_SYSNAME

# export AFS_SYSNAME='amd64_linux26'

Now, I get errors :

perl Makefile.PL
Checking if your kit is complete...
Looks good

Path to the AFS installation (libraries, binaries, header files) to be 
used for this installation?       [unknown] /usr
/usr/bin/ld: cannot find -lubik
collect2: error: ld returned 1 exit status
ERROR from evaluation of /afs/mycell/users/me/AFS-2.6.3/src/Makefile.PL:
Could not compile test code to retrieve the version of AFS system 
libraries...

Le 05/09/2014 20:06, Jean-Marc Choulet a écrit :
> Hello,
>
> 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]
>   NOG/AFS-2.6.3.tar.gz
>   /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 prerequisites
>
>
> Any ideas ?
>
> Jean-Marc
>