-
Notifications
You must be signed in to change notification settings - Fork 12
/
MAC_DEP_README
76 lines (60 loc) · 1.55 KB
/
MAC_DEP_README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#Install Build Tools Mac
# Updated 10/21/2013
# http://en.wikipedia.org/wiki/GNU_build_system
export build=~/bin/gnubuildtools # or wherever you'd like to build
mkdir -p $build
# autoconf
# http://www.gnu.org/savannah-checkouts/gnu/autoconf/
cd $build
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
tar xzf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=$build/autotools-bin
make
make install
export PATH=$PATH:$build/autotools-bin/bin
# automake
# http://www.gnu.org/savannah-checkouts/gnu/automake/
cd $build
curl -OL http://ftpmirror.gnu.org/automake/automake-1.4.tar.gz
tar xzf automake-1.14.tar.gz
cd automake-1.14
./configure --prefix=$build/autotools-bin
make
make install
# libtool
# http://www.gnu.org/savannah-checkouts/gnu/libtool/
cd $build
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
tar xzf libtool-2.4.2.tar.gz
cd libtool-2.4.2
./configure --prefix=$build/autotools-bin
make
make install
# pkg-config
# http://www.freedesktop.org/wiki/Software/pkg-config/
cd $build
curl -OL http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
tar zxvf pkg-config-0.28.tar.gz
cd pkg-config-0.28
./configure --prefix=$build/autotools-bin --with-internal-glib
make
make install
# zeromq
# http://zeromq.org/area:download
cd $build
curl -OL http://download.zeromq.org/zeromq-4.0.1.tar.gz
tar zxvf zeromq-4.0.1.tar.gz
cd zeromq-4.0.1
./configure
make
sudo make install
# jzmq
# http://zeromq.org/bindings:java
cd $build
git clone https://github.com/zeromq/jzmq
cd jzmq
./autogen.sh
./configure
make
sudo make install