Homebrew is not required to install Erlang and is optional. We also recommend installing Homebrew, a package manager for OS X. XCode is a set software development tools for developing on OS X. Homebrew ( optional) - Package Manager.įirst install XCode Developer Tools.XCode Developer Tools - Apple Software Development Tools.Once you’ve installed the prerequisites, continue with Installing on FreeBSD/Solaris. To install packages for graphics support use the following pkg command: sudo pkg install wx28-gtk2-2.8.12_4 To install the required dependencies run the following pkg command: sudo pkg update FreeBSD/Solaris Prerequisites Dependencies Once you’ve installed the prerequisites, continue with Installing on Debian/Ubuntu. To install packages for graphics support use the following apt-get command: sudo apt-get install libwxbase2.8 libwxgtk2.8-dev libqt4-opengl-dev Safely ignored when installing Riak in a typical non-graphical server Notes in the build output about missing support for wxWidgets can be ![]() These packages are not required for operation of a Riak node. If you’re using a graphical environment and want to use Erlang’s GUI utilities, you will need to install additional dependencies. Sudo apt-get install build-essential autoconf libncurses5-dev openssl libssl-dev fop xsltproc unixodbc-dev git ![]() To install the required dependencies run the following apt-get commands: sudo apt-get update Once you’ve configured kerl and installed autoconf continue with Installing with kerl. If this returns autoconf not found, install autoconf with: On OS X 10.9 (Mavericks) or later, you may need to install autoconf.Ĭheck for the presence of autoconf by running: which autoconf To compile Erlang as 64-bit on Mac OS X you need to instruct kerl to pass the correct flags to the configure command. If this returns autoconf not found, install autoconf by running: sudo pkg update Then check for the presence of autoconf by running: which autoconf enable-kernel-poll -without-odbc -enable-darwin-64bit" Next add the following contents to your ~/.kerlrc file: KERL_CONFIGURE_OPTIONS="-disable-hipe -enable-smp-support -enable-threads Start by by creating a ~/.kerlrc file: touch ~/.kerlrc Otherwise, continue with Installing with kerl. If you are using Mac OS X, FreeBSD, or Solaris, see the following sections for additional requirements before building with kerl. Install kerl by running the following command: curl -O Kerl is the quickest way to install different versions of Erlang on most systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |