Skip to content

Instantly share code, notes, and snippets.

@evadne
Created June 29, 2017 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evadne/8424f4dee3243e96e35ec5b6ecc8568f to your computer and use it in GitHub Desktop.
Save evadne/8424f4dee3243e96e35ec5b6ecc8568f to your computer and use it in GitHub Desktop.
Erlang/OTP 20, wxmac 3.1.0, macOS 10.13 17A291m
Overlord:~ evadne$ brew install erlang
==> Installing dependencies for erlang: autoconf, automake, libtool, pkg-config, makedepend, openssl, jpeg, libpng, libtiff, wxmac
==> Installing erlang dependency: autoconf
==> Using the sandbox
==> Downloading https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/autoconf/2.69 --with-lispdir=/usr/local/Cellar/autoconf/2.69/share/emacs/site-lisp/autoconf
==> make install
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/autoconf
==> Summary
🍺 /usr/local/Cellar/autoconf/2.69: 71 files, 3.0MB, built in 13 seconds
==> Installing erlang dependency: automake
==> Downloading https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/automake/1.15.1
==> make install
🍺 /usr/local/Cellar/automake/1.15.1: 131 files, 3.0MB, built in 12 seconds
==> Installing erlang dependency: libtool
==> Downloading https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtool/2.4.6_1 --program-prefix=g --enable-ltdl-install
==> make install
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺 /usr/local/Cellar/libtool/2.4.6_1: 71 files, 3.7MB, built in 29 seconds
==> Installing erlang dependency: pkg-config
==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.29.2 --disable-host-tool --with-internal-glib --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13
==> make
==> make check
==> make install
🍺 /usr/local/Cellar/pkg-config/0.29.2: 11 files, 627.1KB, built in 1 minute 35 seconds
==> Installing erlang dependency: makedepend
==> Downloading https://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.5.tar.bz2
######################################################################## 100.0%
==> Downloading https://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.28.tar.gz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/private/tmp/makedepend-20170629-29481-1cird6x/makedepend-1.0.5/xproto
==> make install
==> Downloading https://xorg.freedesktop.org/releases/individual/util/util-macros-1.19.0.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/private/tmp/makedepend-20170629-29481-1cird6x/makedepend-1.0.5/xorg-macros
==> make install
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/makedepend/1.0.5
==> make install
🍺 /usr/local/Cellar/makedepend/1.0.5: 8 files, 74.5KB, built in 33 seconds
==> Installing erlang dependency: openssl
==> Downloading https://www.openssl.org/source/openssl-1.0.2l.tar.gz
######################################################################## 100.0%
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.2l --openssldir=/usr/local/etc/openssl no-ssl2 zlib-dynamic shared enable-cms darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
==> make depend
==> make
==> make test
==> make install MANDIR=/usr/local/Cellar/openssl/1.0.2l/share/man MANSUFFIX=ssl
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.
If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
For pkg-config to find this software you may need to set:
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2l: 1,701 files, 12.2MB, built in 5 minutes 8 seconds
==> Installing erlang dependency: jpeg
==> Downloading http://www.ijg.org/files/jpegsrc.v8d.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/jpeg/8d
==> make install
🍺 /usr/local/Cellar/jpeg/8d: 20 files, 714.6KB, built in 23 seconds
==> Installing erlang dependency: libpng
==> Downloading ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.29.tar.xz
curl: (19) Given file does not exist
Trying a mirror...
==> Downloading https://downloads.sourceforge.net/project/libpng/libpng16/1.6.29/libpng-1.6.29.tar.xz
==> Downloading from https://netcologne.dl.sourceforge.net/project/libpng/libpng16/1.6.29/libpng-1.6.29.tar.xz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libpng/1.6.29
==> make
==> make test
==> make install
🍺 /usr/local/Cellar/libpng/1.6.29: 26 files, 1.2MB, built in 45 seconds
==> Installing erlang dependency: libtiff
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.8.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtiff/4.0.8 --without-x --with-jpeg-include-dir=/usr/local/opt/jpeg/include --with-jpeg-lib-dir=/usr/local/opt/jpeg/lib --disable-lzma
==> make install
🍺 /usr/local/Cellar/libtiff/4.0.8: 245 files, 3.4MB, built in 43 seconds
==> Installing erlang dependency: wxmac
==> Downloading https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.2/wxWidgets-3.0.2.tar.bz2
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/1764646/286cbc08-7b49-11e5-8b9d-784bf4203bcd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170629%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170629T1
######################################################################## 100.0%
==> Downloading https://trac.wxwidgets.org/raw-attachment/ticket/16959/wxPaperCustomPatch.patch
######################################################################## 100.0%
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/bbf4995/wxmac/patch-yosemite.diff
######################################################################## 100.0%
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/bbf4995/wxmac/patch-quicktime-removal.diff
######################################################################## 100.0%
==> Patching
==> Applying wxPaperCustomPatch.patch
patching file src/osx/core/printmac.cpp
==> Applying patch-yosemite.diff
patching file include/wx/defs.h
patching file include/wx/html/webkit.h
patching file include/wx/osx/webview_webkit.h
==> Applying patch-quicktime-removal.diff
patching file src/osx/carbon/dataobj.cpp
patching file src/osx/core/bitmap.cpp
==> ./configure --prefix=/usr/local/Cellar/wxmac/3.0.2_4 --enable-unicode --enable-std_string --enable-display --with-opengl --with-osx_cocoa --with-libjpeg --with-libtiff --with-libpng --with-zlib --enable-dnd --enable-clipboard --enable-webkit --enable-svg --disa
==> make install
Last 15 lines from /Users/evadne/Library/Logs/Homebrew/wxmac/02.make:
^~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/stdlib.h:137:6: note: candidate function
int abs(int) __pure2;
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:115:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {return labs(__x);}
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:117:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
^
/private/tmp/wxmac-20170629-80478-125hdrq/wxWidgets-3.0.2/bk-deps clang++ -mmacosx-version-min=10.13 -c -o wxscintilla_Selection.o -DNDEBUG -I./src/stc/scintilla/include -I./src/stc/scintilla/lexlib -I./src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -D__WXOSX_COCOA__ -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -I/private/tmp/wxmac-20170629-80478-125hdrq/wxWidgets-3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 -I./include -O2 -fno-strict-aliasing -fno-common ./src/stc/scintilla/src/Selection.cxx
2 errors generated.
/private/tmp/wxmac-20170629-80478-125hdrq/wxWidgets-3.0.2/bk-deps clang++ -mmacosx-version-min=10.13 -c -o wxscintilla_Style.o -DNDEBUG -I./src/stc/scintilla/include -I./src/stc/scintilla/lexlib -I./src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -D__WXOSX_COCOA__ -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -I/private/tmp/wxmac-20170629-80478-125hdrq/wxWidgets-3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 -I./include -O2 -fno-strict-aliasing -fno-common ./src/stc/scintilla/src/Style.cxx
make: *** [wxscintilla_Editor.o] Error 1
make: *** Waiting for unfinished jobs....
Do not report this issue to Homebrew/brew or Homebrew/core!
Error: You are using macOS 10.13.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
Error: You are using macOS 10.13.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
Overlord:~ evadne$ brew install --devel wxmac
==> Using the sandbox
==> Downloading https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/1764646/64207110-de70-11e5-9322-39820cafcc07?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170629%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170629T1
######################################################################## 100.0%
==> Downloading https://github.com/wxWidgets/wxWidgets/commit/cee3188c1abaa5b222c57b87cc94064e56921db8.patch?full_index=1
######################################################################## 100.0%
==> Downloading https://github.com/wxWidgets/wxWidgets/commit/ee486dba32d02c744ae4007940f41a5b24b8c574.patch?full_index=1
######################################################################## 100.0%
==> Downloading https://github.com/wxWidgets/wxWidgets/commit/173ecd77c4280e48541c33bdfe499985852935ba.patch?full_index=1
######################################################################## 100.0%
==> Patching
==> Applying cee3188c1abaa5b222c57b87cc94064e56921db8.patch
patching file src/common/combocmn.cpp
==> Applying ee486dba32d02c744ae4007940f41a5b24b8c574.patch
patching file src/osx/carbon/graphics.cpp
==> Applying 173ecd77c4280e48541c33bdfe499985852935ba.patch
patching file include/wx/textctrl.h
==> ./configure --prefix=/usr/local/Cellar/wxmac/3.1.0_4 --enable-unicode --enable-std_string --enable-display --with-opengl --with-osx_cocoa --with-libjpeg --with-libtiff --with-libpng --with-zlib --enable-dnd --enable-clipboard --enable-webkit --enable-svg --disa
==> make install
🍺 /usr/local/Cellar/wxmac/3.1.0_4: 812 files, 24.5MB, built in 4 minutes 18 seconds
Overlord:~ evadne$ brew install erlang
==> Using the sandbox
==> Downloading https://github.com/erlang/otp/archive/OTP-20.0.tar.gz
==> Downloading from https://codeload.github.com/erlang/otp/tar.gz/OTP-20.0
######################################################################## 100.0%
==> ./otp_build autoconf
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/erlang/20.0 --enable-kernel-poll --enable-threads --enable-sctp --enable-dynamic-ssl-lib --with-ssl=/usr/local/opt/openssl --enable-shared-zlib --enable-smp-support --enable-darwin-64bit --enable-wx
==> make
==> make install
==> Downloading https://www.erlang.org/download/otp_doc_man_20.0.tar.gz
==> Downloading from http://erlang.org/download/otp_doc_man_20.0.tar.gz
######################################################################## 100.0%
==> Downloading https://www.erlang.org/download/otp_doc_html_20.0.tar.gz
==> Downloading from http://erlang.org/download/otp_doc_html_20.0.tar.gz
######################################################################## 100.0%
==> Caveats
Man pages can be found in:
/usr/local/opt/erlang/lib/erlang/man
Access them with `erl -man`, or add this directory to MANPATH.
==> Summary
🍺 /usr/local/Cellar/erlang/20.0: 7,103 files, 276.9MB, built in 6 minutes 12 seconds
Overlord:~ evadne$ erl
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Eshell V9.0 (abort with ^G)
1> 10 + 10.
20
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
(v)ersion (k)ill (D)b-tables (d)istribution
^COverlord:~ evadne$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment