Boost C++ Libraries: Ticket #1648: TR1 debian, no include path in which to search for utilityt https://svn.boost.org/trac10/ticket/1648 <p> When I was trying to use the math_toolkit from svn sandbox I encountered the following error: </p> <pre class="wiki">$ echo "#include &lt;boost/math/distributions/normal.hpp&gt;" &gt; /tmp/test.cpp $ g++ -c -I/usr/include/boost/tr1/tr1 /tmp/test.cpp &lt;some text&gt; usr/include/boost/tr1/detail/config.hpp:60:26: error: no include path in which to search for utility </pre><p> After some time I could work around this problem by modifying /usr/include/boost/tr1/detail/config.hpp in line 60, with using #include &lt;utility&gt; instead of #include_next &lt;utility&gt;. Now the math toolkit works fine. </p> <p> 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) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1648 Trac 1.4.3 peter.vizi@… Tue, 19 Feb 2008 23:55:20 GMT attachment set https://svn.boost.org/trac10/ticket/1648 https://svn.boost.org/trac10/ticket/1648 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">config.patch</span> </li> </ul> <p> p1 patch for /usr/include/boost/tr1/detail/config.hpp </p> Ticket John Maddock Wed, 20 Feb 2008 09:26:32 GMT status changed https://svn.boost.org/trac10/ticket/1648#comment:1 https://svn.boost.org/trac10/ticket/1648#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Unfortunately that patch will break other use cases :-( </p> <p> Are you able to try Boost-1.35 candidate from SVN (or the SVN Trunk), see svn.boost.org, as I believe this issue has been fixed there. </p> <p> HTH, John. </p> Ticket peter.vizi Wed, 20 Feb 2008 11:37:19 GMT <link>https://svn.boost.org/trac10/ticket/1648#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1648#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1648#comment:1" title="Comment 1">johnmaddock</a>: </p> <blockquote class="citation"> <p> Are you able to try Boost-1.35 candidate from SVN (or the SVN Trunk), see svn.boost.org, as I believe this issue has been fixed there. </p> </blockquote> <p> You are right John, my test compiles with rev 43329 of the svn trunk. Maybe the documentation of the math tookit could be corrected, because it says that the library is working with 1.34 or later. </p> <p> Best, Peter. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Wed, 20 Feb 2008 13:31:38 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1648#comment:3 https://svn.boost.org/trac10/ticket/1648#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Thanks for confirming that: It does actually work with Boost-1.34, but there is a bug in the 1.34 TR1 library that causes a very specific failure when building with gcc *and* Boost is installed in your system include path (rather than included with a -I option) :-( </p> <p> John. </p> Ticket