[erlang-questions] got wx working with R15B on OS X Lion
Sat Feb 11 21:56:40 CET 2012
Oops, I forgot to tell options you need to specify when running the
brew install wxmac
brew install ncurses --universal
brew install erlang --odbc --wxmac
2012年2月12日5:52 Hiroaki Nakamura <>:
> I made a Homebrew Formula for building Erlang R15B with wxMac 2.8.2,
> ncurses 5.9.
> Yes, you need to build all of them in 32-bit.
> 2012/2/9 Wes James <>:
>> I just did this on a new machine and realize that
>> should be
>> ./configure --enable-m32-build
>> for wxwidgets to work on Lion.
>> On Tue, Dec 20, 2011 at 8:45 PM, Wes James <> wrote:
>>> How to get wx working in Erlang R15B on OS X Lion. (this is one way,
>>> maybe there are others??)
>>> 1. install mac ports ( http://www.macports.org/ )
>>> 2. run: sudo port -f install wxwidgets
>>> 3. in .bashrc add:
>>> export LDFLAGS='-L/opt/local/lib'
>>> export CPPFLAGS='-I/opt/local/include'
>>> export LD_LIBRARY_PATH=/opt/local/lib
>>> export LD_INCLUDE_PATH=/opt/local/include
>>> 4. download Erlang R15B from erlang.org or
>>> git clone https://github.com/erlang/otp.git
>>> 5. in the src folder run:
>>> ./otp_build autoconf
>>> make install
>>> (maybe one of the otp_buld options does these three installing in /usr/local ??)
>>> 6. run erl
>>> 7. run wx:demo(). to check if it runs
>>> I saw that there is a mac port of R14B04 that I was going to try next here:
>>> But R15B is working now, but with this error when running programs:
>>> 2011-12-20 20:26:25.547 beam.smp[28373:e0b] CFURLCreateWithString was
>>> passed this invalid URL string: '/Syst\
>>> em/Library/CoreServices/CommonCocoaPanels.bundle' (a file system path
>>> instead of an URL string). The URL cre\
>>> ated will not work with most file URL functions.
>>> CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemP\
>>> athRelativeToBase should be used instead.
>>> The wx gui debugger is so much better than the xwindow version on OS X
>>> Lion. The worst thing was the pin-wheel of death when a window was
>>> resized from the bottom right corner. The only resize that would work
>>> was clicking on the green maximize button at the top left of a window.
>> erlang-questions mailing list
> 中村 弘輝 )Hiroaki Nakamura)
中村 弘輝 )Hiroaki Nakamura)
More information about the erlang-questions