perl不能安装Spreadsheet::ParseExcel与Spreadsheet::ParseExcel::Workbook模块

drongHua 发布于 2013/08/14 08:30
阅读 3K+
收藏 0

公司要用perl程序去读取excel中的文件内容,我用cpan Spreadsheet::ParseExcel安装总是显示安装失败

 

C:\Documents and Settings\Administrator>cpan Spreadsheet::ParseExcel

Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/Cell.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/Dump.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/FmtDefault.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/FmtJapan.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/FmtJapan2.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/FmtUnicode.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/Font.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/Format.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/SaveParser/
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/SaveParser.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/Utility.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/Workbook.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/Worksheet.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/SaveParser/Workbook.pm
Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel/SaveParser/Worksheet.pm
Spreadsheet-ParseExcel-0.59/examples/a_simple_parser.pl
Spreadsheet-ParseExcel-0.59/examples/display_text_table.pl

  CPAN.pm: Going to build J/JM/JMCNAMARA/Spreadsheet-ParseExcel-0.59.tar.gz

gcc.exe: Extraneous argument to `--' option
gcc.exe: No input files specified.
Use of uninitialized value $gccversion in substitution (s///) at C:/Perl/lib/Act
ivePerl/Config.pm line 116.
Use of uninitialized value $gccversion in scalar chomp at C:/Perl/lib/ActivePerl
/Config.pm line 117.
Use of uninitialized value $gccversion in concatenation (.) or string at C:/Perl
/lib/ActivePerl/Config.pm line 118.
Set up gcc environment -

It looks like you don't have a C compiler and make utility installed.  Trying
to install dmake and the MinGW gcc compiler using the Perl Package Manager.
This may take a a few minutes...

Downloading MinGW-5.1.4.1...redirect
Downloading MinGW-5.1.4.1...failed 401 Authorization Required
ppm.bat install failed: 401 Authorization Required

It looks like the installation of dmake and MinGW has failed.  You will not be
able to run Makefile commands or compile C extension code.  Please check your
internet connection and your proxy settings!

Checking if your kit is complete...
Looks good
Warning: prerequisite Crypt::RC4 0 not found.
Warning: prerequisite Digest::Perl::MD5 0 not found.
Warning: prerequisite IO::Scalar 0 not found.
Warning: prerequisite OLE::Storage_Lite 0.19 not found.
Writing Makefile for Spreadsheet::ParseExcel
----   Unsatisfied dependencies detected during   ----
---- JMCNAMARA/Spreadsheet-ParseExcel-0.59.tar.gz ----
    Crypt::RC4 [requires]
    IO::Scalar [requires]
    OLE::Storage_Lite [requires]
    Digest::Perl::MD5 [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Crypt::RC4'
Running make for S/SI/SIFUKURT/Crypt-RC4-2.02.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\S\SI\SIFUKURT\Crypt-RC4-2.02.tar.gz
 ok
Crypt-RC4-2.02/
Crypt-RC4-2.02/RC4.pm
Crypt-RC4-2.02/Makefile.PL
Crypt-RC4-2.02/Changes
Crypt-RC4-2.02/MANIFEST
Crypt-RC4-2.02/test.pl

  CPAN.pm: Going to build S/SI/SIFUKURT/Crypt-RC4-2.02.tar.gz

gcc.exe: Extraneous argument to `--' option
gcc.exe: No input files specified.
Set up gcc environment -

It looks like you don't have a C compiler and make utility installed.  Trying
to install dmake and the MinGW gcc compiler using the Perl Package Manager.
This may take a a few minutes...

Downloading MinGW-5.1.4.1...redirect
Downloading MinGW-5.1.4.1...failed 401 Authorization Required
ppm.bat install failed: 401 Authorization Required

It looks like the installation of dmake and MinGW has failed.  You will not be
able to run Makefile commands or compile C extension code.  Please check your
internet connection and your proxy settings!

Checking if your kit is complete...
Looks good
Writing Makefile for Crypt::RC4
'nmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
  SIFUKURT/Crypt-RC4-2.02.tar.gz
  nmake -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'IO::Scalar'
Running make for D/DS/DSKOLL/IO-stringy-2.110.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\D\DS\DSKOLL\IO-stringy-2.110.tar.gz
 ok
IO-stringy-2.110/
IO-stringy-2.110/examples/
IO-stringy-2.110/examples/IO_Scalar_synopsis
IO-stringy-2.110/lib/
IO-stringy-2.110/lib/IO/
IO-stringy-2.110/lib/IO/Stringy.pm
IO-stringy-2.110/lib/IO/AtomicFile.pm
IO-stringy-2.110/lib/IO/Scalar.pm
IO-stringy-2.110/lib/IO/WrapTie.pm
IO-stringy-2.110/lib/IO/Lines.pm
IO-stringy-2.110/lib/IO/ScalarArray.pm
IO-stringy-2.110/lib/IO/Wrap.pm
IO-stringy-2.110/lib/IO/InnerFile.pm
IO-stringy-2.110/t/
IO-stringy-2.110/t/two.t
IO-stringy-2.110/t/IO_ScalarArray.t
IO-stringy-2.110/t/simple.t
IO-stringy-2.110/t/ExtUtils/
IO-stringy-2.110/t/ExtUtils/TBone.pm
IO-stringy-2.110/t/Common.pm
IO-stringy-2.110/t/IO_Scalar.t
IO-stringy-2.110/t/IO_Lines.t
IO-stringy-2.110/t/IO_WrapTie.t
IO-stringy-2.110/COPYING
IO-stringy-2.110/contrib/
IO-stringy-2.110/contrib/Clever.pm
IO-stringy-2.110/MANIFEST
IO-stringy-2.110/META.yml
IO-stringy-2.110/README
IO-stringy-2.110/Makefile.PL

  CPAN.pm: Going to build D/DS/DSKOLL/IO-stringy-2.110.tar.gz

gcc.exe: Extraneous argument to `--' option
gcc.exe: No input files specified.
Set up gcc environment -

It looks like you don't have a C compiler and make utility installed.  Trying
to install dmake and the MinGW gcc compiler using the Perl Package Manager.
This may take a a few minutes...

Downloading MinGW-5.1.4.1...redirect
Downloading MinGW-5.1.4.1...failed 401 Authorization Required
ppm.bat install failed: 401 Authorization Required

It looks like the installation of dmake and MinGW has failed.  You will not be
able to run Makefile commands or compile C extension code.  Please check your
internet connection and your proxy settings!

Checking if your kit is complete...
Looks good
Writing Makefile for IO::Stringy
'nmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
  DSKOLL/IO-stringy-2.110.tar.gz
  nmake -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'OLE::Storage_Lite'
Running make for J/JM/JMCNAMARA/OLE-Storage_Lite-0.19.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\J\JM\JMCNAMARA\OLE-Storage_Lite-0.1
9.tar.gz ok
OLE-Storage_Lite-0.19/
OLE-Storage_Lite-0.19/Changes
OLE-Storage_Lite-0.19/lib/
OLE-Storage_Lite-0.19/Makefile.PL
OLE-Storage_Lite-0.19/MANIFEST
OLE-Storage_Lite-0.19/META.yml
OLE-Storage_Lite-0.19/README
OLE-Storage_Lite-0.19/sample/
OLE-Storage_Lite-0.19/t/
OLE-Storage_Lite-0.19/t/00_load.t
OLE-Storage_Lite-0.19/t/01_date_conversion.t
OLE-Storage_Lite-0.19/sample/README
OLE-Storage_Lite-0.19/sample/smpadd.pl
OLE-Storage_Lite-0.19/sample/smpadd_a.pl
OLE-Storage_Lite-0.19/sample/smpaddF.pl
OLE-Storage_Lite-0.19/sample/smplls.pl
OLE-Storage_Lite-0.19/sample/smplls_a.pl
OLE-Storage_Lite-0.19/sample/smpsv.pl
OLE-Storage_Lite-0.19/sample/test.xls
OLE-Storage_Lite-0.19/lib/OLE/
OLE-Storage_Lite-0.19/lib/OLE/Storage_Lite.pm

  CPAN.pm: Going to build J/JM/JMCNAMARA/OLE-Storage_Lite-0.19.tar.gz

gcc.exe: Extraneous argument to `--' option
gcc.exe: No input files specified.
Set up gcc environment -

It looks like you don't have a C compiler and make utility installed.  Trying
to install dmake and the MinGW gcc compiler using the Perl Package Manager.
This may take a a few minutes...

Downloading MinGW-5.1.4.1...redirect
Downloading MinGW-5.1.4.1...failed 401 Authorization Required
ppm.bat install failed: 401 Authorization Required

It looks like the installation of dmake and MinGW has failed.  You will not be
able to run Makefile commands or compile C extension code.  Please check your
internet connection and your proxy settings!

Checking if your kit is complete...
Looks good
Writing Makefile for OLE::Storage_Lite
'nmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
  JMCNAMARA/OLE-Storage_Lite-0.19.tar.gz
  nmake -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Digest::Perl::MD5'
Running make for D/DE/DELTA/Digest-Perl-MD5-1.8.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\D\DE\DELTA\Digest-Perl-MD5-1.8.tar.
gz ok
Digest-Perl-MD5-1.8/
Digest-Perl-MD5-1.8/CHANGES
Digest-Perl-MD5-1.8/tools/
Digest-Perl-MD5-1.8/tools/md5-bench.pl
Digest-Perl-MD5-1.8/tools/md5
Digest-Perl-MD5-1.8/tools/md5-test.pl
Digest-Perl-MD5-1.8/META.yml
Digest-Perl-MD5-1.8/test.pl
Digest-Perl-MD5-1.8/lib/
Digest-Perl-MD5-1.8/lib/Digest/
Digest-Perl-MD5-1.8/lib/Digest/Perl/
Digest-Perl-MD5-1.8/lib/Digest/Perl/MD5.pm
Digest-Perl-MD5-1.8/MANIFEST
Digest-Perl-MD5-1.8/INSTALL
Digest-Perl-MD5-1.8/rand.f
Digest-Perl-MD5-1.8/Makefile.PL
Digest-Perl-MD5-1.8/README

  CPAN.pm: Going to build D/DE/DELTA/Digest-Perl-MD5-1.8.tar.gz

gcc.exe: Extraneous argument to `--' option
gcc.exe: No input files specified.
Set up gcc environment -

It looks like you don't have a C compiler and make utility installed.  Trying
to install dmake and the MinGW gcc compiler using the Perl Package Manager.
This may take a a few minutes...

Downloading MinGW-5.1.4.1...redirect
Downloading MinGW-5.1.4.1...failed 401 Authorization Required
ppm.bat install failed: 401 Authorization Required

It looks like the installation of dmake and MinGW has failed.  You will not be
able to run Makefile commands or compile C extension code.  Please check your
internet connection and your proxy settings!

Checking if your kit is complete...
Looks good
Writing Makefile for Digest::Perl::MD5
'nmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
  DELTA/Digest-Perl-MD5-1.8.tar.gz
  nmake -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running make for J/JM/JMCNAMARA/Spreadsheet-ParseExcel-0.59.tar.gz
  Has already been unwrapped into directory C:\Perl\cpan\build\Spreadsheet-Parse
Excel-0.59-XIt6D5

  CPAN.pm: Going to build J/JM/JMCNAMARA/Spreadsheet-ParseExcel-0.59.tar.gz

Warning: Prerequisite 'Crypt::RC4 => 0' for 'JMCNAMARA/Spreadsheet-ParseExcel-0.
59.tar.gz' failed when processing 'SIFUKURT/Crypt-RC4-2.02.tar.gz' with 'make =>
 NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'IO::Scalar => 0' for 'JMCNAMARA/Spreadsheet-ParseExcel-0.
59.tar.gz' failed when processing 'DSKOLL/IO-stringy-2.110.tar.gz' with 'make =>
 NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'OLE::Storage_Lite => 0.19' for 'JMCNAMARA/Spreadsheet-Par
seExcel-0.59.tar.gz' failed when processing 'JMCNAMARA/OLE-Storage_Lite-0.19.tar
.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Digest::Perl::MD5 => 0' for 'JMCNAMARA/Spreadsheet-ParseE
xcel-0.59.tar.gz' failed when processing 'DELTA/Digest-Perl-MD5-1.8.tar.gz' with
 'make => NO'. Continuing, but chances to succeed are limited.
'nmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
  JMCNAMARA/Spreadsheet-ParseExcel-0.59.tar.gz
  nmake -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

请那位高手告诉一下,如何解决,万分感谢,如不能自动安装,如何手动安装。

 

加载中
返回顶部
顶部