Boost C++ Libraries: Ticket #11564: ZLIB library test failing on Solaris https://svn.boost.org/trac10/ticket/11564 <p> I'm building Boost 1.59.0 on a Solaris 11 x86_64 virtual machine. I am sure the ZLIB and BZIP2 library packages are installed. These are the commands I use to build: </p> <pre class="wiki">./bootstrap.sh --prefix=/export/home/dev00/boost_1_59_0 --with-toolset=sun ./b2 -sICU_PATH=/opt/icu4c-55.1 link=shared runtime-link=shared address-model=64 variant=release cxxflags="-std=c++11" linkflags="-std=c++11" install 2&gt;&amp;1 | tee ../libsol11.log </pre><p> When the configuration stage finishes, the build indicates it has not detected the ZLIB library. I checked the bin.v2/config.log file and it has this error message: </p> <pre class="wiki">"bin.v2/standalone/ac/zlib.h.cpp", line 1: Error: There is extra text on this line. Error: Cannot continue processing because of prior errors. </pre><p> I tried building the indicated file myself and it does generate the above error message. I checked the file and discovered that the cause of the error is a missing newline terminator. </p> <p> I have looked at the code generating the above file but I could not figure out how to make it add the newline character thus I decided to log this ticket. The file generating the CPP file above is tools/build/test/zlib.py. I'm assuming this is a Python file which I'm not familiar with. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11564 Trac 1.4.3