-
Notifications
You must be signed in to change notification settings - Fork 6
/
BUILD.OSX
38 lines (34 loc) · 843 Bytes
/
BUILD.OSX
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
SETUP
=====
brew install automake
brew install libtool
brew install ccache
brew install boost
brew install log4cxx
brew install ossp-uuid
brew install mysql
brew edit gearman
-- change ["--without-mysql"] to ["--with-mysql=/usr/local/bin/mysql_config"]
brew install gearman
brew install soci --with-mysql --with-boost
brew install swig
brew install pkg-config
brew install yajl
brew install curl
sudo cpan install Archive::Tar
sudo cpan install Test::Trivial
sudo cpan install JSON
sudo cpan install Log::Dispatch
easy_install -U Sphinx
INIT
====
export PATH=/usr/local/Cellar/ccache/3.1.9/libexec:$PATH
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/opt/ossp-uuid/lib/pkgconfig:/usr/local/Cellar/curl/7.32.0/lib/pkgconfig/
./autogen.sh
./configure
BUILD
=====
make check
BUILD DOCUMENTATION
===================
cd doc && make html