On 5 Aug 2010, at 16:35, Mattia Barbon wrote:

> Adam Witney wrote:
>>>> This is wrong on many levels... first Wx.bundle should link to the dynamic 
>>>> wxWidgets libs; since it does not, either you are linking to the static 
>>>> libs (unsupported) or the not linking at all to the wxWidgets libraries 
>>>> (which can't work).
>>> If you have the static wxWidgets still installed, could you please remove 
>>> them and the associated Alien::wxWidgets installation and start from 
>>> scratch?
>> This is probably because i built wxWidgets manually with --disable-shared 
>> which creates .a files and not .dylib. Trying to remove everything. I 
>> thought I had removed it all... but now installing Wx from cpan still thinks 
>> that wxWidgets is installed and then complains that it is not. Do you know 
>> how it tests for the presence of the wxWidget libraries? I also assume that 
>> cpan is now supposed to download and install the wxWidgets library itself?
> 
>  Also remove all the files installed by Alien::wxWidgets.

Ok i did that, but when installing Alien::wxWidgets through CPAN I didn't get 
the question to download wxWidgets (I get this question when installing 
Alien::wxWidgets manually). So tried a manual Alien::wxWidgets install, it 
downloaded wxWidgets but would not compile because it said wxWidgets did not 
support 64bit at this stage.

The problem seems to be related to the 64bit/32bit nature of perl on OSX 10.6. 
So I switched to using the built in 32bit perl (5.8.9) and it all worked!

cd Alien-wxWidgets-0.51
$ /usr/bin/perl5.8.9 Build.PL 
( Answer 'yes'  install wxWidgets 2.8.11 here)
$ /usr/bin/perl5.8.9 Build
$ /usr/bin/perl5.8.9 Build test
$ sudo /usr/bin/perl5.8.9 Build install

 /usr/bin/perl5.8.9 -MCPAN -e shell
cpan> install Wx

Have others managed to get this working with the stock OSX 10.6 perl, v 5.10.0?

thanks again

adam

Reply via email to