Friday, August 30, 2013

MongoDB and MacPorts (and v8)

In order to upgrade MongoDB to the latest version (using MacPorts), I had to deactivate v8, upgrade MongoDB and activate v8 again:

--->  Configuring mongodb
Error: mongodb cannot be built while v8 is active.
Error: Please deactivate v8 and try again.
Error: You can reactivate v8 again later.
Error: org.macports.configure for port mongodb returned: v8 is active
Please see the log file for port mongodb for details:
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
mtsouk$ sudo port -f deactivate v8
--->  Deactivating v8 @3.17.15_0
--->  Unable to deactivate v8 @3.17.15_0, the following ports depend on it:
--->   mongodb @2.4.6_0
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning v8
mtsouk$ sudo port upgrade outdated
--->  Computing dependencies for mongodb
--->  Configuring mongodb
--->  Building mongodb
mtsouk@ sudo port activate v8


Juho Vepsäläinen said...


Unknown said...

Thanks much for posting this, ran into the same problem this morning.

Leonardo Ascione said...

Great, thank you.