Troubleshooting install from cpan

Discussion in 'Perl Misc' started by Mark S, Dec 16, 2010.

  1. Mark S

    Mark S Guest

    Hello,

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

    Thanks!

    Mark

    ## ## ## ## ## ## Distribution information
    # lsb_release -a
    LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-
    noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
    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 CPAN.pm due to
    some missing parameters...

    ....

    cpan[1]> o conf
    $CPAN::Config options from '/usr/lib/perl5/5.8.8/CPAN/Config.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 [/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_hash
    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]
    urllist
    0 [ftp://cpan.mirrors.tds.net/pub/CPAN]
    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
    GIRAFFED/Curses-1.28.tgz
    /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
    Mark S, Dec 16, 2010
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. carl d.
    Replies:
    1
    Views:
    376
    A. Sinan Unur
    May 10, 2005
  2. Replies:
    5
    Views:
    188
    Randy Kobes
    Oct 12, 2005
  3. kj

    Troubleshooting cpan

    kj, Mar 27, 2007, in forum: Perl Misc
    Replies:
    3
    Views:
    106
  4. Ben Bullock
    Replies:
    12
    Views:
    274
    Ben Bullock
    Jul 8, 2008
  5. SVCitian
    Replies:
    1
    Views:
    925
    SVCitian
    Oct 22, 2010
Loading...

Share This Page