cmu-db / peloton

The Self-Driving Database Management System
http://pelotondb.io
Apache License 2.0
2.04k stars 623 forks source link

CMake fails under macOS Mojave 10.14.1 #1489

Open ZhangJiaQiao opened 6 years ago

ZhangJiaQiao commented 6 years ago

Cmake fails on my Macbook due to the doxygen problem. I have install the doxygen 1.8.14. How to solve this problem.
Output of file:

INFO Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

-- Unknown compiler. Version info:
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Selected compiler  
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/local/include, library: /usr/local/lib/libgflags.dylib)
-- Found PROTOBUF Compiler: /usr/local/bin/protoc
-- Found libevent pthread (include: /usr/local/include, library: /usr/local/lib/libevent_pthreads.dylib)
-- Found libevent (include: /usr/local/include, library: /usr/local/lib/libevent.dylib)
-- Found jemalloc (include: , library: /usr/local/lib/libjemalloc.dylib)
-- Found LLVM 3.9.1
-- Found Libffi (include: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/ffi, library: /usr/lib/libffi.dylib)
CMake Warning at CMakeLists.txt:112 (message):
  GNU gold linker isn't available, using the default system linker.

error: Cannot open file /Users/zhangjoe/Desktop/科研/peloton/build/CMakeDoxyfile.tpl for writing
CMake Error at /usr/local/Cellar/cmake/3.12.4/share/cmake/Modules/FindDoxygen.cmake:671 (message):
  Unable to generate Doxyfile template: 1
Call Stack (most recent call first):
  cmake/Modules/doxygen.cmake:7 (find_package)
  cmake/Modules/doxygen.cmake:54 (doxygen_init)
  CMakeLists.txt:178 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/zhangjoe/Desktop/科研/peloton/build/CMakeFiles/CMakeOutput.log".