Skip to content

Instantly share code, notes, and snippets.

@JackDanger
Created August 28, 2009 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JackDanger/177138 to your computer and use it in GitHub Desktop.
Save JackDanger/177138 to your computer and use it in GitHub Desktop.
wx error while installing erlang otp r13b01 and r13b02 on mac OS X
If you're getting errors like this when attempting to configure Erlang OTP:
=== Entering application wx
make[3]: Nothing to be done for `opt'.
mkdir -p i386-apple-darwin9.8.0
g++ -c -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -g -Wall -O2 -fPIC -fomit-frame-pointer -fno-strict-aliasing -no-cpp-precomp -D_MACOSX -D_THREAD_SAFE -D_REENTRANT -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_OPENGL_GL_H=1 -DHAVE_GL_SUPPORT=1 -DHAVE_GLINTPTR=1 -DHAVE_GLINTPTRARB=1 -DHAVE_GLCHAR=1 -DHAVE_GLCHARARB=1 -DHAVE_WX_STC_STC_H=1 -I/Users/studioda/otp_src_R13B02/erts/emulator/beam -I/Users/studioda/otp_src_R13B02/erts/emulator/sys/i386-apple-darwin9.8.0 -I/Users/studioda/otp_src_R13B02/erts/include/internal -I/Users/studioda/otp_src_R13B02/erts/include/internal/i386-apple-darwin9.8.0 -I/Users/studioda/otp_src_R13B02/erts/include -I/Users/studioda/otp_src_R13B02/erts/include/i386-apple-darwin9.8.0 gen/wxe_events.cpp -o i386-apple-darwin9.8.0/wxe_events.o
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/fontdlg.h: In constructor ‘wxFontDialogBase::wxFontDialogBase(wxWindow*, const wxFontData*)’:
/usr/include/wx-2.8/wx/fontdlg.h:67: warning: ‘__base_ctor ’ is deprecated (declared at /usr/include/wx-2.8/wx/fontdlg.h:66)
gen/wxe_events.cpp: In function ‘void initEventTable()’:
gen/wxe_events.cpp:277: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN’ was not declared in this scope
gen/wxe_events.cpp:278: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP’ was not declared in this scope
gen/wxe_events.cpp:279: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN’ was not declared in this scope
gen/wxe_events.cpp:280: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP’ was not declared in this scope
gen/wxe_events.cpp:281: error: ‘wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED’ was not declared in this scope
gen/wxe_events.cpp:282: error: ‘wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE’ was not declared in this scope
gen/wxe_events.cpp:283: error: ‘wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK’ was not declared in this scope
make[3]: *** [i386-apple-darwin9.8.0/wxe_events.o] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
Then just disable the wx application with the following:
mv ./lib/wx ./wx_dont_install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment