[SERVER-5321] Allow building on windows with alternate path to boost Created: 15/Mar/12  Updated: 11/Jul/16  Resolved: 16/Mar/12

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

Type: Improvement Priority: Trivial - P5
Reporter: Borut Lukic Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: Windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows


Attachments: Text File SConstruct-boost-dir.patch    
Participants:

 Description   

When building on windows the SConstruct script searches for boost on some predefined paths.
Allow path to boost libraries to be given via option to scons.
I attached a patch for SConstruct that allowes the --boost-prefix paramter to be given.
Hopefully you can include something like this into the main tree.



 Comments   
Comment by Tad Marshall [ 16/Mar/12 ]

Agreed that mongolibclient is a nightmare. Making it not a nightmare is on our to-do list and should get done in the next cycle (after 2.1/2.2). I'll close this ticket as Fixed, but please reopen it or open a new one if you have additional problems.

Comment by Borut Lukic [ 16/Mar/12 ]

Checked with the latest version from repository. Since the needed parts of boost are now included in the third_party folder server builds easy. Building of mongolibclient is a nightmare tho, but you can always just include the .cpp into the project. So everything should be ok.

Comment by Tad Marshall [ 15/Mar/12 ]

Can you look at the current master branch (the latest code) and see if your problem is solved? We have made several changes to the scons usage and files and your issue is one of the many that was addressed. Look for --extra-path and see if that works for you. The master branch is at this moment laboring under some recent merges, so if you have cloned the repo from https://github.com/mongodb/mongo, fetch the latest updates but then checkout a commit from a few days ago, for example cd54317107d9acf63dc5de6c466990ca9d234462 from 2012-03-12.

Let me know if this solves your problem or if there is more to do, thanks!

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