Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 38711
Status: resolved
Priority: 0/
Queue: Wx

People
Owner: mbarbon [...] users.sourceforge.net
Requestors: carlos.arenas [...] gmail.com
Cc:
AdminCc:

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



Subject: Wx make failed on Windows
Date: Mon, 25 Aug 2008 12:57:43 -0400
To: bug-Wx [...] rt.cpan.org
From: "Carlos Arenas" <carlos.arenas [...] gmail.com>
I am trying to install Wx 0.85 from CPAN. I'm running (Strawberry) Perl v 5.10.0 on Windows XP v 5.1.2600. I successfully ran the following commands: Show quoted text
cpan> look Alien::wxWidgets
$ perl Makefile.PL $ dmake $ dmake test $ dmake install $ exit I then ran: Show quoted text
cpan> install Wx
and got the following error message: dmake.EXE: Error code 129, while making 'Wx.o' after several screenfuls of error messages, following the pattern: Wx.c: In function `void XS_Wx__VideoMode_Matches(PerlInterpreter*, CV*)': Wx.c:17961: error: `wxVideoMode' was not declared in this scope Wx.c:17961: error: `other' was not declared in this scope Wx.c:17961: error: expected primary-expression before ')' token Wx.c:17961: error: expected `;' before "wxPli_sv_2_object" Wx.c:17962: error: `THIS' was not declared in this scope Wx.c:17962: error: expected primary-expression before ')' token Wx.c:17962: error: expected `;' before "wxPli_sv_2_object"
Hi, could you provide the full build output, or at least the first error messages from the build of Wx.o? Thanks! Mattia
Subject: Re: [rt.cpan.org #38711] Wx make failed on Windows
Date: Mon, 25 Aug 2008 23:53:18 -0400
To: bug-Wx [...] rt.cpan.org
From: "Carlos Arenas" <carlos.arenas [...] gmail.com>
Thanks for the prompt follow-up. Attached is the full output. ca. On Mon, Aug 25, 2008 at 14:06, Mattia Barbon via RT <bug-Wx@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=38711 > > > Hi, > could you provide the full build output, or at least > the first error messages from the build of Wx.o? > > Thanks! > Mattia > >
Download install_Wx.log
application/octet-stream 383.2k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #38711] Wx make failed on Windows
Date: Sat, 30 Aug 2008 11:33:12 +0200
To: bug-Wx [...] rt.cpan.org
From: Mattia Barbon <mattia.barbon [...] libero.it>
Carlos Arenas via RT wrote: Show quoted text
> Queue: Wx > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38711 > > > Thanks for the prompt follow-up. Attached is the full output.
Got it: it is an interaction between MakeMaker, Strawberry Perl and the way wxPerl is built. You can "solve" it by doing (in the CPAN shell): Show quoted text
cpan> look Wx
$ perl Makefile.PL $ dmake all test install I do not know of any way to workaround it; see https://rt.cpan.org/Ticket/Display.html?id=21539 I will try to at least come up with a warning for Strawberry Perl users. Regards, Mattia Show quoted text
> On Mon, Aug 25, 2008 at 14:06, Mattia Barbon via RT <bug-Wx@rt.cpan.org> wrote:
>> <URL: http://rt.cpan.org/Ticket/Display.html?id=38711 > >> >> Hi, >> could you provide the full build output, or at least >> the first error messages from the build of Wx.o? >> >> Thanks! >> Mattia >> >>
Subject: Re: [rt.cpan.org #38711] Wx make failed on Windows
Date: Sat, 30 Aug 2008 12:02:25 -0500
To: bug-Wx [...] rt.cpan.org
From: Carlos Arenas <carlos.arenas [...] gmail.com>
Thanks -- that did it! :) Show quoted text
----- Original message ----- <URL: http://rt.cpan.org/Ticket/Display.html?id=38711 > Carlos Arenas via RT wrote:
>        Queue: Wx >  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38711 > > > Thanks for the prompt follow-up.  Attached is the full output.
  Got it: it is an interaction between MakeMaker, Strawberry Perl and the way wxPerl is built.   You can "solve" it by doing (in the CPAN shell):
cpan> look Wx
$ perl Makefile.PL $ dmake all test install   I do not know of any way to workaround it; see https://rt.cpan.org/Ticket/Display.html?id=21539 I will try to at least come up with a warning for Strawberry Perl users. Regards, Mattia
> On Mon, Aug 25, 2008 at 14:06, Mattia Barbon via RT <bug-Wx@rt.cpan.org> wrote:
>> <URL: http://rt.cpan.org/Ticket/Display.html?id=38711 > >> >>  Hi, >> could you provide the full build output, or at least >> the first error messages from the build of Wx.o? >> >> Thanks! >> Mattia >> >>
Strawberry Perl October has mostly fixed this problem now, but it would probably be a very good idea in the Makefile.PL for Wx to do something like the following. @ARGV = grep { ! /^(?INC|LIBS)\b/ } @ARGV;