Hi Achim,

I'd love to give you a more useful answer, but I'm afraid I don't have Mac,

Have you tried just

mkdir wxPerl
cd wxPerl 
svn co https://wxperl.svn.sourceforge.net/svnroot/wxperl/wxPerl/trunk
cd trunk 
perl Makefile.PL  
make 
make test  
make install    

Good luck.

Regards

Steve



-----Original Message-----
From: Achim Schneider [mailto:m...@achimschneider.org] 
Sent: 07 September 2011 10:11
To: wxperl-users@perl.org
Subject: Error while installing Wx (Alien::wxWidgets) on Mac OS Lion 

Hello everybody.
I got an WxPerl GUI Tool successfully running on Windows,
now I wanted to use it on Mac OS, but I failed on installing the Wx Module.

I used 'sudo cpanm -v Wx' to install

On first try I got the error that I have to run perl in 32bit mode, so i
changed the default to 32bit,
but afterwards it always fails installing the Alien::wxWidgets part with the
following error message:

...
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
ework/Headers/MacMemory.h:28,
                 from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
ework/Headers/CarbonCore.h:65,
                 from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/He
aders/AE.h:20,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                 from ../include/wx/mac/carbon/private.h:20,
                 from ../include/wx/mac/private.h:4,
                 from ../src/common/dynlib.cpp:48:
/Developer/Headers/FlatCarbon/strings.h:1:2: warning: #warning Strings.h is
not available on Mac OS X
In file included from ../include/wx/mac/private.h:4,
                 from ../src/common/dynlib.cpp:48:
../include/wx/mac/carbon/private.h:1459: error: 'Cursor' does not name a
type
../include/wx/mac/carbon/private.h:1488: error: 'ClassicCursor' does not
name a type
make: *** [basedll_dynlib.o] Error 1
system: make all: 512 at ./Build line 60
FAIL
! Installing Alien::wxWidgets failed. See /Users/asmacvm/.cpanm/build.log
for details.
! Bailing out the installation for Wx-0.9901. Retry with --prompt or
--force.

Reply via email to