Fri Mar 18 19:48:30 2011: Request 66723 was acted upon.
Transaction: Correspondence added by mark.doot...@znix.com
       Queue: Wx
     Subject: Re: [rt.cpan.org #66723] Can't build on OS X
   Broken in: 0.98
    Severity: Normal
       Owner: Nobody
  Requestors: mschw...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66723 >


Hi,

The problem:
You have a 64bit Perl but the system installed wxWidgets are 32 bit.

Solutions

1) build 32 bit (i386) arch Perl
2)

Download current svn Alien-WxWidgets

svn export 
https://wxperl.svn.sourceforge.net/svnroot/wxperl/Alien-wxWidgets/trunk

build with

perl Build.PL --wxWidgets-build='yes' --wxWidgets-source='tar.gz' 
--wxWidgets-unicode=1 --wxWidgets-build-opengl=1 --wxWidgets-version=2.9.1

perl Build
perl Build test
perl Build install

Wx should then build OK.

You want svn only because current CPAN has wxWidgets 2.9.0 defined as 
latest possible version. You want 2.9.1 for best 64 bitness I think.

Regards

Mark

On 18/03/2011 22:19, Michael G Schwern via RT wrote:
> Fri Mar 18 18:19:56 2011: Request 66723 was acted upon.
> Transaction: Ticket created by MSCHWERN
>         Queue: Wx
>       Subject: Can't build on OS X
>     Broken in: 0.98
>      Severity: Normal
>         Owner: Nobody
>    Requestors: mschw...@cpan.org
>        Status: new
>   Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=66723>
>
>
> Wx will not build on my copy of OS X.  This is 5.12.2 built with
> perlbrew.  The full output of my builds have been recently sent as test
> reports.
>
> Something suspicious I noticed is this:
>
> LD_RUN_PATH="/usr/lib" g++  -bundle -undefined dynamic_lookup
> -L/opt/local/lib -fstack-protector DateTime.o  -o
> ../../blib/arch/auto/Wx/DateTime/DateTime.bundle      \
>          -lwx_macud-2.8       \
>       
> ld: warning: in /usr/lib/libwx_macud-2.8.dylib, missing required
> architecture x86_64 in file
>
> pretty much one for each .bundle.


Reply via email to