Mainly, so I don’t forget, here’s a series of configure flags that allow
you to build Erlang R16B02 on SmartOS successfully. This was done on a
There are a few interesting things here:
This enables HiPE. Supposedly there are problems with HiPE on any of
the OpenSolaris derived systems, specifically OmniOS and SmartOS. I
build this release in the process of testing HiPE, so I’ve enabled
both the HiPE application and native library compilation.
I’ve disabled the JInterface application, because I
was running into problems with the generated Makefile. See below.
I’ve also disabled the ODBC application, because the
freetds package in SmartOS, while providing the correct header files
appears to be missing some of the runtime library dependencies needed.
Finally, I’ve manually specified the path to the correct OpenSSL
package, which is located in /opt/local so the crypto application
JInterface Makefile Problems
I’ve submitted a bug to Erlang/OTP, but the Makefile generation for
JInterface also has some problems. Here’s an excerpt of my post to
Hopefully this helps next time you need to build Erlang on SmartOS.