Saturday, June 05, 2010

Compiling Erlang OTPR13B04 with wx support on Ubuntu Lucid

Erlang R13B04 compiles and installs fairly easily on Ubuntu Lucid. The only tricky bit was installing wx dependencies. Here's how -

Make sure you do this first even before running configure -
sudo apt-get install wx2.8-dev freeglut3-dev libwxgtk2.8-dev
There is some problem with caching so if you have run ./configure before you have installed these dependencies, things will break with weird error messages. In such cases it is better to delete the otp_src_r13b04 directory completely and untar it from the tarball again.

No comments: