Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

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

People
Owner: mdootson [...] cpan.org
Requestors: mmundy1 [...] gmail.com
Cc:
AdminCc:

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



Subject: Build Issues
Date: Fri, 13 Jul 2012 13:37:45 -0400
To: bug-Wx [...] rt.cpan.org
From: Matthew Mundy <mmundy1 [...] gmail.com>
2 build errors noticed when trying to build wxPerl .9909 against Wx 2.9.4 and perl 5.16. There were type mismatches that I got around by passing the '-fpermissive' cflag as an option into Makefile.PL (See attached file), but later I see Constant.c: In function ‘double constant(const char*, int)’: Constant.c:2450: error: ‘wxRA_USE_CHECKBOX’ was not declared in this scope Constant.c:2456: error: ‘wxRB_USE_CHECKBOX’ was not declared in this scope Hmm. Sorry if this is more a mailing list issue. I have seen this on both Ubuntu 12.04 and Fedora. Asked the google, but did not see anything close.
Subject: Re: [rt.cpan.org #78355] Build Issues
Date: Fri, 13 Jul 2012 19:00:45 +0100
To: bug-Wx [...] rt.cpan.org
From: Mark Dootson <mark.dootson [...] znix.com>
Hi, CPAN releases of Alien-wxWidgets & Wx do not yet support building against 2.9.4. Current Wx SVN repository code fixes the type mismatches you saw ( the -fpermissive flag allows compilation but code would break in actual usage) and it also fixes the wxRA_USE_CHECKBOX / wxRB_USE_CHECKBOX issue you see. However, the build still fails tests / is broken. A recent wxWidgets change http://trac.wxwidgets.org/changeset/71571 breaks Wx loading of wxWidgets dlls ( and probably addin plugins like Wx::PdfDocument as well). The error exists for all platforms( wxMSW , wxOSX and wxGTK). The code faults in wxPluginLibrary::UpdateClasses() I'm still at the head scratching stage regarding a fix. For your own usage, you could simply revert the changes in changeset 71571 in the wxWidgets source and build from that. There's nothing in the rest of the wxWidgets code that's dependent on these changes. Regards Mark On 13/07/2012 18:37, Matthew Mundy via RT wrote: Show quoted text
> Fri Jul 13 13:37:55 2012: Request 78355 was acted upon. > Transaction: Ticket created by mmundy1@gmail.com > Queue: Wx > Subject: Build Issues > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mmundy1@gmail.com > Status: new > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=78355> > > > 2 build errors noticed when trying to build wxPerl .9909 against Wx > 2.9.4 and perl 5.16. > There were type mismatches that I got around by passing the > '-fpermissive' cflag as an option into Makefile.PL (See attached > file), but later I see > Constant.c: In function ‘double constant(const char*, int)’: > Constant.c:2450: error: ‘wxRA_USE_CHECKBOX’ was not declared in this scope > Constant.c:2456: error: ‘wxRB_USE_CHECKBOX’ was not declared in this scope > > Hmm. Sorry if this is more a mailing list issue. > > I have seen this on both Ubuntu 12.04 and Fedora. Asked the google, > but did not see anything close. >
Subject: Re: [rt.cpan.org #78355] Build Issues
Date: Fri, 13 Jul 2012 14:30:07 -0400
To: bug-Wx [...] rt.cpan.org
From: Matthew Mundy <mmundy1 [...] gmail.com>
Thanks for the rapid reply ! I'll give that a go. On Fri, Jul 13, 2012 at 2:01 PM, Mark Dootson via RT <bug-Wx@rt.cpan.org>wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=78355 > > > Hi, > > CPAN releases of Alien-wxWidgets & Wx do not yet support building > against 2.9.4. > > Current Wx SVN repository code fixes the type mismatches you saw ( the > -fpermissive flag allows compilation but code would break in actual > usage) and it also fixes the wxRA_USE_CHECKBOX / wxRB_USE_CHECKBOX issue > you see. > > However, the build still fails tests / is broken. > > A recent wxWidgets change > > http://trac.wxwidgets.org/changeset/71571 > > breaks Wx loading of wxWidgets dlls ( and probably addin plugins like > Wx::PdfDocument as well). > > The error exists for all platforms( wxMSW , wxOSX and wxGTK). > > The code faults in wxPluginLibrary::UpdateClasses() > > I'm still at the head scratching stage regarding a fix. > > For your own usage, you could simply revert the changes in changeset > 71571 in the wxWidgets source and build from that. There's nothing in > the rest of the wxWidgets code that's dependent on these changes. > > Regards > > Mark > > On 13/07/2012 18:37, Matthew Mundy via RT wrote:
> > Fri Jul 13 13:37:55 2012: Request 78355 was acted upon. > > Transaction: Ticket created by mmundy1@gmail.com > > Queue: Wx > > Subject: Build Issues > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: mmundy1@gmail.com > > Status: new > > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=78355> > > > > > > 2 build errors noticed when trying to build wxPerl .9909 against Wx > > 2.9.4 and perl 5.16. > > There were type mismatches that I got around by passing the > > '-fpermissive' cflag as an option into Makefile.PL (See attached > > file), but later I see > > Constant.c: In function ‘double constant(const char*, int)’: > > Constant.c:2450: error: ‘wxRA_USE_CHECKBOX’ was not declared in this
> scope
> > Constant.c:2456: error: ‘wxRB_USE_CHECKBOX’ was not declared in this
> scope
> > > > Hmm. Sorry if this is more a mailing list issue. > > > > I have seen this on both Ubuntu 12.04 and Fedora. Asked the google, > > but did not see anything close. > >
> > >
This is an issue with release 2.9.4 of wxWidgets. If Alien::wxWidgets 0.61 + builds wxWidgets for you, 2.9.4 is patched with change backported from wxWidgets trunk. For pre-built wxWidgets, 2.9.4 will fail. Stalled until wxWidgets 2.9.5
Resolved with patches for wxWidgets 2.9.4 - fixed in later wxWidgets On Fri Sep 28 15:40:26 2012, MDOOTSON wrote: Show quoted text
> This is an issue with release 2.9.4 of wxWidgets. If Alien::wxWidgets 0.61 > + builds wxWidgets for you, 2.9.4 is patched with change backported from > wxWidgets trunk. For pre-built wxWidgets, 2.9.4 will fail. > > Stalled until wxWidgets 2.9.5