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

Wes James comptekki@REDACTED
Fri Jul 27 16:05:27 CEST 2018


Ah, yes.  I should have looked to see if there was a "configure" option.
Thanks for the tip!

On Fri, Jul 27, 2018 at 4:24 AM, <anders.gs.svensson@REDACTED> wrote:

> 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
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180727/d09c4e5a/attachment.htm>


More information about the erlang-questions mailing list