Opened 10 years ago

Closed 10 years ago

#44200 closed defect (fixed)

mongodb @2.6.3 fails to build on yosemite

Reported by: wichert@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: yosemite Cc:
Port: mongodb

Description

Trying to install mongodb results in this error:

SCons Error: option --osx-version-min: invalid choice: '10.10' (choose from '10.6', '10.7', '10.8', '10.9')

Change History (5)

comment:1 Changed 10 years ago by wichert@…

After adding 10.0 to SConstruct I see a new error:

In file included from src/third_party/s2/s2cellid.cc:24:
In file included from src/third_party/s2/strings/strutil.h:62:
src/third_party/s2/util/endian/endian.h:182:9: error: 'htonll' macro redefined [-Werror]
#define htonll(x) ghtonll(x)

comment:2 Changed 10 years ago by wichert@…

Sprinkling a few #ifdefs in src/third_party/s2/util/endian/endian.h fixes that error, and after that mongod compiles succesfully.

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

You should report all of that to the developers of mongodb so that they can fix it.

At MacPorts, we usually cannot help you with pre-release operating systems or Xcode versions.

I've signed up for the public Yosemite beta but have not yet been informed of its availability.

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Upstream bug reports already existed. I committed fixes for them in r122647 and r122653.

Note: See TracTickets for help on using tickets.