Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Unofficial Erlang/OTP FreeBSD Port

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 erlang
Octocat-spinner-32 building-otp-port.md
Octocat-spinner-32 readme.md
readme.md

(Unofficial) FreeBSD Port for Erlang/OTP

This is an unofficial FreeBSD Port file for Erlang/OTP. The contents are based on the lang/erlang Port available in the FreeBSD Port tree.

This Port is highly experimental.

Current version is for R15B01, tested on 9.0-RELEASE/amd64 and 8.2-RELEASE/i386.

Notes

Merged OptionsNG patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=169355.

In this Port parallel make is enabled. (aka MAKE_JOBS_SAFE = true))

USE_OPENSSL for enabling bsd.openssl.mk does not seem to work, so it is not explicitly set in the Makefile. The library search path decides what to link, and it seems /usr/local/lib takes precedence over /usr/lib. You can verify which one is linked by objdump -x /usr/local/lib/erlang/lib/crypto-MODULE_VERSION/priv/lib/crypto.so and check out the version numbers for libssl.so.*.

Native Libraries compilation flag is now supported; On amd64, however, it does not work on the libraries yet.

DTrace support

http://wiki.freebsd.org/DTrace is a must read for testing DTrace. At least you've got to do the following things:

  • Rebuild the kernel with all the necessary options.
  • Add necessary definitions in make.conf; Erlang BEAM works on the userland.
  • Compile the Port with the root privilege; otherwise dtrace -h won't work.
  • Invoke dtrace command with the root privilege when profiling; using sudo may help. (You don't have to run the target Erlang BEAM privileged BTW.)
Something went wrong with that request. Please try again.