Subject: | TAP/Harness.pm not installed |
The TAP/Harness.pm file is not installed. This makes the installation of
various modules fails, because this file is required for testing them.
The problem seems to come from that fact that the installation directory
is ignored for some parts: installation of Test-Harness 3.23 tries to
uninstall files from the system installation (in /usr), while I'm
installing the module in my HOME directory.
The system is Debian/lenny, with perl v5.10.0 (from Debian). The
libtest-harness-perl Debian package isn't installed. I'm going to ask
the sysadmin to install it and do a full reinstall of Perl modules,
hoping this would work as a workaround.
In the mean time, here's what I get with "force install Test::Harness"
and here's my configuration:
Show quoted text
cpan> force install Test::Harness
Running install for module 'Test::Harness'
Running make for A/AN/ANDYA/Test-Harness-3.23.tar.gz
Prepending /home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/arch
/home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/lib to PERL5LIB
for 'get'
Has already been unwrapped into directory
/home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD
Prepending /home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/arch
/home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/lib to PERL5LIB
for 'make'
Has already been made
Prepending /home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/arch
/home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/lib to PERL5LIB
for 'test'
Running make test
Has already been tested successfully
Running make install
Prepending /home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/arch
/home/vlefevre/.cpan/build/Test-Harness-3.23-XUuaBD/blib/lib to PERL5LIB
for 'install'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: WARNING: Failed chmod(438,
/usr/share/perl/5.10/Test/Harness.pm): Operation not permitted
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot unlink '/usr/share/perl/5.10/Test/Harness.pm': Permission
denied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
make: *** [pure_perl_install] Error 13
ANDYA/Test-Harness-3.23.tar.gz
/usr/bin/make install UNINST=1 -- NOT OK
Failed during this command:
ANDYA/Test-Harness-3.23.tar.gz : install NO
Show quoted textcpan> o conf
$CPAN::Config options from '/home/vlefevre/.cpan/CPAN/MyConfig.pm':
commit [Commit changes to disk]
defaults [Reload defaults from disk]
help [Short help about 'o conf' usage]
init [Interactive setting of all options]
applypatch undef
auto_commit [0]
build_cache [10]
build_dir [/home/vlefevre/.cpan/build]
build_dir_reuse undef
build_requires_install_policy undef
bzip2 [/bin/bzip2]
cache_metadata [1]
check_sigs undef
colorize_debug undef
colorize_output undef
colorize_print undef
colorize_warn undef
commandnumber_in_prompt undef
commands_quote undef
cpan_home [/home/vlefevre/.cpan]
curl [/usr/bin/curl]
dontload_hash
dontload_list undef
ftp [/usr/bin/ftp]
ftp_passive [1]
ftp_proxy []
getcwd [cwd]
gpg [/usr/bin/gpg]
gzip [/bin/gzip]
histfile [/home/vlefevre/.cpan/histfile]
histsize [100]
http_proxy []
inactivity_timeout [0]
index_expire [1]
inhibit_startup_message [0]
keep_source_where [/home/vlefevre/.cpan/sources]
load_module_verbosity undef
lynx [/usr/bin/lynx]
make [/usr/bin/make]
make_arg [-j2]
make_install_arg [UNINST=1]
make_install_make_command [/usr/bin/make]
makepl_arg [PREFIX=/home/vlefevre/debian5
SITELIBEXP=/home/vlefevre/debian5/lib/site_perl
LIB=/home/vlefevre/debian5/lib/site_perl
INSTALLMAN1DIR=/home/vlefevre/debian5/share/man/man1
INSTALLSITEMAN1DIR=/home/vlefevre/debian5/share/man/man1
INSTALLMAN3DIR=/home/vlefevre/debian5/share/man/man3
INSTALLSITEMAN3DIR=/home/vlefevre/debian5/share/man/man3]
mbuild_arg []
mbuild_install_arg [--uninst 1]
mbuild_install_build_command [./Build]
mbuildpl_arg []
ncftp undef
ncftpget [/usr/bin/ncftpget]
no_proxy []
pager [less -is]
password undef
patch undef
prefer_installer [EUMM]
prefs_dir undef
prerequisites_policy [ask]
proxy_pass undef
proxy_user undef
randomize_urllist undef
scan_cache [atstart]
shell [/home/vlefevre/x86_64/bin/zsh]
show_unparsable_versions undef
show_upload_date [1]
show_zero_versions undef
tar [/bin/tar]
tar_verbosity undef
term_is_latin [1]
term_ornaments undef
test_report undef
unzip [/usr/bin/unzip]
urllist
0 [http://cpan.cict.fr/]
1 [http://cpan.mirrors.easynet.fr/]
2 [ftp://ftp.pasteur.fr/pub/computing/CPAN/]
3 [ftp://ftp.u-strasbg.fr/CPAN]
use_sqlite undef
username undef
wait_list undef
wget [/usr/bin/wget]
yaml_load_code undef
yaml_module undef