On Nov 23, 2010, at 3:04 PM, Mattia Barbon wrote:

> On 16/11/10 21.56, Jonathan Otsuka wrote:
>> I am trying to get Alien::wxWidgets to install manually by following 
>> installing _and_ upgrading wxWidgets and wxPerl steps found on 
>> http://padre.perlide.org/trac/wiki/DownloadMacOSX:
> >
>> http://paste.scsys.co.uk/56269
> 
>  Which wxWidgets version did you install?  In the log above the wxWidgest 
> version you copied in the build directory was not used (because you were 
> running from the CPAN shell).

mbp:~ dj_goku$ wxPerl -MWx -le'print  "Wx Version: $Wx::VERSION " . 
Wx::wxVERSION_STRING()'
Wx Version: 0.98 wxWidgets 2.8.8

I don't think I actually installed either of these unless they came along with 
Padre or something else I have installed.

> 
>> When I install Alien::wxWidgets without building manually and forcing the 
>> install of Wx I am getting errors like:
>> 
>> #   Failed test 'use Wx;'
>> #   at t/01_load.t line 6.
>> #     Tried to use 'Wx'.
>> #     Error:  Can't load 
>> '/Users/Shared/CPAN/build/Wx-0.98-Q6o59_/blib/arch/auto/Wx/Wx.bundle' for 
>> module Wx: 
>> dlopen(/Users/Shared/CPAN/build/Wx-0.98-Q6o59_/blib/arch/auto/Wx/Wx.bundle, 
>> 2): Symbol not found: __ZN10wxFontBase18ms_encodingDefaultE
>> #   Referenced from: 
>> /Users/Shared/CPAN/build/Wx-0.98-Q6o59_/blib/arch/auto/Wx/Wx.bundle
>> #   Expected in: flat namespace
>> #  in /Users/Shared/CPAN/build/Wx-0.98-Q6o59_/blib/arch/auto/Wx/Wx.bundle at 
>> /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 
>> 207.
>> #  at (eval 4) line 2
>> # Compilation failed in require at (eval 4) line 2.
>> # BEGIN failed--compilation aborted at (eval 4) l
>> 
>> http://www.cpantesters.org/cpan/report/5e4b9c28-c702-11df-9941-b27d9056d12f
> 
>  Could you paste the output of:
> 
> $ perl -MAlien::wxWidgets=:dump -e 42

mbp:~ dj_goku$ perl -MAlien::wxWidgets=:dump -e 42
Can't locate Alien/wxWidgets.pm in @INC (@INC contains: 
/Users/dj_goku/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/darwin-thread-multi-2level
 /Users/dj_goku/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2 
/Users/dj_goku/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/darwin-thread-multi-2level
 /Users/dj_goku/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2 .).
BEGIN failed--compilation aborted.

After cpan Alien::wxWidgets:

mbp:build dj_goku$  perl -MAlien::wxWidgets=:dump -e 42
$VAR1 = {
          'compiler_kind' => 'gcc',
          'version' => '2.008008',
          'build' => 'mono',
          'key' => 'mac_2_8_8_dbg_uni_gcc_3_4',
          'package' => 'Alien::wxWidgets::Config::mac_2_8_8_dbg_uni_gcc_3_4',
          'compiler_version' => '3.4',
          'mslu' => 0,
          'unicode' => 1,
          'toolkit' => 'mac',
          'debug' => 1
        };


> $ otool -L .../Wx-0.98-Q6o59_/blib/arch/auto/Wx/Wx.bundle

/Users/dj_goku/.cpan/build/Wx-0.98-U6c0Z2/blib/arch/auto/Wx/Wx.bundle:
        
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
 (compatibility version 1.0.0, current version 38.0.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
version 7.9.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 125.2.1)

> 
> and Wx build log?

http://paste.scsys.co.uk/56964

> 
> Regards,
> Mattia

Reply via email to