problem in installation(64bit machine)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sureshbup
    New Member
    • Feb 2008
    • 4

    problem in installation(64bit machine)

    Hi to all,

    I am trying to install CPAN modules using the command

    perl -MCPAN -e 'install qw (Text::CSV_XS)' but i get the problem like this

    even i changed the working proxies but none is working. i have tried different
    mirrors also. I tried different modules also.
    =============== =============== =============== ==============

    Code:
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Warning: Found only 0 objects in /root/.cpan/Metadata
    CPAN: LWP::UserAgent loaded ok
    Fetching with LWP:
      http://www.cpan.org/authors/01mailrc.txt.gz
    LWP failed with code[501] message[Protocol scheme '' is not supported]
     
    Trying with "/usr/bin/links -source" to get
        http://www.cpan.org/authors/01mailrc.txt.gz
    Connection refused
     
    System call "/usr/bin/links -source "http://www.cpan.org/authors/01mailrc.txt.g z"  > /root/.cpan/sources/authors/01mailrc.txt"
    returned status 1 (wstat 256)
    Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't ex ist
     
    Trying with "/usr/local/sbin/" to get
        http://www.cpan.org/authors/01mailrc.txt.gz
    sh: line 1: /usr/local/sbin/: is a directory
     
    System call "cd /root/.cpan/sources/authors && /usr/local/sbin/ "http://www.cpa n.org/authors/01mailrc.txt.gz" "
    returned status 126 (wstat 32256)
    Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't ex ist
     
    Trying with "/usr/local/sbin/ -c" to get
        http://www.cpan.org/authors/01mailrc.txt.gz
    sh: line 1: /usr/local/sbin/: is a directory
     
    System call "/usr/local/sbin/ -c "http://www.cpan.org/authors/01mailrc.txt.gz"  > /root/.cpan/sources/authors/01mailrc.txt"
    returned status 126 (wstat 32256)
    Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't ex ist
     
    Trying with "/usr/bin/wget -O -" to get
        http://www.cpan.org/authors/01mailrc.txt.gz
    --11:32:37--  http://www.cpan.org/authors/01mailrc.txt.gz
               => `-'
    Connecting to 192.168.1.3:80... failed: Connection refused.
     
    System call "/usr/bin/wget -O - "http://www.cpan.org/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
    returned status 1 (wstat 256)
    Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't ex ist
    =============== =============== =============== =============

    So, i tried to install manually the Text::CSV_XS and some other modules.

    i have downloaded the modules . one i have shown as example. Some of the modules i got successful installation manually but some are giving error like below

    as a ROOT i started installation. I am using redhat enterprise linux (RHEL) version 3 but it is 64 bit machine

    Code:
    untar it  Text-CSV_XS-0.34.tgz
    cd  Text-CSV_XS-0.34/
    perl Makefile.PL
    make
    make test
    make install
    after this i got error like this

    =============== =============== =============== =============

    I
    Code:
    nstalling /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/Driver_xst.h
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/DBIXS.h
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/Driver.xst
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbi_sql.h
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbd_xsh.h
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbivport.h
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbixs_rev.h
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbipport.h
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/DBI.so
    Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/DBI.bs
    Files found in blib/arch: installing files in blib/lib into architecture depende nt library tree
    Installing /usr/lib64/perl5/site_perl/5.8.0/Roadmap.pod
    Installing /usr/lib64/perl5/site_perl/5.8.0/dbixs_rev.pl
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/TASKS.pod
    Installing /usr/lib64/perl5/site_perl/5.8.0/Win32/DBIODBC.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/Bundle/DBI.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Proxy.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/DBM.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/File.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/NullP.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Sponge.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/ExampleP.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/rush.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/classic.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/Base.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/pedantic.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/pipeone.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/Base.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/stream.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/null.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Changes.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Roadmap.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileSubs.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/FAQ.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/W32ODBC.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Profile.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileDumper.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProxyServer.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/DBD.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/PurePerl.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileData.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/SQL/Nano.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileDumper/Apache.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/DBD/Metadata.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfoType.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfoReturn.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfo/ODBC.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfo/ANSI.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Util/_accessor.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Util/CacheMemory.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Response.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Request.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Execute.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Serializer/DataDumper.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Serializer/Storable.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Serializer/Base.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/Base.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/stream.pm
    Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/pipeone.pm
    Installing /usr/share/man/man1/dbilogstrip.1
    Installing /usr/share/man/man1/dbiproxy.1
    Installing /usr/share/man/man1/dbiprof.1
    Installing /usr/share/man/man3/DBI::Gofer::Response.3pm
    Installing /usr/share/man/man3/DBD::Proxy.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Transport::Base.3pm
    Installing /usr/share/man/man3/DBD::DBM.3pm
    Installing /usr/share/man/man3/Roadmap.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Serializer::DataDumper.3pm
    Installing /usr/share/man/man3/DBI::Const::GetInfoType.3pm
    Installing /usr/share/man/man3/DBI::DBD::Metadata.3pm
    Installing /usr/share/man/man3/DBI::Const::GetInfo::ODBC.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Transport::pipeone.3pm
    Installing /usr/share/man/man3/DBI::ProfileDumper::Apache.3pm
    Installing /usr/share/man/man3/DBD::File.3pm
    Installing /usr/share/man/man3/DBI::Util::CacheMemory.3pm
    Installing /usr/share/man/man3/DBI::ProfileSubs.3pm
    Installing /usr/share/man/man3/DBD::Gofer.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Transport::Base.3pm
    Installing /usr/share/man/man3/DBI::FAQ.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Policy::rush.3pm
    Installing /usr/share/man/man3/DBI::SQL::Nano.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Request.3pm
    Installing /usr/share/man/man3/DBI::Const::GetInfo::ANSI.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Transport::stream.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Policy::classic.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Policy::Base.3pm
    Installing /usr/share/man/man3/DBI.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Transport::stream.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Serializer::Storable.3pm
    Installing /usr/share/man/man3/DBI::Const::GetInfoReturn.3pm
    Installing /usr/share/man/man3/DBD::Sponge.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Policy::pedantic.3pm
    Installing /usr/share/man/man3/DBI::W32ODBC.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Transport::pipeone.3pm
    Installing /usr/share/man/man3/DBD::Gofer::Transport::null.3pm
    Installing /usr/share/man/man3/Bundle::DBI.3pm
    Installing /usr/share/man/man3/TASKS.3pm
    Installing /usr/share/man/man3/DBI::Profile.3pm
    Installing /usr/share/man/man3/DBI::ProfileDumper.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Serializer::Base.3pm
    Installing /usr/share/man/man3/DBI::ProxyServer.3pm
    Installing /usr/share/man/man3/DBI::Gofer::Execute.3pm
    Installing /usr/share/man/man3/DBI::DBD.3pm
    Installing /usr/share/man/man3/Win32::DBIODBC.3pm
    Installing /usr/share/man/man3/DBI::PurePerl.3pm
    Installing /usr/share/man/man3/DBI::ProfileData.3pm
    Installing /usr/bin/dbiprof
    Installing /usr/bin/dbiproxy
    Installing /usr/bin/dbilogstrip
    Writing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/.packlist
    Appending installation info to /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/ perllocal.pod
    =============== =============== =============== =============

    Is that i have to install libraries if so which one. Anyone please suggest me.


    with kind regards
    Suresh
    Last edited by eWish; Feb 12 '08, 11:53 PM. Reason: Added Code Tags
  • nithinpes
    Recognized Expert Contributor
    • Dec 2007
    • 410

    #2
    I don't see any error in your manual attempt to install the module. It has installed all the library files and appended the installation info. The installation seems to be complete.
    Try to use the module(Text::CS V_XS) in your script.

    Regards,
    Nithin

    Comment

    Working...