Troubleshooting install from cpan


Mark S


I'm looking for pointers on how to proceed after an error during an
attempted install of Curses. Please see the information below.



## ## ## ## ## ## Distribution information
# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release: 5.5
Codename: Tikanga

## ## ## ## ## ## cpan output
# cpan
Sorry, we have to rerun the configuration dialog for due to
some missing parameters...


cpan[1]> o conf
$CPAN::Config options from '/usr/lib/perl5/5.8.8/CPAN/':
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 [/root/.cpan/build]
build_dir_reuse undef
build_requires_install_policy [ask/yes]
bzip2 undef
cache_metadata [1]
check_sigs [0]
colorize_debug undef
colorize_output undef
colorize_print undef
colorize_warn undef
commandnumber_in_prompt [1]
commands_quote undef
connect_to_internet_ok [0]
cpan_home [/root/.cpan]
curl undef
dontload_list undef
ftp [/usr/kerberos/bin/ftp]
ftp_passive [1]
ftp_proxy []
ftpstats_period undef
ftpstats_size undef
getcwd [cwd]
gpg [/usr/bin/gpg]
gzip [/bin/gzip]
halt_on_failure [0]
histfile [/root/.cpan/histfile]
histsize [100]
http_proxy []
inactivity_timeout [0]
index_expire [1]
inhibit_startup_message [0]
keep_source_where [/root/.cpan/sources]
load_module_verbosity [v]
lynx undef
make [/usr/bin/make]
make_arg []
make_install_arg []
make_install_make_command [/usr/bin/make]
makepl_arg []
mbuild_arg []
mbuild_install_arg []
mbuild_install_build_command [./Build]
mbuildpl_arg []
ncftp undef
ncftpget [/usr/bin/ncftpget]
no_proxy []
pager [/usr/bin/less]
password undef
patch undef
patches_dir undef
perl5lib_verbosity [v]
prefer_installer [MB]
prefs_dir undef
prerequisites_policy [ask]
proxy_pass undef
proxy_user undef
randomize_urllist undef
scan_cache [atstart]
shell [/bin/bash]
show_unparsable_versions undef
show_upload_date [0]
show_zero_versions undef
tar [/bin/tar]
tar_verbosity [v]
term_is_latin [1]
term_ornaments [1]
test_report undef
trust_test_report_history [0]
unzip [/usr/bin/unzip]
0 []
use_sqlite [0]
username undef
wait_list undef
wget [/usr/bin/wget]
yaml_load_code [0]
yaml_module undef

cpan[2]> install Curses
CPAN: Storable loaded ok (v2.15)
Going to read '/root/.cpan/Metadata'
Database was generated on Thu, 16 Dec 2010 14:50:26 GMT
Running install for module 'Curses'
Running make for G/GI/GIRAFFED/Curses-1.28.tgz
In file included from Curses.c:393:
CursesBoot.c: In function 'boot_Curses':
CursesBoot.c:23: warning: unused variable 't2'
CursesBoot.c:22: warning: unused variable 'tmp'
CursesBoot.c:21: warning: unused variable 'stash'
CursesBoot.c:17: warning: unused variable 'i'
make: *** [Curses.o] Error 1
/usr/bin/make -- NOT OK
CPAN: YAML loaded ok (v0.72)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
GIRAFFED/Curses-1.28.tgz : make NO


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question