Open devrimgunduz opened 10 years ago
This time I suspect boost: 1.41 is quite old. Have you tried building against newer boost release?
I did not -- this is what RHEL 6 has :( So, if you are sure that boost is the suspicous piece, would you like to add a check for min boost version in makefile, like you did for cmake?
I'm not sure yet, just suspicious.
I'll see if mongo code can be hammered into working with boost 1.41...
Hi,
Did you find time to take a look at this?
Regards, Devrim
nope
Hi,
Another issue -- this time on RHEL 6:
cmake 2.8.11.2 gcc 4.4.7 boost 1.41
[ 64%] Building CXX object pgbson/CMakeFiles/pgbson.dir/mongo-cxx-driver-v2.4/src/mongo/util/file_allocator.cpp.o In file included from /usr/include/boost/thread/future.hpp:13, from /usr/include/boost/thread.hpp:25, from /var/lib/pgsql/rpm/BUILD/pgbson-1.0.1/pgbson/mongo-cxx-driver-v2.4/src/mongo/util/file_allocator.cpp:21: /usr/include/boost/exception_ptr.hpp:43: error: looser throw specifier for 'virtual boost::exception_ptr::~exception_ptr()' /usr/include/boost/exception/detail/exception_ptr_base.hpp:26: error: overriding 'virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()' make[3]: * [pgbson/CMakeFiles/pgbson.dir/mongo-cxx-driver-v2.4/src/mongo/util/file_allocator.cpp.o] Error 1 make[3]: Leaving directory `/var/lib/pgsql/rpm/BUILD/pgbson-1.0.1-build' make[2]: * [pgbson/CMakeFiles/pgbson.dir/all] Error 2 make[2]: Leaving directory
/var/lib/pgsql/rpm/BUILD/pgbson-1.0.1-build' make[1]: **\* [all] Error 2 make[1]: Leaving directory
/var/lib/pgsql/rpm/BUILD/pgbson-1.0.1-build' error: Bad exit status from /var/tmp/rpm-tmp.RyUaqM (%build)Regards, Devrim