[SERVER-5255] client build fails on "can't find text.h" Created: 08/Mar/12  Updated: 11/Jul/16  Resolved: 30/Mar/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Nightly Linux 64-bit


Operating System: ALL
Participants:

 Description   

mongo/util/text.cpp:20:29: error: mongo/util/text.h: No such file or directory
mongo/util/text.cpp:21:33: error: mongo/util/unittest.h: No such file or directory
mongo/util/text.cpp:22:39: error: mongo/util/mongoutils/str.h: No such file or directory
mongo/util/text.cpp:110: error: expected class-name before '{' token
mongo/util/text.cpp: In member function 'void mongo::TextUnitTest::run()':
mongo/util/text.cpp:112: error: 'parseLL' was not declared in this scope

http://buildbot.mongodb.org/builders/Nightly%20Linux%2064-bit/builds/902/steps/shell_7/logs/stdio



 Comments   
Comment by Andy Schwerin [ 30/Mar/12 ]

Fixed by various SCons changes over preceding two weeks.

Comment by auto [ 23/Mar/12 ]

Author:

{u'login': u'', u'name': u'Andy Schwerin', u'email': u'Andy Schwerin schwerin@10gen.com'}

Message: SCons refactoring, cleans up building and testing the C++ client.

This patch does the following:

1.) Remove pcre.h dependencies in the C++ client, and remove some other
unnecessary dependencies.
2.) Clean up how we build the client from the client source tarball, so it's
more like how we build it from the git repo / full source tarball.
3.) Fix up our "scons" so you only have to write "scons ." to build all of our
binaries, the binary archive (zip or tgz) and client source archive (zip or
tgz).
4.) Fix up SCons aliases "core", "tools", and "all".
5.) Let user specify the name of the client tarball via a SCons command line
switch.

Resolves SERVER-4231, SERVER-5255.
Branch: master
https://github.com/mongodb/mongo/commit/d67ce1cd31f6ea2e766d5c201ab5430735cbb3b8

Generated at Thu Feb 08 03:08:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.