2016-05-17 04:14:02 +08:00
|
|
|
###OSX port notes
|
2008-10-28 20:48:42 +08:00
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
This is an initial port *attempt* OSX
|
|
|
|
It's just at a point where stuff compiles, and processes run from command line
|
|
|
|
That's pretty much it. No packaging modifications yet (and therefore no make install) and no idea if mapped memory works
|
|
|
|
No idea if it works together as a system either.
|
2013-09-24 01:21:29 +08:00
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
This may help folks who are interested in an OSX port.
|
2007-09-18 22:15:29 +08:00
|
|
|
|
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
#### Toolchain
|
2013-08-15 00:37:10 +08:00
|
|
|
|
2016-05-17 05:08:19 +08:00
|
|
|
xcode-select --install
|
|
|
|
|
2016-05-17 04:49:46 +08:00
|
|
|
requirement - macports (brew doesn't have polkit)
|
|
|
|
sudo port install cmake
|
2016-05-17 05:08:19 +08:00
|
|
|
sudo port install jpeg
|
|
|
|
sudo port install mysql5
|
2015-07-25 03:01:25 +08:00
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
sudo perl -MCPAN -e 'install DBI'
|
|
|
|
sudo perl -MCPAN -e 'install DBD::mysql'
|
|
|
|
sudo perl -MCPAN -e 'install Sys::Mmap'
|
2016-05-17 04:49:46 +08:00
|
|
|
sudo perl -MCPAN -e 'install DBI'
|
|
|
|
sudo perl -MCPAN -e 'install DBD::mysql'
|
|
|
|
sudo perl -MCPAN -e 'install Sys::Mmap'
|
|
|
|
sudo perl -MCPAN -e 'install Date::Manip'
|
|
|
|
sudo perl -MCPAN -e 'install LWP::UserAgent'
|
|
|
|
|
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
#### Environment used to build
|
2013-08-15 00:37:10 +08:00
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
Xcode Version 7.3.1 (7D1014)
|
|
|
|
gcc --version
|
|
|
|
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
|
|
|
|
Apple LLVM version 7.3.0 (clang-703.0.31)
|
|
|
|
Target: x86_64-apple-darwin15.4.0
|
|
|
|
Thread model: posix
|
|
|
|
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
2013-08-15 00:37:10 +08:00
|
|
|
|
2015-05-14 22:06:42 +08:00
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
#### Build process
|
2016-05-17 05:08:19 +08:00
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
git submodule update --init --recursive
|
2016-05-17 04:49:46 +08:00
|
|
|
cmake .
|
2015-05-14 22:06:42 +08:00
|
|
|
|
2016-05-17 04:14:02 +08:00
|
|
|
#### Things to resolve
|
2016-05-17 05:08:19 +08:00
|
|
|
*) Haven't tried make install - don't want my mac to explode - need a VM
|
|
|
|
*) Apache linkage is TBD
|