By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,848 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,848 IT Pros & Developers. It's quick & easy.

problem in installation(64bit machine)

P: 4
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.
================================================== =========

Expand|Select|Wrap|Line Numbers
  1. CPAN: Storable loaded ok
  2. Going to read /root/.cpan/Metadata
  3. Warning: Found only 0 objects in /root/.cpan/Metadata
  4. CPAN: LWP::UserAgent loaded ok
  5. Fetching with LWP:
  6.   http://www.cpan.org/authors/01mailrc.txt.gz
  7. LWP failed with code[501] message[Protocol scheme '' is not supported]
  8.  
  9. Trying with "/usr/bin/links -source" to get
  10.     http://www.cpan.org/authors/01mailrc.txt.gz
  11. Connection refused
  12.  
  13. System call "/usr/bin/links -source "http://www.cpan.org/authors/01mailrc.txt.g z"  > /root/.cpan/sources/authors/01mailrc.txt"
  14. returned status 1 (wstat 256)
  15. Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't ex ist
  16.  
  17. Trying with "/usr/local/sbin/" to get
  18.     http://www.cpan.org/authors/01mailrc.txt.gz
  19. sh: line 1: /usr/local/sbin/: is a directory
  20.  
  21. System call "cd /root/.cpan/sources/authors && /usr/local/sbin/ "http://www.cpa n.org/authors/01mailrc.txt.gz" "
  22. returned status 126 (wstat 32256)
  23. Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't ex ist
  24.  
  25. Trying with "/usr/local/sbin/ -c" to get
  26.     http://www.cpan.org/authors/01mailrc.txt.gz
  27. sh: line 1: /usr/local/sbin/: is a directory
  28.  
  29. System call "/usr/local/sbin/ -c "http://www.cpan.org/authors/01mailrc.txt.gz"  > /root/.cpan/sources/authors/01mailrc.txt"
  30. returned status 126 (wstat 32256)
  31. Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't ex ist
  32.  
  33. Trying with "/usr/bin/wget -O -" to get
  34.     http://www.cpan.org/authors/01mailrc.txt.gz
  35. --11:32:37--  http://www.cpan.org/authors/01mailrc.txt.gz
  36.            => `-'
  37. Connecting to 192.168.1.3:80... failed: Connection refused.
  38.  
  39. System call "/usr/bin/wget -O - "http://www.cpan.org/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
  40. returned status 1 (wstat 256)
  41. 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

Expand|Select|Wrap|Line Numbers
  1. untar it  Text-CSV_XS-0.34.tgz
  2. cd  Text-CSV_XS-0.34/
  3. perl Makefile.PL
  4. make
  5. make test
  6. make install
after this i got error like this

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

I
Expand|Select|Wrap|Line Numbers
  1. nstalling /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/Driver_xst.h
  2. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/DBIXS.h
  3. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/Driver.xst
  4. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbi_sql.h
  5. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbd_xsh.h
  6. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbivport.h
  7. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbixs_rev.h
  8. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/dbipport.h
  9. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/DBI.so
  10. Installing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/DBI.bs
  11. Files found in blib/arch: installing files in blib/lib into architecture depende nt library tree
  12. Installing /usr/lib64/perl5/site_perl/5.8.0/Roadmap.pod
  13. Installing /usr/lib64/perl5/site_perl/5.8.0/dbixs_rev.pl
  14. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI.pm
  15. Installing /usr/lib64/perl5/site_perl/5.8.0/TASKS.pod
  16. Installing /usr/lib64/perl5/site_perl/5.8.0/Win32/DBIODBC.pm
  17. Installing /usr/lib64/perl5/site_perl/5.8.0/Bundle/DBI.pm
  18. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Proxy.pm
  19. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/DBM.pm
  20. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/File.pm
  21. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/NullP.pm
  22. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer.pm
  23. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Sponge.pm
  24. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/ExampleP.pm
  25. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/rush.pm
  26. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/classic.pm
  27. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/Base.pm
  28. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/pedantic.pm
  29. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/pipeone.pm
  30. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/Base.pm
  31. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/stream.pm
  32. Installing /usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Transport/null.pm
  33. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Changes.pm
  34. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Roadmap.pm
  35. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileSubs.pm
  36. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/FAQ.pm
  37. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/W32ODBC.pm
  38. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Profile.pm
  39. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileDumper.pm
  40. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProxyServer.pm
  41. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/DBD.pm
  42. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/PurePerl.pm
  43. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileData.pm
  44. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/SQL/Nano.pm
  45. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileDumper/Apache.pm
  46. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/DBD/Metadata.pm
  47. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfoType.pm
  48. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfoReturn.pm
  49. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfo/ODBC.pm
  50. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Const/GetInfo/ANSI.pm
  51. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Util/_accessor.pm
  52. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Util/CacheMemory.pm
  53. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Response.pm
  54. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Request.pm
  55. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Execute.pm
  56. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Serializer/DataDumper.pm
  57. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Serializer/Storable.pm
  58. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Serializer/Base.pm
  59. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/Base.pm
  60. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/stream.pm
  61. Installing /usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/pipeone.pm
  62. Installing /usr/share/man/man1/dbilogstrip.1
  63. Installing /usr/share/man/man1/dbiproxy.1
  64. Installing /usr/share/man/man1/dbiprof.1
  65. Installing /usr/share/man/man3/DBI::Gofer::Response.3pm
  66. Installing /usr/share/man/man3/DBD::Proxy.3pm
  67. Installing /usr/share/man/man3/DBI::Gofer::Transport::Base.3pm
  68. Installing /usr/share/man/man3/DBD::DBM.3pm
  69. Installing /usr/share/man/man3/Roadmap.3pm
  70. Installing /usr/share/man/man3/DBI::Gofer::Serializer::DataDumper.3pm
  71. Installing /usr/share/man/man3/DBI::Const::GetInfoType.3pm
  72. Installing /usr/share/man/man3/DBI::DBD::Metadata.3pm
  73. Installing /usr/share/man/man3/DBI::Const::GetInfo::ODBC.3pm
  74. Installing /usr/share/man/man3/DBD::Gofer::Transport::pipeone.3pm
  75. Installing /usr/share/man/man3/DBI::ProfileDumper::Apache.3pm
  76. Installing /usr/share/man/man3/DBD::File.3pm
  77. Installing /usr/share/man/man3/DBI::Util::CacheMemory.3pm
  78. Installing /usr/share/man/man3/DBI::ProfileSubs.3pm
  79. Installing /usr/share/man/man3/DBD::Gofer.3pm
  80. Installing /usr/share/man/man3/DBD::Gofer::Transport::Base.3pm
  81. Installing /usr/share/man/man3/DBI::FAQ.3pm
  82. Installing /usr/share/man/man3/DBD::Gofer::Policy::rush.3pm
  83. Installing /usr/share/man/man3/DBI::SQL::Nano.3pm
  84. Installing /usr/share/man/man3/DBI::Gofer::Request.3pm
  85. Installing /usr/share/man/man3/DBI::Const::GetInfo::ANSI.3pm
  86. Installing /usr/share/man/man3/DBD::Gofer::Transport::stream.3pm
  87. Installing /usr/share/man/man3/DBD::Gofer::Policy::classic.3pm
  88. Installing /usr/share/man/man3/DBD::Gofer::Policy::Base.3pm
  89. Installing /usr/share/man/man3/DBI.3pm
  90. Installing /usr/share/man/man3/DBI::Gofer::Transport::stream.3pm
  91. Installing /usr/share/man/man3/DBI::Gofer::Serializer::Storable.3pm
  92. Installing /usr/share/man/man3/DBI::Const::GetInfoReturn.3pm
  93. Installing /usr/share/man/man3/DBD::Sponge.3pm
  94. Installing /usr/share/man/man3/DBD::Gofer::Policy::pedantic.3pm
  95. Installing /usr/share/man/man3/DBI::W32ODBC.3pm
  96. Installing /usr/share/man/man3/DBI::Gofer::Transport::pipeone.3pm
  97. Installing /usr/share/man/man3/DBD::Gofer::Transport::null.3pm
  98. Installing /usr/share/man/man3/Bundle::DBI.3pm
  99. Installing /usr/share/man/man3/TASKS.3pm
  100. Installing /usr/share/man/man3/DBI::Profile.3pm
  101. Installing /usr/share/man/man3/DBI::ProfileDumper.3pm
  102. Installing /usr/share/man/man3/DBI::Gofer::Serializer::Base.3pm
  103. Installing /usr/share/man/man3/DBI::ProxyServer.3pm
  104. Installing /usr/share/man/man3/DBI::Gofer::Execute.3pm
  105. Installing /usr/share/man/man3/DBI::DBD.3pm
  106. Installing /usr/share/man/man3/Win32::DBIODBC.3pm
  107. Installing /usr/share/man/man3/DBI::PurePerl.3pm
  108. Installing /usr/share/man/man3/DBI::ProfileData.3pm
  109. Installing /usr/bin/dbiprof
  110. Installing /usr/bin/dbiproxy
  111. Installing /usr/bin/dbilogstrip
  112. Writing /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/.packlist
  113. 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
Feb 12 '08 #1
Share this Question
Share on Google+
1 Reply


nithinpes
Expert 100+
P: 410
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::CSV_XS) in your script.

Regards,
Nithin
Feb 12 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.