107b7585a9 | ||
---|---|---|
cmake | ||
db | ||
distros | ||
doc-pak | ||
docs | ||
misc | ||
onvif | ||
scripts | ||
src | ||
umutils | ||
utils | ||
web | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AUTHORS | ||
BUGS | ||
CHANGELOG.md | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
COPYING | ||
ChangeLog | ||
Dockerfile | ||
INSTALL | ||
LICENSE | ||
NEWS | ||
README.md | ||
TODO | ||
cmakecacheimport.sh | ||
description-pak | ||
version | ||
zm.conf.in | ||
zmconfgen.pl.in | ||
zmlinkcontent.sh.in | ||
zoneminder-config.cmake |
README.md
###OSX port notes
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.
This may help folks who are interested in an OSX port.
Toolchain
xcode-select --install
requirement - macports (brew doesn't have polkit) sudo port install cmake sudo port install jpeg sudo port install mysql5
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 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'
Environment used to build
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
Build process
git submodule update --init --recursive cmake .
Things to resolve
*) Haven't tried make install - don't want my mac to explode - need a VM *) Apache linkage is TBD