Hi,
Thanks for the notes on changes in Xcode 4.3. I'll follow how wxWidgets
itself handles this and ensure Alien::wxWidgets and Wx are updated
appropriately.
With regard to your Wx failures, I can't know until I have an Xcode 4.3
setup to test, but my guess would be that having a Perl compiled with
SDK 10.7 against a Wx and or wxWidgets compiled with SDK 10.6 causes
problems. But I can't be sure until I've setup 4.3 SDK and tested this
at some point in the future.
I note that you mentioned CitrusPerl but that too may suffer similar
problems if you try to build any xs modules.
Regards
Mark
On 26/02/2012 18:32, breno wrote:
Hi there (again)!
In my previous message
(http://www.nntp.perl.org/group/perl.wxperl.users/2012/02/msg8352.html)
I mentioned installing Alien::wxWidgets on a fresh "Lion" system
running Xcode 4.3 using a "standard" perl instead of CitrusPerl. The
next step was, of course, installing Wx.pm.
The first problem I got was this:
http://paste.scsys.co.uk/184337
In which the important bit is, I think, this:
/Developer/Tools/Rez -d __DARWIN__ -useDF -o build/wxPerl.rsrc wxPerl.r
make[1]: /Developer/Tools/Rez: No such file or directory
make[1]: *** [build/wxPerl.app/Contents/Resources/wxPerl.rsrc] Error 1
make: *** [wxPerl] Error 2
(/usr/bin/make exited with 512)
As I mentioned earlier, /Developer doesn't seem to be right for Xcode
4.3 (released this February I think) so I had to create a symlink to
build Alien::wxWidgets:
sudo ln -s
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer
/Developer
The problem is this path has no "Tools" directory. So I figured
another symlink was in order:
sudo ln -s /Applications/Xcode.app/Contents/Developer/Tools /Developer/Tools
After that the build starts to roll out smoothly, but crashes during
the tests. Some test windows appear to pop open but close really fast,
some currently opened windows blink and get/loose focus, and the cpan
output gets filled with test failures. Here's the full output:
http://paste.scsys.co.uk/184342
Any help would be greatly appreciated :-)
Thanks!
breno