On 4 Aug 2010, at 16:01, Mattia Barbon wrote:

> Adam Witney wrote:
> 
>  Hi,
> 
>> I am trying to install wxWidgets and wxPerl on OSX 10.6.
>> There are lots of notes online about different ways (32 bit, 64 bit, 
>> wxWidgets 2.8.11, 2.9.1 etc) to get it running, but none have yet been 
>> successful for me. I was wondering which method people have found to be 
>> successful?
>> Installing like this, for 32bit (OSX 10.6.4, perl 5.10.0)
> 
>  You are jumping through a lot of hoops... with a 32 bit Perl, just 
> installing from CPAN is supposed to work.  If it does not, it is a but and 
> needs to be fixed.  ASAP.
> 
>  Have you tried a simple CPAN build?  If you did, could you post the error 
> log?


Hi Mattia,

Using cpan gives the same errors from the make test part:

Running make test
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/01_load.............
#   Failed test 'use Wx;'
#   at t/01_load.t line 6.
#     Tried to use 'Wx'.
#     Error:  Can't load 
'/Users/adam/.cpan/build/Wx-0.9702-Nb4R7e/blib/arch/auto/Wx/Wx.bundle' for 
module Wx: 
dlopen(/Users/adam/.cpan/build/Wx-0.9702-Nb4R7e/blib/arch/auto/Wx/Wx.bundle, 
2): Symbol not found: __ZN10wxFontBase18ms_encodingDefaultE
#   Referenced from: 
/Users/adam/.cpan/build/Wx-0.9702-Nb4R7e/blib/arch/auto/Wx/Wx.bundle
#   Expected in: flat namespace
#  in /Users/adam/.cpan/build/Wx-0.9702-Nb4R7e/blib/arch/auto/Wx/Wx.bundle at 
/System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 207.
#  at (eval 3) line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t/01_load.t line 6.
Attempt to reload Wx.pm aborted.
Compilation failed in require at t/01_load.t line 8.
BEGIN failed--compilation aborted at t/01_load.t line 8.
t/01_load.............NOK 1/6# Looks like you planned 6 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
t/01_load.............dubious                                                
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
        Failed 6/6 tests, 0.00% okay

.... followed by pretty much the same error for all the tests. I can include 
them if required.

I had problems initially because i have a 64bit perl as well as the original 
system universal binary perl. These errors are using the system perl.

any ideas of what else I can try?

thanks for your help

adam


Reply via email to