realXtend/naali — Issue #338: Mumble library does not build on Mac with the provided build-mac-deps.bash
Author: juj
Created: 2012-02-01 15:14:08+00:00
State: open
Labels: Bug, cmake, Mac OS X - specific

When running the build-mac-deps.bash script to build Tundra, the script fails when building the mumbleclient library:

Cloning into mumbleclient...
remote: Counting objects: 369, done.
remote: Compressing objects: 100% (176/176), done.
remote: Total 369 (delta 248), reused 308 (delta 187)
Receiving objects: 100% (369/369), 83.72 KiB, done.
Resolving deltas: 100% (248/248), done.
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /Applications/CMake 2.8-7.app/Contents/share/cmake-2.8/Modules/FindBoost.cmake:1199 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:38 (find_package)

-- Boost found: FALSE
-- Include dirs
-- -- Boost_INCLUDE_DIR-NOTFOUND
-- Libraries
-- --
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib (found version "0.9.8")
-- OpenSSL found: TRUE
-- Include dirs
-- -- /usr/include
-- Libraries
-- -- /usr/lib/libssl.dylib
-- -- /usr/lib/libcrypto.dylib
-- --
-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- Protobuf found: FALSE
-- Include dirs
-- --
-- Libraries
-- -- PROTOBUF_LIBRARY-NOTFOUND
-- Protoc executable
-- -- /Users/ludocraft/naalideps/bin/protoc
-- --
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /Users/ludocraft/naalideps/build/mumbleclient
PROTOBUF_INCLUDE_DIR (ADVANCED)
used as include directory in directory /Users/ludocraft/naalideps/build/mumbleclient
PROTOBUF_LIBRARY (ADVANCED)
linked by target "mumbleclient" in directory /Users/ludocraft/naalideps/build/mumbleclient

-- Configuring incomplete, errors occurred!