[MacPorts] #40875: mongodb 2.4 branch can't install on Mavericks

MacPorts noreply at macports.org
Thu Oct 24 09:15:57 PDT 2013


#40875: mongodb 2.4 branch can't install on Mavericks
----------------------+--------------------------
  Reporter:  mark@…   |      Owner:  ryandesign@…
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.2.99
Resolution:           |   Keywords:  mavericks
      Port:  mongodb  |
----------------------+--------------------------

Comment (by mark@…):

 For those of us who run with scissors in dark rooms filled with marbles
 and install major OS releases on the first day:

 If you MUST get mongo running now, download the binaries from
 http://www.mongodb.org/downloads. You can then start the server up
 manually with (assuming default paths):
 {{{
 sudo -u _mongo <<path_to_mongod_binary>> --dbpath
 /opt/local/var/db/mongodb --logpath /opt/local/var/log/mongodb/mongodb.log
 --logappend
 }}}

 MacPorts will ''not'' know mongodb is installed, so any libraries that
 have it as a prereq will not build. If you are using PHP, install the
 needed extension via `pecl`:

 {{{
 port install pear-install-phar pear-PEAR
 pecl install mongo
 }}}

 You will need to follow the install directions to make sure the .so gets
 loaded. I just duplicated a file that already existed in
 `/opt/local/var/db/php<<your_php_version>>` and changed its `extension=`
 declaration to mongo.so. I'm not a Python user, but I think y'all can use
 `pip` to [http://api.mongodb.org/python/current/installation.html install
 your extension].

 Since this is a trouble ticket and not a help forum, please direct
 questions about the above directly to my email. I may be able to help, I
 may not.

-- 
Ticket URL: <https://trac.macports.org/ticket/40875#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list