I tried Hombrew, but didn't work.
brew install wget
Warning: You are using OS X 10.12.
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.
==> Installing dependencies for wget: xz, pkg-config, makedepend, openssl
==> Installing wget dependency: xz
==> Downloading https://fossies.org/linux/misc/xz-5.2.2.tar.gz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/xz/5.2.2
==> make install
Last 15 lines from /Users/kiko/Library/Logs/Homebrew/xz/02.make:
^
In file included from common/block_util.c:13:
In file included from ../../src/liblzma/common/common.h:17:
../../src/common/mythread.h:250:19: error: use of undeclared identifier 'CLOCK_REALTIME'
mycond->clk_id = CLOCK_REALTIME;
^
2 errors generated.
2 errors generated.
make[3]: *** [liblzma_la-common.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../src/liblzma/api -I../../src/liblzma/common -I../../src/liblzma/check -I../../src/liblzma/lz -I../../src/liblzma/rangecoder -I../../src/liblzma/lzma -I../../src/liblzma/delta -I../../src/liblzma/simple -I../../src/common -DTUKLIB_SYMBOL_PREFIX=lzma_ -D_THREAD_SAFE -pthread -fvisibility=hidden -Wall -Wextra -Wvla -Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -g -O2 -c ../common/tuklib_physmem.c -o liblzma_la-tuklib_physmem.o >/dev/null 2>&1
make[3]: *** [liblzma_la-block_util.lo] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-core/issues
These open issues may also help:
xz broken on OSX 10.11.6 Beta (15G24b) with XCode 8 Beta https://github.com/Homebrew/homebrew-core/issues/2674
Warning: You are using OS X 10.12.
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../certbot-auto --apache --debug
Bootstrapping dependencies via Mac OS X...
Using Homebrew to install dependencies...
Warning: You are using OS X 10.12.
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.
==> Installing dependencies for augeas: pkg-config, libxml2, readline
==> Installing augeas dependency: pkg-config
==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.29.1_1 --disable-host-to
==> make
Last 15 lines from /Users/kiko/Library/Logs/Homebrew/pkg-config/02.make:
CC libglib_2_0_la-gmappedfile.lo
CC libglib_2_0_la-gmarkup.lo
CC libglib_2_0_la-gmem.lo
gmain.c:2550:18: error: use of undeclared identifier 'CLOCK_REALTIME'
clock_gettime (CLOCK_REALTIME, &ts);
^
1 error generated.
make[6]: *** [libglib_2_0_la-gmain.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-core/issues
Warning: You are using OS X 10.12.
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.what is alternative for Homebrew on 10.12?