couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Installing_on_Ubuntu" by RandallLeeds
Date Sun, 19 Jun 2011 23:39:52 GMT
Dear Wiki user,

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

The "Installing_on_Ubuntu" page has been changed by RandallLeeds:
http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=61&rev2=62

Comment:
Update instructions for Ubuntu 11.04+ and libmozjs185

    * Ubuntu '''up to 9.10''': {{{sudo apt-get install libmozjs-dev libicu-dev libcurl4-gnutls-dev
libtool}}}
    * Ubuntu '''10.04 and later''': {{{sudo apt-get install xulrunner-1.9.2-dev libicu-dev
libcurl4-gnutls-dev libtool}}}
     . Then [[#xulrunner.conf|create /etc/ld.so.conf.d/xulrunner.conf]].
+   * Ubuntu '''11.04 and later''': {{{sudo apt-get install libmozjs185-dev libicu-dev libcurl4-gnutls-dev
libtool}}}
   * Download CouchDB from http://couchdb.apache.org/downloads.html.
   * Untar (decompress) the source file: {{{tar -zxvf apache-couchdb-*.*.*.tar.gz}}}
   * Change into the expanded directory: {{{cd apache-couchdb-*.*.*}}}
   * Configure the build: {{{./configure}}}
-   . On Ubuntu '''10.04 and later''': {{{LDFLAGS="$(pkg-config mozilla-js --libs-only-L)"
CFLAGS="$(pkg-config mozilla-js --cflags)" ./configure}}} (You may need to specify build options
like the installation directory, etc.  Please reference the examples below.)
+   . On Ubuntu '''10.04 and later''': {{{LDFLAGS="$(pkg-config mozilla-js --libs-only-L)"
CFLAGS="$(pkg-config mozilla-js --cflags)" ./configure}}}
+   . On Ubuntu '''11.04 and later''': No special flags should be necessary to build. Simply
run {{{./configure}}}
+   . You may want to specify build options like the installation directory, etc. Please reference
the examples below.
   * Build or Compile the source: {{{make}}}
   * Fix any error before moving to the next step.
   * Install your newly built CouchDB: {{{sudo make install}}}
@@ -68, +71 @@

  tar xvzf apache-couchdb-x.xx.x.tar.gz
  cd apache-couchdb-x.xx.x
  
- # see xulrunner directions below and do them this fixes problem where basic test suite fails
to run.
+ # On CouchDB < 11.04 see xulrunner directions below. They fix problems where basic test
suite fails to run.
+ # Since Ubuntu 11.04 the xulrunner-devel options are not necessary as CouchDB can link against
libmozjs185 with no special help.
  # Note: To install couchdb in the default location use --prefix= in the configure statement
  # Note: To check what XULRunner version you have installed use xulrunner -v
  ./configure --prefix= --with-js-lib=/usr/lib/xulrunner-devel-x.x.x.x/lib --with-js-include=/usr/lib/xulrunner-devel-x.x.x.x/include

Mime
View raw message