[MacPorts] #35726: mongodb @2.0.7 boost 1.49 Mountain Lion - build failure
MacPorts
noreply at macports.org
Fri Aug 24 13:43:25 PDT 2012
#35726: mongodb @2.0.7 boost 1.49 Mountain Lion - build failure
--------------------------------+-------------------------------------------
Reporter: kinergy@… | Owner: ryandesign@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: duplicate | Keywords:
Port: mongodb |
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: vkuznet@… (added)
* resolution: => duplicate
Comment:
Replying to [comment:3 vkuznet@…]:
>
{{{
---> Configuring mongodb
Error: mongodb 2.0.7 requires boost 1.49.x or older but you have boost
1.50.0.
Error: To downgrade boost, see
https://trac.macports.org/wiki/howto/InstallingOlderPort
Error: or more specifically
https://trac.macports.org/ticket/35118#comment:12
Error: org.macports.configure for port mongodb returned: boost 1.50.0 is
too new
}}}
The above error message completely explains the problem and the solution;
please re-read it.
> Certainly there are two problems here. [[br]]
> 1. MongoDB asks for boost 1.49.x or newer and if system has newer
version MongoDB port fails to install
No, it asks for 1.49.x or ''older''. This is a bug the mongodb developers
need to fix.
> 2. Asking to install boost 1.49.0 installs the wrong version of boost.
The "port install" command does not accept a version number; it always
installs the currently-available version. This is not a bug; it's just how
MacPorts works. If you want to install a different version than the
currently-available one, you must follow the instructions in
wiki:howto/InstallingOlderPort
After installing boost 1.49.0, install mongodb without upgrading
dependencies:
{{{
sudo port -n install mongodb
}}}
--
Ticket URL: <https://trac.macports.org/ticket/35726#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list