You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2013/04/12 15:55:28 UTC

[Couchdb Wiki] Update of "Installing_on_OSX" by JeffSnider

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Installing_on_OSX" page has been changed by JeffSnider:
http://wiki.apache.org/couchdb/Installing_on_OSX?action=diff&rev1=56&rev2=57

Comment:
Quick first run of MacPorts instructions updates.  Removed caveats, updated versions, use new commands, etc.

  
  == MacPorts ==
  
- You should consider moving to [[https://github.com/mxcl/homebrew#readme|HomeBrew]] instead. If you really wish to stay with MacPorts, please refer to the notes below and let us know if these need to be adapted.
+ The CouchDB team recommends [[https://github.com/mxcl/homebrew#readme|HomeBrew]] but MacPorts works fine as well.
  
  To install CouchDB using MacPorts you have 2 package choices:
  
-  * couchdb - currently at 0.11 which does not run without being patched due to [[https://issues.apache.org/jira/browse/COUCHDB-805|COUCHDB-805]] caused by dependencies in upgraded erlang R14
-  * couchdb-devel - follows [[http://git.apache.org/couchdb.git|master]] & includes fix for the above issue
+  * couchdb - The latest release version (currently 1.3.0)
+  * couchdb-devel - updated every few weeks with the latest from the [[http://git.apache.org/couchdb.git|master]] branch
  
  {{{
  $ sudo port install couchdb
  }}}
- should be enough. MacPorts takes care of installing all necessary dependencies. If you have already installed some of the CouchDB dependencies via MacPorts, run this command to check and upgrade any outdated ones, ''after installing CouchDB'':
+ should be enough. MacPorts takes care of installing all necessary dependencies. If you have already installed some of the CouchDB dependencies via MacPorts, run this command to check and upgrade any outdated ones, after installing CouchDB:
  
  {{{
  $ sudo port upgrade couchdb
@@ -116, +116 @@

  This will upgrade dependencies recursively, if there are more recent versions available. If you want to run CouchDB as a service controlled by the OS, load the launchd configuration which comes with the project, with this command:
  
  {{{
- $ sudo launchctl load -w /opt/local/Library/LaunchDaemons/org.apache.couchdb.plist
+ $ sudo port load couchdb
  }}}
- and it should be up and accessible via Futon at http://127.0.0.1:5984/_utils/index.html. It should also be restarted automatically after reboot (because of the -w flag).
+ and it should be up and accessible via Futon at http://127.0.0.1:5984/_utils/index.html. It should also be restarted automatically after reboot.
  
- If not, be sure to check permissions on couchdb files and repair them if neccessary:
- 
- {{{
- $ sudo chown -R couchdb:couchdb /opt/local/var/lib/couchdb/ /opt/local/var/log/couchdb/ /opt/local/etc/couchdb/
- }}}
  Updating the ports collection. The collection of port files has to be updated to reflect the latest versions of available packages. In order to do that run:
  
  {{{
  $ sudo port selfupdate
  }}}
  to update the port tree, and then install just as explained.
- 
- == Dependencies - Erlang ==
- 
- If Erlang fails to build with the error:
- 
- {{{
- Command output: megaco_flex_scanner_drv.flex:31: unknown error processing section 1
- }}}
- You will need to upgrade flex: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465039
- 
- === Erlang fails to configure on Snow Leopard ===
- The macport for erlang universal on Mac OS X 10.6 Snow Leopard appears to be [[http://www.pubbs.net/200912/macports/53571-erlang-build-failing-on-configure.html|broken]]. To install it, I had to install it separately with :
- 
- {{{
- sudo port install erlang -universal
- }}}
- 
- On Mac OS X 10.6.7 MacPorts 1.9.2 due some [[https://issues.apache.org/jira/browse/COUCHDB-1106?focusedCommentId=13021617&page=com.atlassian.jira.plugin.system.issuetabpanels%3acomment-tabpanel#comment-13021617|other issue]] you might need to run :
- 
- {{{
- sudo port install erlang +ssl
- }}}
  
  == Typical build process of a CouchDB developer build ==
  {{{