Subject: [Boost-bugs] [Boost C++ Libraries] #1648: TR1 debian, no include path in which to search for utilityt
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-19 23:54:17
#1648: TR1 debian, no include path in which to search for utilityt
----------------------------------+-----------------------------------------
Reporter: peter.vizi_at_[hidden] | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: | Component: TR1
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
----------------------------------+-----------------------------------------
When I was trying to use the math_toolkit from svn sandbox I encountered
the following error:
{{{
$ echo "#include <boost/math/distributions/normal.hpp>" > /tmp/test.cpp
$ g++ -c -I/usr/include/boost/tr1/tr1 /tmp/test.cpp
<some text>
usr/include/boost/tr1/detail/config.hpp:60:26: error: no include path in
which to search for utility
}}}
After some time I could work around this problem by modifying
/usr/include/boost/tr1/detail/config.hpp in line 60, with using #include
<utility> instead of #include_next <utility>. Now the math toolkit works
fine.
My system:
debian unstable, boost library 1.34.1-7, math toolkit rev 43326, gcc:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-
languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-
shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-
dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu
--enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-
libmudflap --enable-targets=all --enable-checking=release --build=i486-
linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Debian 4.2.3-1)
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1648>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC