Fri Jul 13 14:01:17 2012: Request 78355 was acted upon.
Transaction: Correspondence added by mark.doot...@znix.com
       Queue: Wx
     Subject: Re: [rt.cpan.org #78355] Build Issues
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: mmun...@gmail.com
      Status: new
 Ticket <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 mmun...@gmail.com
>         Queue: Wx
>       Subject: Build Issues
>     Broken in: (no value)
>      Severity: (no value)
>         Owner: Nobody
>    Requestors: mmun...@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.
>


Reply via email to