这是indexloc提供的服务,不要输入任何密码
Skip to content

Build failing on Debian Trixie #5538

@plinss

Description

@plinss

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions