On Apr 24, 2004, at 1:48 PM, Edward Moy wrote:
Are you running on 10.3? If not, it would seem that wxPerl has an implicit 10.3 assumption. If you are running on 10.3, you can set the MACOSX_DEPLOYMENT_TARGET environment variable yourself with:
% env MACOSX_DEPLOYMENT_TARGET=10.3 make
Hi Edward, Thanks for your help. I set the environment variable and saw the following:
make[2]: Nothing to be done for `all'.
c++ -c -I. -I../.. -I/usr/local/lib/wx/include/mac-2.4 -Os -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" -DWXPL_EXT -D__WXMAC__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES STC.c
STC.c:33:24: wx/stc/stc.h: No such file or directory
STC.c: In function `void XS_Wx__StyledTextCtrl_new(PerlInterpreter*, CV*)':
...
cpp/st_constants.cpp:638: error: `wxSTC_VISIBLE_STRICT' undeclared (first use
this function)
cpp/st_constants.cpp:641: error: `wxSTC_WRAP_NONE' undeclared (first use this
function)
cpp/st_constants.cpp:642: error: `wxSTC_WRAP_WORD' undeclared (first use this
function)
make[2]: *** [STC.o] Error 1
make[1]: *** [subdirs] Error 2
make: *** [subdirs] Error 2
I'm not sure what to make of those errors. By the way, I'm using Panther v10.3.3 and Perl v5.8.1
Is there anyway to downgrade to OS Xv10.2 and Perl v5.6?
Thanks in advance. -gohaku