Got an error while compile from sources.
Got an error while compile from sources.
$ make release
...
==> rel (compile)
==> apache-couchdb-3.4.3 (compile)
==> weatherreport (escriptize)
WARN: 'escriptize' command does not apply to directory /home/fbrc_dev/apache-couchdb-3.4.3/rel
WARN: 'escriptize' command does not apply to directory /home/fbrc_dev/apache-couchdb-3.4.3
Installing CouchDB into rel/couchdb/ ...
WARN: Missing plugins: [pc]
WARN: Missing plugins: [pc]
==> rel (generate)
ERROR: generate failed while processing /home/fbrc_dev/apache-couchdb-3.4.3/rel: {'EXIT',{{badmatch,{error,"os_mon: Missing application directory."}},
[{rebar_reltool,generate,2,
[{file,"src/rebar_reltool.erl"},{line,53}]},
{rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,493}]},
{rebar_core,execute,6,[{file,"src/rebar_core.erl"},{line,418}]},
{rebar_core,maybe_execute,8,
[{file,"src/rebar_core.erl"},{line,302}]},
{rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,261}]},
{rebar_core,process_each,5,[{file,"src/rebar_core.erl"},{line,351}]},
{rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,253}]},
{rebar_core,process_commands,2,
[{file,"src/rebar_core.erl"},{line,93}]}]}}
make: *** [Makefile:411: release] Error 1
$ tree -D
├── [Mar 13 2025] apps
│ ├── [Mar 13 2025] config.config
│ └── [Mar 13 2025] couch_epi.config
├── [Apr 17 14:39] couchdb.config
├── [Mar 13 2025] files
│ ├── [Mar 13 2025] [couchdb.cmd.in](http://couchdb.cmd.in/)
│ ├── [Mar 13 2025] [couchdb.in](http://couchdb.in/)
│ ├── [Mar 13 2025] eunit.config
│ ├── [Mar 13 2025] eunit.ini
│ ├── [Mar 13 2025] README
│ ├── [Mar 13 2025] sys.config
│ └── [Mar 13 2025] vm.args
├── [Mar 13 2025] haproxy.cfg
├── [Mar 13 2025] nouveau.yaml
├── [Mar 13 2025] overlay
│ ├── [Mar 13 2025] bin
│ │ └── [Mar 13 2025] remsh
│ └── [Mar 13 2025] etc
│ ├── [Mar 13 2025] default.d
│ │ └── [Mar 13 2025] README
│ ├── [Mar 13 2025] default.ini
│ ├── [Mar 13 2025] local.d
│ │ └── [Mar 13 2025] README
│ ├── [Mar 13 2025] local.ini
│ └── [Mar 13 2025] vm.args
├── [Mar 13 2025] plugins
│ └── [Mar 13 2025] eunit_plugin.erl
├── [Mar 13 2025] reltool.config
└── [Mar 13 2025] reltool.config.script
Version
3.4.3
Describe the problem you're encountering
Got an error while compile from sources.
Expected Behaviour
Got an error while compile from sources.
Steps to Reproduce
Configuration:
$ ./configure --spidermonkey-version 78 --disable-fauxton --disable-docs
==> configuring couchdb in rel/couchdb.config
You have configured Apache CouchDB, time to relax. Relax.
Compilation:
But directory apache-couchdb-3.4.3/rel is.
Your Environment
I have downloaded tarbar as recommended from :
https://dist.apache.org/repos/dist/release/couchdb/source/3.4.3
Release Erlang:
$ erl -noshell -eval 'io:put_chars(erlang:system_info(otp_release)).' -eval "halt()."
26
Erlang OS:
$ erl -noshell -eval 'case os:type() of {OS, _} -> io:format("sn", [OS]) end.' -eval "halt()."
unix
Additional Context
Also, while build got warnings:
Compiled src/couch_log_trunc_io.erl
WARN: Missing plugins: [pc]
==> b64url (compile)
Compiled src/b64url.erl
Compiling c_src/b64url.c
WARN: Missing plugins: [pc]
==> exxhash (compile)