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 2009/04/14 22:47:46 UTC

[Couchdb Wiki] Update of "Installing on OSX" by FlorianEbeling

Dear Wiki user,

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

The following page has been changed by FlorianEbeling:
http://wiki.apache.org/couchdb/Installing_on_OSX

The comment on the change is:
remove reference to obsolete +server variant; remove reference to fixed hipe bug

------------------------------------------------------------------------------
  To install CouchDB using Mac``Ports
  
  {{{
- $ sudo port install couchdb +server
+ $ sudo port install couchdb
  }}}
  
  should be enough. Mac``Ports takes care of installing all necessary dependencies. If you have
@@ -19, +19 @@

  with this command:
  
  {{{
- $ sudo launchctl load -w /opt/local/Library/LaunchDaemons/org.apache.couchdb.plist
+ $ sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
  }}}
  
- and it should be up and accessible via http://127.0.0.1:5984/_utils/index.html. (Don't use the plist file
+ and it should be up and accessible via http://127.0.0.1:5984/_utils/index.html. It should also be restarted
- Mac``Ports mentions in terminal output, located at {{{/Library/LaunchDaemons/org.macports.CouchDB.plist}}}, it does not work.)
+ automatically after reboot (because of the -w flag).
  
- == Dependencies - Erlang ==
- If you experience a Bus Error when compiling CouchDB on OSX 10.5, it's likely due to incompatibility between the Mac OS Leopard and Erlang HiPE. Luckily, fixing the problem is as simple as rebuilding Erlang with the most recent port file (while ''not'' selecting the hipe variant). Run:
+ 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. Here's [http://trac.macports.org/ticket/15459 the bug report on the Mac Ports website.]
+ to update the port tree, and then install just as explained.
  
+ == Dependencies - Erlang ==
- If you have a previous install of Erlang you should run
- 
- {{{
- $ port upgrade erlang
- }}}
- 
  If Erlang fails to build with the error:
  {{{
  Command output: megaco_flex_scanner_drv.flex:31: unknown error processing section 1