When running cmake for CGAL 3.9, I get the following output:
root@postgresql local/CGAL-3.9# cmake -DWITH_CGAL_Qt3=OFF -DWITH_CGAL_Qt4=OFF -DWITH_CGAL_ImageIO=OFF .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- 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
-- Build CGAL from release: CGAL-3.9
-- Packagenames: CGAL-3.9
-- CGAL_MAJOR_VERSION=3
-- CGAL_MINOR_VERSION=9
-- CGAL_BUGFIX_VERSION=
-- CGAL_SONAME_VERSION=8
-- CGAL_SOVERSION =8.0.0
-- CGAL_REFERENCE_CACHE_DIR=
-- Building shared libraries
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- USING CMake version: 2.8.0
-- System: Linux
-- USING GCC_VERSION = '4.4.3'
-- Using gcc version 4 or later. Adding -frounding-math
-- Build type: Release
-- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
-- USING LDFLAGS = ' '
-- Could NOT find GMP
-- Could NOT find MPFR
-- CGAL_Core needs GMP, cannot be configured.
CMake Error at cmake/modules/FindBoost.cmake:917 (message):
Unable to find the requested Boost libraries.
Boost version: 1.40.0
Boost include path: /usr/include
The following Boost libraries could not be found:
boost_thread
No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
cmake/modules/CGAL_SetupDependencies.cmake:32 (include)
CMakeLists.txt:422 (include)
-- Boost include: /usr/include
-- Boost libraries:
-- Boost definitions:
-- USING BOOST_VERSION = '1.40.0'
...
I've tried various env variables. I am wondering if I need to install / compile some other boost thing? I have some libboost* in /usr/lib Any suggestions on things to try would be appreciated.