[SERVER-14204] Add support to build from source on OS X 10.10 Yosemite Created: 07/Jun/14  Updated: 10/Dec/14  Resolved: 21/Nov/14

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

Type: Improvement Priority: Major - P3
Reporter: Florian Woegerer Assignee: Ernie Hershey
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X 10.10 Yosemite (beta)


Issue Links:
Duplicate
duplicates SERVER-15889 Bump minimum targetable OS X to 10.7,... Closed
Related
related to SERVER-14184 Unused preprocessor macros from s2 co... Closed
is related to SERVER-14166 Semantics of the --osx-version-min fl... Closed
Backwards Compatibility: Fully Compatible
Sprint: BUILD 2.8.0-rc2
Participants:

 Description   

During brew install this pops up:
SCons Error: option --osx-version-min: invalid choice: '10.10' (choose from '10.6', '10.7', '10.8', '10.9')



 Comments   
Comment by Conrad Taylor [ 27/Jun/14 ]

@Matt I agree with Adrian that the MongoDB team needs to join the Mac Developer Program because the OS X Beta program is really meant for non-developers. Next, the issue that was reported appears to be generated by the following lines of code:

File -> SConstruct:

if darwin:
osx_version_choices = ['10.6', '10.7', '10.8', '10.9']
add_option("osx-version-min", "minimum OS X version to support", 1, True,
type = 'choice', default = osx_version_choices[0], choices = osx_version_choices)

The above should be changed so that you just consider a minimum OSX version instead of a set of OSX versions. For example, you need to be using OSX 10.6 or greater to install MongoDB. Then you can get into the meat of the problem after resolving the reported issue. Lastly, I would recommend doing some future proofing of the code so we're not hear again for OSX 10.11 or OSXI. Also, I'm available to help test on Yosemite as well.

Comment by Adrian Petrescu [ 27/Jun/14 ]

@Matt: The OS X Beta program is the public beta, which doesn't even have a date officially associated with it. It could very well be weeks before the public beta goes out.

If you want to get it right away, you can pay the $99 for the Mac Developer Program. I'm part of the program and I'd be glad to help you test out anything you want on Yosemite as well, if that helps.

Comment by Matt Kangas [ 27/Jun/14 ]

We are still blocked waiting for a copy of OS X Yosemite. I have a Mac Mini ready to upgrade and have registered for the OS X Beta program, but I have not received an access code.

Comment by Ernie Hershey [ 09/Jun/14 ]

I don't have access to a Yosemite machine yet but that will be my next step.

Comment by Thomas Rueckstiess [ 07/Jun/14 ]

Hi Florian,

Are you running OS X 10.10 Yosemite Beta? The latest stable OS X version is 10.9 Mavericks. MongoDB 2.7.1 was released before OS X 10.10 was announced, so this is not unexpected. We'll keep this ticket to ensure compatibility with 10.10 for an upcoming release.

Thanks for reporting.

Regards,
Thomas

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