Subject: | 0.9922 fails to compile on OS X |
Hello Mark,
I'm attaching the last part of the compilation, where a failure prevents Wx to build and install. Let me know if you need more details.
/opt/local/bin/perl /opt/local/lib/perl5/site_perl/5.12.3/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /opt/local/lib/perl5/5.12.3/ExtUtils/typemap -typemap typemap Wx.xs > Wx.xsc && mv Wx.xsc Wx.c
g++ -mmacosx-version-min=10.6 -UWX_PRECOMP -c -I. -I. -I/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/lib/wx/include/osx_cocoa-unicode-2.9 -I/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9 -pipe -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -O3 -DVERSION=\"0.9922\" -DXS_VERSION=\"0.9922\" "-I/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE" -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ Wx.c
In file included from Wx.c:6498:
cpp/log.h: In member function ‘virtual void wxPlLog::DoLogString(const wxChar*, time_t)’:
cpp/log.h:33: warning: ‘DoLogString’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/log.h:584)
cpp/log.h: In member function ‘virtual void wxPlLog::DoLog(wxLogLevel, const wxChar*, time_t)’:
cpp/log.h:34: warning: ‘DoLog’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/log.h:573)
cpp/log.h: In member function ‘virtual void wxPlLogPassThrough::DoLogString(const wxChar*, time_t)’:
cpp/log.h:64: warning: ‘DoLogString’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/log.h:584)
cpp/log.h: In member function ‘virtual void wxPlLogPassThrough::DoLog(wxLogLevel, const wxChar*, time_t)’:
cpp/log.h:66: warning: ‘DoLog’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/log.h:573)
cpp/log.h: At global scope:
cpp/log.h:77: error: expected class-name before ‘{’ token
cpp/log.h: In member function ‘wxString wxPlLogFormatter::Format(wxLogLevel, const wxString&, const wxLogRecordInfo&) const’:
cpp/log.h:106: error: ‘wxLogFormatter’ has not been declared
cpp/log.h: In member function ‘wxString wxPlLogFormatter::FormatTime(time_t) const’:
cpp/log.h:123: error: ‘wxLogFormatter’ has not been declared
Wx.c: In function ‘void XS_Wx__Log_SetTraceMask(PerlInterpreter*, CV*)’:
Wx.c:7128: warning: ‘SetTraceMask’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/log.h:532)
Wx.c: In function ‘void XS_Wx__LogFormatter_Destroy(PerlInterpreter*, CV*)’:
Wx.c:7918: error: ‘wxLogFormatter’ was not declared in this scope
Wx.c:7918: error: ‘THIS’ was not declared in this scope
Wx.c:7918: error: expected primary-expression before ‘)’ token
Wx.c:7918: error: expected `;' before ‘wxPli_sv_2_object’
Wx.c:7920: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
Wx.c: In function ‘void XS_Wx__MenuBar_GetLabelTop(PerlInterpreter*, CV*)’:
Wx.c:9652: warning: ‘GetLabelTop’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/menu.h:556)
Wx.c: In function ‘void XS_Wx__MenuBar_SetLabelTop(PerlInterpreter*, CV*)’:
Wx.c:9943: warning: ‘SetLabelTop’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/menu.h:554)
Wx.c: In function ‘void XS_Wx__MenuItem_GetLabel(PerlInterpreter*, CV*)’:
Wx.c:10368: warning: ‘GetLabel’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/menuitem.h:177)
Wx.c: In function ‘void XS_Wx__MenuItem_GetLabelFromText(PerlInterpreter*, CV*)’:
Wx.c:10388: warning: ‘GetLabelFromText’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/menuitem.h:130)
Wx.c: In function ‘void XS_Wx__MenuItem_GetText(PerlInterpreter*, CV*)’:
Wx.c:10515: warning: ‘GetText’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/menuitem.h:179)
Wx.c: In function ‘void XS_Wx__Variant_GetList(PerlInterpreter*, CV*)’:
Wx.c:19547: warning: ‘operator 30’ is deprecated (declared at /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_3_uni/include/wx-2.9/wx/list.h:1183)
make: *** [Wx.o] Error 1
-> FAIL Installing Wx failed. See /Users/al/.cpanm/work/1377438874.26868/build.log for details. Retry with --force to force install it.