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=66&rev2=67 Comment: Hopefully these instructions are clear enough now to deal with all the pathological nonsense tar xvzf apache-couchdb-x.xx.x.tar.gz cd apache-couchdb-x.xx.x - # On Ubuntu < 11.04 see xulrunner directions below. They fix problems where basic test suite fails to run. - # 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 + # Note: To check what XULRunner version you have installed use xulrunner -v. CouchDB-1.1.x and older will not work with XULRunner 2.0+. + + # Note: See Additional Notes (below) for additional, necessary information about using CouchDB-1.1.x and older on Ubuntu versions less than 11.04. + # Note: The extra --with-js-* options should not be used with CouchDB-1.2 (current trunk) and newer on Ubuntu 11.04+, where building against libmozjs185-dev is preferred. + - ./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 + ./configure --prefix= --with-js-lib=/usr/lib/xulrunner-devel-1.9.x.y/lib --with-js-include=/usr/lib/xulrunner-devel-1.9.x.y/include # Now you can compile and install couchdb make && make install @@ -115, +117 @@ 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. - # Note: To check what XULRunner version you have installed use xulrunner -v + + # 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. CouchDB-1.1.x and older will not work with XULRunner 2.0+. + + # Note: See Additional Notes (below) for additional, necessary information about using CouchDB-1.1.x and older on Ubuntu versions less than 11.04. + # Note: The extra --with-js-* options should not be used with CouchDB-1.2 (current trunk) and newer on Ubuntu 11.04+, where building against libmozjs185-dev is preferred. + - ./configure --prefix=/usr/local/ --with-js-lib=/usr/lib/xulrunner-devel-x.x.x.x/lib --with-js-include=/usr/lib/xulrunner-devel-x.x.x.x/include + ./configure --prefix=/usr/local/ --with-js-lib=/usr/lib/xulrunner-devel-1.9.x.y/lib --with-js-include=/usr/lib/xulrunner-devel-1.9.x.y/include # Test installation, you will have problems regarding libmozjs and xulrunner here if you have not already corrected them make check