[erlang-questions] erlang 21.0.4 with wx/no java/no odbc on freebsd

Wes James comptekki@REDACTED
Thu Jul 26 18:24:36 CEST 2018


If you want to try erlang on freebsd from source:


alias pi='sudo pkg install'

pi wget autoconf gmake wx30-gtk2
cd /usr/local/bin
sudo ln -s wxgtk2u-3.0-config wx-config

cd
mkdir downloads
cd downloads/
wget https://github.com/erlang/otp/archive/OTP-21.0.4.tar.gz
tar -zxf OTP-21.0.4.tar.gz
cd otp-OTP-21.0.4/
time ./otp_build autoconf
time ./configure
time gmake
time sudo gmake install

Test that wx works:

erl

Erlang/OTP 21 [erts-10.0.4] [source] [64-bit] [smp:2:2] [ds:2:2:10]
[async-threads:1] [hipe]

Eshell V10.0.4  (abort with ^G)
1> wx:demo().

---------

-wes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180726/ff97cd02/attachment.htm>


More information about the erlang-questions mailing list