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 Mon, 04 Jul 2011 21:13:15 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=64&rev2=65

   * Install first set of dependencies: {{{sudo apt-get build-dep couchdb}}}
   * Install second set of dependencies:
    * Ubuntu '''up to 9.10''': {{{sudo apt-get install libmozjs-dev libicu-dev libcurl4-gnutls-dev
libtool}}}
-   * Ubuntu '''10.04 and later''' (building CouchDB-1.1.x or earlier): {{{sudo apt-get install
xulrunner-1.9.2-dev libicu-dev libcurl4-gnutls-dev libtool}}}
+   * Ubuntu '''10.04 and later when building CouchDB-1.1.x or less''': {{{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''' (only when building CouchDB-1.2 or later): {{{sudo apt-get
install libmozjs-dev libicu-dev libcurl4-gnutls-dev libtool}}}
+   * Ubuntu '''11.04 and later when building CouchDB-1.2 or greater''': {{{sudo apt-get install
libmozjs-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}}}
+   . On Ubuntu '''10.04 and later when building CouchDB-1.1.x or less''': {{{LDFLAGS="$(pkg-config
mozilla-js --libs-only-L)" CFLAGS="$(pkg-config mozilla-js --cflags)" ./configure}}} or {{{./configure
--with-js-include=/usr/lib/xulrunner-devel-w.x.y.z/include --with-js-lib=/usr/lib/xulrunner-devel-w.x.y.z/lib}}}
-   . On Ubuntu '''11.04 and later''': No special flags should be necessary to build. Simply
run {{{./configure}}}
+   . On Ubuntu '''11.04 and later when building CouchDB-1.2 or greater''': 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.
@@ -71, +71 @@

  tar xvzf apache-couchdb-x.xx.x.tar.gz
  cd apache-couchdb-x.xx.x
  
- # On CouchDB < 11.04 see xulrunner directions below. They fix problems where basic test
suite fails to run.
+ # On Ubuntu < 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.
+ # Since Ubuntu 11.04 and CouchDB from trunk 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