Opened 7 years ago

#11564 new Bugs

ZLIB library test failing on Solaris

Reported by: lcarreon@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

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:

./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>&1 | tee ../libsol11.log

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:

"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.

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.

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.

Change History (0)

Note: See TracTickets for help on using tickets.