On OS X 10.9, librevenge fails to pass ./configure when looking for one of the boost headers:
checking for Darwin (Mac OS X) platform... yes
checking for boost/algorithm/string.hpp... yes
checking for boost/archive/iterators/base64_from_binary.hpp... yes
checking for boost/archive/iterators/binary_from_base64.hpp... yes
checking for boost/archive/iterators/remove_whitespace.hpp... yes
checking for boost/archive/iterators/transform_width.hpp... no
configure: error: Required boost headers not found.
Looking into config.log, here's the output:
configure:16425: checking for boost/archive/iterators/transform_width.hpp
configure:16425: g++ -c -g -O2 -Wall -Wextra -pedantic -Wshadow -Wunused-variable -I/sw/opt/boost-1_55/include -I/sw/include conftest.cpp >&5
In file included from conftest.cpp:29:
/sw/opt/boost-1_55/include/boost/archive/iterators/transform_width.hpp:151:31: error: no member named 'min' in namespace 'std'
unsigned int i = std::min(missing_bits, m_remaining_bits);
~~~^
1 error generated.
configure:16425: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "librevenge"
| #define PACKAGE_TARNAME "librevenge"
| #define PACKAGE_VERSION "0.0.1"
| #define PACKAGE_STRING "librevenge 0.0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "librevenge"
| #define VERSION "0.0.1"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_BOOST_ALGORITHM_STRING_HPP 1
| #define HAVE_BOOST_ARCHIVE_ITERATORS_BASE64_FROM_BINARY_HPP 1
| #define HAVE_BOOST_ARCHIVE_ITERATORS_BINARY_FROM_BASE64_HPP 1
| #define HAVE_BOOST_ARCHIVE_ITERATORS_REMOVE_WHITESPACE_HPP 1
| /* end confdefs.h. */
|
|
|
| #include <boost/archive/iterators/transform_width.hpp>
configure:16425: result: no
configure:16434: error: Required boost headers not found.
I am using boost-1.55.0, Apple-clang 6.0 (llvm3.5-svn), and on OS X 10.9+ libc++ is the standard C++ library.
It looks like it's a problem with boost itself: https://svn.boost.org/trac/boost/ticket/9421
Sorry about the noise.
No problem.