[pkg-boost-devel] Bug#425923: quantlib: FTBFS with new boost libraries
Dirk Eddelbuettel
edd at debian.org
Fri May 25 18:34:24 UTC 2007
On 25 May 2007 at 20:25, Domenico Andreoli wrote:
| On Fri, May 25, 2007 at 12:23:49PM -0500, Dirk Eddelbuettel wrote:
| >
| > basebud:/var/local/cache/apt-proxy/debian/pool/main/b/boost# dpkg -c libboost-test1.34.0_1.34.0-1_i386.deb
| > drwxr-xr-x root/root 0 2007-05-14 09:24 ./
| > drwxr-xr-x root/root 0 2007-05-14 09:23 ./usr/
| > drwxr-xr-x root/root 0 2007-05-14 09:24 ./usr/lib/
| > -rw-r--r-- root/root 22560 2007-05-14 09:24 ./usr/lib/libboost_prg_exec_monitor-gcc41-mt-1_34.so.1.34.0
| > -rw-r--r-- root/root 22544 2007-05-14 09:24 ./usr/lib/libboost_prg_exec_monitor-gcc41-1_34.so.1.34.0
| > -rw-r--r-- root/root 263444 2007-05-14 09:24 ./usr/lib/libboost_unit_test_framework-gcc41-1_34.so.1.34.0
| > -rw-r--r-- root/root 263460 2007-05-14 09:24 ./usr/lib/libboost_unit_test_framework-gcc41-mt-1_34.so.1.34.0
| > drwxr-xr-x root/root 0 2007-05-14 09:23 ./usr/share/
| > drwxr-xr-x root/root 0 2007-05-14 09:23 ./usr/share/doc/
| > drwxr-xr-x root/root 0 2007-05-14 09:24 ./usr/share/doc/libboost-test1.34.0/
| > -rw-r--r-- root/root 3600 2005-03-31 01:06 ./usr/share/doc/libboost-test1.34.0/README.Debian
| > -rw-r--r-- root/root 29069 2004-03-05 23:54 ./usr/share/doc/libboost-test1.34.0/copyright
| > -rw-r--r-- root/root 6855 2007-05-14 07:27 ./usr/share/doc/libboost-test1.34.0/changelog.Debian.gz
| > basebud:/var/local/cache/apt-proxy/debian/pool/main/b/boost# dpkg -f libboost-test1.34.0_1.34.0-1_i386.deb
| >
| > Boosters: Could this be your bug that I have to use g++ 4.1 ?
|
| this is because upstream does not trust in compilers ABI stability even
| across the same producer (they do not cover it in the test suite).
|
| anyway i never thought of making this an explicit dependency, as it
| should. indeed currently it is possible to use the boost libraries with
| a compiler different from the one used to build them.
|
| dirk, are you working at autoconf tests to guess boost linking params?
QuantLib (QL) has used the Boost test suite 'since forever' but the autoconf
test (from QL upstream) seems to have stopped finding the test suite.
It's been a while since I wrote ac macros. What is currently in configure.ac
for QL is
AC_ARG_WITH([boost-include],
AC_HELP_STRING([--with-boost-include=INCLUDE_PATH],
[Supply the location of Boost header files]),
[ql_boost_include_path="`cd ${withval} 2>/dev/null && pwd`"],
[ql_boost_include_path=""])
if test [ -n "$ql_boost_include_path" ] ; then
AC_SUBST([BOOST_INCLUDE],["-I${ql_boost_include_path}"])
AC_SUBST([CPPFLAGS],["${CPPFLAGS} -I${ql_boost_include_path}"])
fi
AC_ARG_WITH([boost-lib],
AC_HELP_STRING([--with-boost-lib=LIB_PATH],
[Supply the location of Boost libraries]),
[ql_boost_lib_path="`cd ${withval} 2>/dev/null && pwd`"],
[ql_boost_lib_path=""])
if test [ -n "$ql_boost_lib_path" ] ; then
AC_SUBST([BOOST_LIB],["-L${ql_boost_lib_path}"])
AC_SUBST([LDFLAGS],["${LDFLAGS} -L${ql_boost_lib_path}"])
fi
[...]
# Check for Boost components
QL_CHECK_BOOST
AM_CONDITIONAL(BOOST_UNIT_TEST_FOUND, test "x${BOOST_UNIT_TEST_LIB}" != "x")
and I haven't used the --with-boost-* switches in the past. What happens is
checking for Boost development files... yes
checking Boost version... yes
checking for Boost unit-test framework... no
configure: WARNING: Boost unit-test framework not found
configure: WARNING: The test suite will be disabled
checking whether Boost unit-test streams work... yes
Any idea why test is not found?
Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
More information about the pkg-boost-devel
mailing list