Begin main content

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 ....

06:53 PM, 30 Sep 2009 by Mark Aufflick Permalink | Short Link | Comments (2)

XML

Blog Categories

software (39)
..cocoa (21)
  ..heads up 'tunes (5)
..ruby (6)
..lisp (3)
..perl (4)
..openacs (1)
mac (20)
embedded (2)
..microprocessor (2)
  ..avr (1)
electronics (3)
design (1)
photography (25)
..black and white (6)
..A day in Sydney (18)
..The Daily Shoot (6)
food (2)
Book Review (2)

Notifications

Icon of Envelope Request notifications

Syndication Feed

XML

Recent Comments

  1. Unregistered Visitor: An other Script
  2. Unregistered Visitor: A message in there?
  3. Unregistered Visitor: using Amazon S3
  4. Unregistered Visitor: Thank you ! Thank you ! Thank you !
  5. Unregistered Visitor: Umbrello on leopard
  6. Unregistered Visitor: Script gor generate for library
  7. Unregistered Visitor: Similar but different
  8. Unregistered Visitor: Thanks for fixing my problem!
  9. Unregistered Visitor: Pop up once the category is been defined
  10. Unregistered Visitor: smal amendment