[CXX-312] Fix RHEL 5.5 MCI build Created: 19/Aug/14  Updated: 23/Oct/14  Resolved: 19/Sep/14

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: legacy-1.0.0-rc1

Type: Task Priority: Blocker - P1
Reporter: Andrew Morrow (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

The build currently fails because the default boost on the system is too old (1.30 vintage). We currently require at least 1.41 (officially, 1.49).

Fortunately, our MCI hosts have newer boost packages available. Here are the changes needed to get the RHEL build working:

  • Before building, run yum install boost141-devel.i386 boost141-devel.x86_64
  • Add --cpppath=/usr/include/boost141 --libpath=/usr/lib64/boost141 to the SCons flags for all stages of the build.
  • Add --disable-warnings-as-errors to the SCons flags (there seem to be some warnings when building with boost 1.41).

UPDATE: The proper boost library is now installed, but the RHEL 5.5 build is now failing for other reasons.



 Comments   
Comment by Githook User [ 20/Aug/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-312 Install boost 1.41 on RHEL builds
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/85d1ad145dc98e0caf57d3a2e700ca9df01c1c02

Generated at Wed Feb 07 21:58:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.