couchdb icon indicating copy to clipboard operation
couchdb copied to clipboard

Build failing on Debian Trixie

Open plinss opened this issue 7 months ago • 1 comments

Description

When building on Debian Trixie, the only version of libmozjs currently available is 128. However the configure script does not find it.

Steps to Reproduce

On Debian Trixie:

apt-get install pkg-config erlang libicu-dev libmozjs-128-dev libcurl4-openssl-dev
./configure --disable-docs --spidermonkey-version 128

Output:

ERROR: SpiderMonkey 128 is not found. Please specify with --spidermonkey-version.

Expected Behaviour

Configure is successful

Your Environment

  • CouchDB version used: 3.5.0
  • Browser name and version: n/a
  • Operating system and version: Debian Trixie (current Alpha)

Additional Context

It appears that Debian Trixie installs the libmozjs includes in /usr/include/x86_64-linux-gnu/mozjs-128 while CouchDB expects it to be in /usr/include/mozjs-128.

Adding a link makes the build work.

plinss avatar May 08 '25 19:05 plinss

Thanks for reaching out @plinss.

We should update the locations we look at include files or maybe use pkg-config on some of these systems.

nickva avatar May 15 '25 22:05 nickva

Should be fixed with #5626.

big-r81 avatar Oct 02 '25 09:10 big-r81