Subject: | Cpan install failed. |
Date: | Tue, 12 Mar 2013 15:14:15 -0400 |
To: | bug-Wx-PdfDocument [...] rt.cpan.org |
From: | Hal Weitzman <haroldweitzman [...] gmail.com> |
I have Padre installed. See next from Padre About:
Padre 0.94
Core...
osname MSWin32
archname MSWin32-x86-multi-thread
Perl 5.14.2
Threads 8
RAM 183.7MB
Wx...
Wx 0.9917
WxWidgets 2.8.12
unicode 1
Alien::wxWidgets 0.54
Wx::Perl::ProcessStream 0.30
Wx::Scintilla 0.36
Other...
PPI 1.215
Debug::Client 0.16
Config C:\Users\Harold\AppData\Local\Perl\Padre
I am trying to develop an app using WxWidgets that, among other things,
will display and optionally print a PDF document downloaded from the web.
I tried to install Wx::PdfPrintDialog which in turn installs
Wx::PdfDocument using the cpan that is installed with Padre. The
following is the entire DOS command prompt log from the install:
Show quoted text
cpan> install Wx::PdfPrintDialog
Running install for module 'Wx::PdfPrintDialog'
Running make for M/MD/MDOOTSON/Wx-PdfDocument-0.13.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/M/MD/MDOOTSON/Wx-PdfDocument-0.13.tar.gz
Checksum for
C:\Dwimperl\cpan\sources\authors\id\M\MD\MDOOTSON\Wx-PdfDocument-0.13.tar.gz
ok
CPAN.pm: Building M/MD/MDOOTSON/Wx-PdfDocument-0.13.tar.gz
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Wx-PdfDocument' version '0.13'
Building Wx-PdfDocument
Downloading wxpdfdoc-0.9.3.tar.gz
Completed 10%
Completed 20%
Completed 30%
Completed 40%
Completed 50%
Completed 60%
Completed 70%
Completed 80%
Completed 90%
Completed 100%
Extracting wxpdfdoc-0.9.3.tar.gz
Error listing contents of archive
'C:\Dwimperl\cpan\build\Wx-PdfDocument-0.13-9dsSEd\wxpdfdoc-0.9.3.tar.gz':
'-cdf' is not recognized as an internal or external
command,
operable program or batch file.
at inc/Module/Build/PdfDocument.pm line 368
Patched wxpdfdoc-0.9.3/build/makefile.gcc
Patched wxpdfdoc-0.9.3/build/makefile.vc
Patched wxpdfdoc-0.9.3/build29/makefile.gcc
Patched wxpdfdoc-0.9.3/build29/makefile.vc
Patched wxpdfdoc-0.9.3/include/wx/pdfdocument.h
Patched wxpdfdoc-0.9.3/src/pdfdc28.inc
Patched wxpdfdoc-0.9.3/src/pdfdc29.inc
Patched wxpdfdoc-0.9.3/src/pdffontparsertruetype.cpp
mingw32-make perl -f makefile.gcc CFLAGS="
-DWXPDFDOC_INHERIT_WXOBJECT=1" CPPFLAGS="-m32
-DWXPDFDOC_INHERIT_WXOBJECT=1" CXX=g++ CXXFLAGS=" -DWXPDFDOC_INHERIT_WX
OBJECT=1" LDFLAGS=-m32 LINK_DLL_FLAGS=" -shared" SHARED=1
WXPERL_STATIC_DIR=x86 WX_DEBUG=0
WX_DIR=C:\Dwimperl\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3
_4 WX_MONOLITHIC=0 WX_SHARED=1 WX_UNICODE=1 WX_VERSION=28
'mingw32-make' is not recognized as an internal or external command,
operable program or batch file.
Failed with exit code 256
mingw32-make perl -f makefile.gcc CFLAGS="
-DWXPDFDOC_INHERIT_WXOBJECT=1" CPPFLAGS="-m32
-DWXPDFDOC_INHERIT_WXOBJECT=1" CXX=g++ CXXFLAGS=" -DWXPDFDOC_INHERIT_WX
OBJECT=1" LDFLAGS=-m32 LINK_DLL_FLAGS=" -shared" SHARED=1
WXPERL_STATIC_DIR=x86 WX_DEBUG=0
WX_DIR=C:\Dwimperl\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3
_4 WX_MONOLITHIC=0 WX_SHARED=1 WX_UNICODE=1 WX_VERSION=28
MDOOTSON/Wx-PdfDocument-0.13.tar.gz
C:\Dwimperl\perl\bin\perl.exe ./Build -- NOT OK
Running Build test
Can't test without successful make
Running Build install
Make had returned bad status, install seems impossible
Failed during this command:
MDOOTSON/Wx-PdfDocument-0.13.tar.gz : make NO
It looks like the installed Padre environment does not have the correct
programs needed to extract and make the required modules.
How do I correct this issue?
Than you so much for making all this wonderful open source code available.
--
Regards
Hal Weitzman
haroldweitzman@gmail.com
Cell: 609-217-0088