Skip Menu |
 

This queue is for tickets about the Wx-PdfDocument CPAN distribution.

Report information
The Basics
Id: 83906
Status: open
Priority: 0/
Queue: Wx-PdfDocument

People
Owner: Nobody in particular
Requestors: haroldweitzman [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From haroldweitzman [...] gmail.com Tue Mar 12 15: 21:11 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="------------040705040704060207020108"
Message-ID: <513F7E87.5020005 [...] gmail.com>
X-Received: by 10.52.65.147 with SMTP id x19mr6162631vds.27.1363116054131; Tue, 12 Mar 2013 12:20:54 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.219
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 28E2B240750 for <cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com>; Tue, 12 Mar 2013 15:21:11 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5+wv9FU735eW for <cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com>; Tue, 12 Mar 2013 15:21:04 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2747D240745 for <bug-Wx-PdfDocument [...] rt.cpan.org>; Tue, 12 Mar 2013 15:21:03 -0400 (EDT)
Received: (qmail 20326 invoked by uid 103); 12 Mar 2013 19:21:03 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 12 Mar 2013 19:21:03 -0000
Received: from mail-ve0-f178.google.com (HELO mail-ve0-f178.google.com) (209.85.128.178) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Tue, 12 Mar 2013 12:20:57 -0700
Received: by mail-ve0-f178.google.com with SMTP id db10so174773veb.9 for <bug-Wx-PdfDocument [...] rt.cpan.org>; Tue, 12 Mar 2013 12:20:54 -0700 (PDT)
Received: from [192.168.1.5] (pool-173-71-124-117.cmdnnj.fios.verizon.net. [173.71.124.117]) by mx.google.com with ESMTPS id d13sm4659960vdj.8.2013.03.12.12.20.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 12:20:53 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com
Subject: Cpan install failed.
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
Return-Path: <haroldweitzman [...] gmail.com>
X-RT-Mail-Extension: wx-pdfdocument
X-Original-To: cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=6IaLQSwuNq25cm7jGfoMB/vdL+xgXNdqh/9/WFOWY9Y=; b=eX1OCyqNvBD55zbyiz6QPLE2GaMf+sjmF5mOIblF1Al9PFG5GKisBfCriPTIwmS0Oh i6k7Fm+OxSfeu7td9iaYwOwhUbDerVS3RTMw3uMjOJemHqHTyGVK+Rr/ML/GOu0iJ+0W xrDWMv+5Jkmh1TAKjtLwR+d50SHgUcuBNL1MNlliIzMXPA6FvUKUGTiZyecRfnFU798Y FUQXcT4Qfz+5SmG6ckRccsQy9A4R3FXAHXBnlkvyLBwHL4UmJdWRPfn93cq64ciRo5KG nnx/4lx254b8Mx3URUmAJLiKkhEz9nrAXH/ZcJImc7CcgbNFjWqp6HEpzA0jMSgtNP2B Hj0Q==
Date: Tue, 12 Mar 2013 15:14:15 -0400
X-Spam-Level:
To: bug-Wx-PdfDocument [...] rt.cpan.org
From: Hal Weitzman <haroldweitzman [...] gmail.com>
Content-Length: 0
content-type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 3799
Download (untitled) / with headers
text/plain 3.7k
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
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 6220
MIME-Version: 1.0
In-Reply-To: <513F7E87.5020005 [...] gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <513F7E87.5020005 [...] gmail.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-26446-1363118755-775.83906-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1126
Hi, I've uploaded Wx::PdfDocument 0.1301 to CPAN which fixes your issue. The problem is that 'mingw32-make' is hard coded in the file inc/Module/Build/PdfDocument/MSWgcc.pm All you need to do to make the existing code work for Strawberry is change line 33 of the above file from $self->wxpdf_win32_runpdfmakefile('mingw32-make perl', 'gcc', 'g++', ' - shared'); to $self->wxpdf_win32_runpdfmakefile('gmake perl', 'gcc', 'g++', ' - shared'); The upload to CPAN checks for the correct 'make'. Thanks for reporting this. Mark On Tue Mar 12 15:21:12 2013, haroldweitzman@gmail.com wrote: Show quoted text
> 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
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-26446-1363118755-775.83906-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <513F7E87.5020005 [...] gmail.com> <rt-3.8.HEAD-26446-1363118755-775.83906-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-12478-1363119236-781.83906-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 463
Download (untitled) / with headers
text/plain 463b
I forgot to add that Wx::PdfDocument is concerned with creating and editing PDFs. If you want to display a PDF, try installing Wx::ActiveX then use Wx::ActiveX::Acrobat; my $pdf = Wx::ActiveX::Acrobat->new( $self, -1,[-1,-1],[-1,-1] ); $pdf->LoadFile($filename); On Tue Mar 12 16:05:55 2013, MDOOTSON wrote: Show quoted text
> Hi, > > I've uploaded Wx::PdfDocument 0.1301 to CPAN which fixes your issue. > The problem is that 'mingw32-make' is hard coded in the file >
From haroldweitzman [...] gmail.com Wed Mar 13 14: 30:32 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.089 tagged_above=-99.9 required=10 tests=[AWL=-0.130, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-12478-1363119237-1779.83906-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-83906 [...] rt.cpan.org> <513F7E87.5020005 [...] gmail.com> <rt-3.8.HEAD-26446-1363118755-775.83906-6-0 [...] rt.cpan.org> <rt-3.8.HEAD-12478-1363119237-1779.83906-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.52.76.164 with SMTP id l4mr7391535vdw.122.1363199419234; Wed, 13 Mar 2013 11:30:19 -0700 (PDT)
Message-ID: <5140C42B.7060602 [...] gmail.com>
Content-Type: multipart/alternative; boundary="------------000408040905080505020702"
X-Spam-Score: -6.089
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 7FAEF240727 for <cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com>; Wed, 13 Mar 2013 14:30:32 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ViJupFYbu5PF for <cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com>; Wed, 13 Mar 2013 14:30:27 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 829F8240726 for <bug-Wx-PdfDocument [...] rt.cpan.org>; Wed, 13 Mar 2013 14:30:27 -0400 (EDT)
Received: (qmail 2720 invoked by uid 103); 13 Mar 2013 18:30:26 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 13 Mar 2013 18:30:26 -0000
Received: from mail-ve0-f170.google.com (HELO mail-ve0-f170.google.com) (209.85.128.170) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Wed, 13 Mar 2013 11:30:22 -0700
Received: by mail-ve0-f170.google.com with SMTP id 14so1026602vea.29 for <bug-Wx-PdfDocument [...] rt.cpan.org>; Wed, 13 Mar 2013 11:30:19 -0700 (PDT)
Received: from [192.168.1.5] (pool-173-71-124-117.cmdnnj.fios.verizon.net. [173.71.124.117]) by mx.google.com with ESMTPS id b7sm5592560veq.7.2013.03.13.11.30.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Mar 2013 11:30:18 -0700 (PDT)
Delivered-To: cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
Subject: Re: [rt.cpan.org #83906] Cpan install failed.
Return-Path: <haroldweitzman [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type; bh=P7UbElE3Gk7piGnySCabf/4yKg+g/9z8wb4wbM+SLco=; b=p0J+iqb/q/LeV4HYbM/pwXNbgcuQO5SSpRX4ln3i1FDRdFUYdJabgXjStg2wMszZyj Tk1xv4rI0JTlnSayObNfmuPhEItXUjlS7+q5VpqeQszsqY4cKd2A80dKASaz7wPCsj2J dEmzd1qSRhksNcEXLmG6f1Wh8cfzHTXvHYHR+fjKpm6LgVSOGPbQ70lkMS4UO1dqR4xM Rw3HHPFdqski5t3BHozYfgNrparLE+8DDDuYV8Og0T8QdncMCy5i0RKkK1J549lehRda XaxIi20tD9pKF2eIaSSlSbD/+XzbiCgBb6zRnUEHBWdtuwiXd0M5JR+1h2pO/H7SZwF8 oakQ==
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Wx-PdfDocument [...] hipster.bestpractical.com
X-RT-Mail-Extension: wx-pdfdocument
Date: Wed, 13 Mar 2013 14:23:39 -0400
X-Spam-Level:
To: bug-Wx-PdfDocument [...] rt.cpan.org
From: Hal Weitzman <haroldweitzman [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-11479-1363199433-368.83906-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 1252
Download (untitled) / with headers
text/plain 1.2k
Hi Mark, Thanks for the quick response. The reason that I thought to use Wx::PdfDocument is a note near the bottomof the documentation like below. Anyway, thanks again for your suggestion. I will try that when I get to the PDF part of my project. From the CPAN documentation: Launching a PDF Document Viewer^ <http://search.cpan.org/%7Emdootson/Wx-PdfDocument-0.1301/lib/Wx/PdfDocument.pm#___top> Wx::PdfDocument provides a static method that will query the system for the correct command to view a pdf document: Wx::PdfDocument::LaunchPdfViewer($pdffilepath); Regards Hal Weitzman haroldweitzman@gmail.com Cell: 609-217-0088 On 3/12/2013 4:13 PM, Mark Dootson via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=83906 > > > I forgot to add that Wx::PdfDocument is concerned with creating and > editing PDFs. > > If you want to display a PDF, try installing Wx::ActiveX > > then > > use Wx::ActiveX::Acrobat; > > my $pdf = Wx::ActiveX::Acrobat->new( $self, -1,[-1,-1],[-1,-1] ); > $pdf->LoadFile($filename); > > > > > On Tue Mar 12 16:05:55 2013, MDOOTSON wrote:
>> Hi, >> >> I've uploaded Wx::PdfDocument 0.1301 to CPAN which fixes your issue. >> The problem is that 'mingw32-make' is hard coded in the file >>
Content-Type: multipart/related; boundary="------------030702030706040601010107"
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: utf-8
Content-Length: 5146
content-type: image/gif; name="up.gif"
content-disposition: inline; filename="up.gif"
Content-Transfer-Encoding: base64
Content-ID: <part1.08020803.05020707 [...] gmail.com>
Content-Length: 76
Download up.gif
image/gif 76b
up.gif


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.