[erlang-questions] erlang 21.0.4 with wx/no java/no odbc on freebsd
anders.gs.svensson@REDACTED
anders.gs.svensson@REDACTED
Fri Jul 27 12:24:46 CEST 2018
Better, use something like
configure --with-wx-config=/usr/pkg/bin/wx-config-3.0
to communicate the relevant path.
Anders
erlang-questions-request@REDACTED writes:
> Date: Thu, 26 Jul 2018 10:24:36 -0600
> From: Wes James <comptekki@REDACTED>
> To: erlang questions <erlang-questions@REDACTED>
> Subject: [erlang-questions] erlang 21.0.4 with wx/no java/no odbc on
> freebsd
>
> 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
More information about the erlang-questions
mailing list