Problem compiling Erlang 13B02 on MacOS
I was getting the following error compiling erlang 13B02 on MacOS Leopard:
Thanks to the Google translation of a page in Japanese on javaeye.com (link) I figured out I had to rebuild wxWidgets (even though version 2.8 already seems installed in Leopard). Here's the nub of it:
- Download wxWidgets 2.8.x, untar to a directory of your choice
- cd into the un-tarred directory and make a build dir (eg. mkdir MYBUILD)
- cd into that new directory and build a static install into a destination of your choice (I put it in /opt/wxWidgets28):
../configure --with-opengl --enable-unicode --enable-graphics_ctx --enable-gnomeprint --disable-shared --prefix=/opt/wxWidgets28
make
sudo make install
cd contrib/src/stc
make
sudo make install - Now you can build OTP/Erlang properly, but make sure the new wx-config is first in your path, eg:
PATH=/opt/wxWidgets28/bin:$PATH ./configure ....
04:53 AM, 30 Sep 2009 by Mark Aufflick Permalink
this post worked perfectly for me
thanks! this worked great to help me compile and install Erlang.
by Unregistered Visitor on 10/05/09
--with-wx-config
will also work vs. modifying your path.
by Unregistered Visitor on 11/05/09






