apache / couchdb

Seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability
https://couchdb.apache.org/
Apache License 2.0
6.28k stars 1.03k forks source link

1.1.2. Installation from source #5313

Closed mikkimichaelis closed 1 month ago

mikkimichaelis commented 1 month ago

1.1.2. Installation from source

produces the following on a fresh 22.04

ubuntu@ip-172-31-34-232:~$ sudo apt-get --no-install-recommends -y install \
    build-essential pkg-config erlang \
    libicu-dev libmozjs185-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libmozjs185-dev

This is similar to 1316 which states libmozjs185 is now packaged.

big-r81 commented 1 month ago

For running from source, you need one of the listed spidermonkey libs from the section above. In Ubuntu Jammy you could install libmozjs-91-dev or libmozjs-78-dev to get this working.

Since you are trying to build CouchDB from source, the section with the dependencies gives you information, what you need to install. The apt command or later the make script will tell you, whats eventually missing.

mikkimichaelis commented 1 month ago

so basically I can't run from source on 22.04.

big-r81 commented 1 month ago

so basically I can't run from source on 22.04.

you can, you need to install the necessary packages ...