Skip to content

Instantly share code, notes, and snippets.

@claudiopro
Last active October 13, 2015 21:03
Show Gist options
  • Save claudiopro/e5ba88fe1ad8a469d724 to your computer and use it in GitHub Desktop.
Save claudiopro/e5ba88fe1ad8a469d724 to your computer and use it in GitHub Desktop.
couchdb-build-error-macosx
guadalaviar:couchdb delphine$ ./configure -c --disable-docs --disable-fauxton && make
==> configuring couchdb in rel/couchdb.config
Cloning into '/Users/delphine/dev/Git/janl/couchdb/src/rebar'...
remote: Counting objects: 367, done.
remote: Compressing objects: 100% (274/274), done.
remote: Total 367 (delta 63), reused 241 (delta 34)
Receiving objects: 100% (367/367), 241.03 KiB | 117.00 KiB/s, done.
Resolving deltas: 100% (63/63), done.
Checking connectivity... done.
Note: checking out '5dea85db1b697466586877bed133748bd80fa180'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
./bootstrap
Recompile: src/rebar
Recompile: src/rebar_abnfc_compiler
Recompile: src/rebar_app_utils
Recompile: src/rebar_appups
Recompile: src/rebar_asn1_compiler
Recompile: src/rebar_base_compiler
Recompile: src/rebar_cleaner
Recompile: src/rebar_config
Recompile: src/rebar_core
Recompile: src/rebar_cover_utils
Recompile: src/rebar_ct
Recompile: src/rebar_deps
Recompile: src/rebar_dia_compiler
Recompile: src/rebar_dialyzer
Recompile: src/rebar_edoc
Recompile: src/rebar_erlc_compiler
Recompile: src/rebar_erlydtl_compiler
Recompile: src/rebar_escripter
Recompile: src/rebar_eunit
Recompile: src/rebar_file_utils
Recompile: src/rebar_getopt
Recompile: src/rebar_lfe_compiler
Recompile: src/rebar_log
Recompile: src/rebar_metacmds
Recompile: src/rebar_mustache
Recompile: src/rebar_neotoma_compiler
Recompile: src/rebar_otp_app
Recompile: src/rebar_otp_appup
Recompile: src/rebar_port_compiler
Recompile: src/rebar_proto_compiler
Recompile: src/rebar_proto_gpb_compiler
Recompile: src/rebar_protobuffs_compiler
Recompile: src/rebar_qc
Recompile: src/rebar_rel_utils
Recompile: src/rebar_reltool
Recompile: src/rebar_require_vsn
Recompile: src/rebar_shell
Recompile: src/rebar_subdirs
Recompile: src/rebar_templater
Recompile: src/rebar_upgrade
Recompile: src/rebar_utils
Recompile: src/rebar_xref
Recompile: src/rmemo
==> rebar (compile)
==> rebar (escriptize)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.
==> updating dependencies
WARN: Expected /Users/delphine/Development/Git/janl/couchdb/src/docs to be a raw dependency directory, but no directory found.
WARN: Expected /Users/delphine/Development/Git/janl/couchdb/src/fauxton to be a raw dependency directory, but no directory found.
==> rel (get-deps)
==> couchdb (get-deps)
WARN: Expected /Users/delphine/Development/Git/janl/couchdb/src/docs to be a raw dependency directory, but no directory found.
WARN: Expected /Users/delphine/Development/Git/janl/couchdb/src/fauxton to be a raw dependency directory, but no directory found.
Pulling couch_epi from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-epi.git",
"be34447c5ba0e474d851858b5346b33f864788e6"}
Cloning into 'couch_epi'...
Pulling b64url from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-b64url.git",
"319fc604235ab1fde37047b38a432450161db750"}
Cloning into 'b64url'...
Pulling cassim from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-cassim.git",
"1ae21f7c415acf3d1aba8b4924ca3093014b86b1"}
Cloning into 'cassim'...
Pulling couch_log from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-log.git",
"fb4157370403c4c97f19d958a51c889950a66a94"}
Cloning into 'couch_log'...
Pulling couch_log_lager from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-log-lager.git",
"64cd100cb566ce93af9ef168fa86f9f70424b77b"}
Cloning into 'couch_log_lager'...
Pulling config from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-config.git",
"b2ecd0d47a776256956ce045123423494ff85e8e"}
Cloning into 'config'...
Pulling chttpd from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-chttpd.git",
"ddd63eefa9db5b533595b7ba14443a6b7581361c"}
Cloning into 'chttpd'...
Pulling couch from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch.git",
"4ca9e4184e3a56a34e22550a3b62cbb6ab9e46c5"}
Cloning into 'couch'...
Pulling couch_index from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-index.git",
"14f579dcd142ee90300244c854b301bbd5c863ee"}
Cloning into 'couch_index'...
Pulling couch_mrview from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview.git",
"d7f0093b1c83a721dd8e9a9b3c625d0575e26c9f"}
Cloning into 'couch_mrview'...
Pulling couch_replicator from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator.git",
"85d62d1e2b72250c329b4b10db4df1231e647933"}
Cloning into 'couch_replicator'...
Pulling couch_plugins from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-plugins.git",
"3e73b723cb126cfc471b560d17c24a8b5c540085"}
Cloning into 'couch_plugins'...
Pulling couch_event from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-event.git",
"835a41885d1e276d207758954f8238aa7bba0ae8"}
Cloning into 'couch_event'...
Pulling couch_stats from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-couch-stats.git",
"7895d4d3f509ed24f09b6d1a0bd0e06af34551dc"}
Cloning into 'couch_stats'...
Pulling couch_peruser from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-peruser.git",
"ff7d190970a46722137fbc7a1a75466e8a544ae1"}
Cloning into 'couch_peruser'...
Pulling docs from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git",
"8f9f149925e3d42bebd7ffa944982c0c9af4c675"}
Cloning into 'docs'...
Pulling ddoc_cache from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-ddoc-cache.git",
"c762e90a33ce3cda19ef142dd1120f1087ecd876"}
Cloning into 'ddoc_cache'...
Pulling ets_lru from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-ets-lru.git",
"09128046ae9fbabfe1d70cb406aca878f6ea1dd5"}
Cloning into 'ets_lru'...
Pulling fabric from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-fabric.git",
"17f0377807804b7b55db6c6b378d9e266ea52236"}
Cloning into 'fabric'...
Pulling fauxton from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-fauxton.git",
"ebd9ced89d27de297526acf74ebad88f1c6a6711"}
Cloning into 'fauxton'...
Pulling folsom from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-folsom.git",
"fbb7bc83806520ffef84107c85f53c1f7113c20d"}
Cloning into 'folsom'...
Pulling global_changes from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-global-changes.git",
"e55de37ece29b6cbc0af540370d2425159338bf9"}
Cloning into 'global_changes'...
Pulling goldrush from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-goldrush.git",
{tag,"0.1.6"}}
Cloning into 'goldrush'...
Pulling ibrowse from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-ibrowse.git",
"4af2d408607874d124414ac45df1edbe3961d1cd"}
Cloning into 'ibrowse'...
Pulling ioq from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-ioq.git",
"c7c75ebeaf41599e3a3e211097d864f0e7785829"}
Cloning into 'ioq'...
Pulling jiffy from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-jiffy.git",
"ea19c417f9fd52fa3f7ef2d378735e5532c59b29"}
Cloning into 'jiffy'...
Pulling khash from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-khash.git",
"fc1a80fe38cb7f1c19ba0b4d275f14fbf3b5251e"}
Cloning into 'khash'...
Pulling mango from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-mango.git",
"46b58a3c53bc07db8b841fd55dc9fb32c1b6bb89"}
Cloning into 'mango'...
Pulling mem3 from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-mem3.git",
"62ac9b2655cc50a9260f37d25829ab7f3c86f251"}
Cloning into 'mem3'...
Pulling mochiweb from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-mochiweb.git",
"bd6ae7cbb371666a1f68115056f7b30d13765782"}
Cloning into 'mochiweb'...
Pulling oauth from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-oauth.git",
"099057a98e41f3aff91e77e3cf496d6c6fd901df"}
Cloning into 'oauth'...
Pulling rexi from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-rexi.git",
"a327b7dbeb2b0050f7ca9072047bf8ef2d282833"}
Cloning into 'rexi'...
Pulling snappy from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-snappy.git",
"0ab2796f82789895a2a86d403e63f3823d3c5a1d"}
Cloning into 'snappy'...
Pulling setup from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-setup.git",
"d0a9b722485639fc43ccbfc4267f3a2dd9aa9d5a"}
Cloning into 'setup'...
Pulling meck from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-meck.git",
{tag,"0.8.2"}}
Cloning into 'meck'...
==> couch_epi (get-deps)
==> b64url (get-deps)
==> cassim (get-deps)
==> meck (get-deps)
==> couch_log (get-deps)
==> couch_log_lager (get-deps)
Pulling lager from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-lager.git",
{branch,"master"}}
Cloning into 'lager'...
==> lager (get-deps)
==> config (get-deps)
==> chttpd (get-deps)
==> couch (get-deps)
==> couch_index (get-deps)
==> couch_mrview (get-deps)
==> couch_replicator (get-deps)
==> couch_plugins (get-deps)
==> couch_event (get-deps)
==> couch_stats (get-deps)
==> couch_peruser (get-deps)
==> docs (get-deps)
==> ddoc_cache (get-deps)
==> ets_lru (get-deps)
==> fabric (get-deps)
==> fauxton (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"https://git-wip-us.apache.org/repos/asf/couchdb-bear.git",
{tag,"0.8.1"}}
Cloning into 'bear'...
==> bear (get-deps)
==> global_changes (get-deps)
==> goldrush (get-deps)
==> ibrowse (get-deps)
==> ioq (get-deps)
==> jiffy (get-deps)
==> khash (get-deps)
==> mango (get-deps)
==> mem3 (get-deps)
==> mochiweb (get-deps)
==> oauth (get-deps)
==> rexi (get-deps)
==> snappy (get-deps)
==> setup (get-deps)
==> couch_epi (compile)
Compiled src/couch_epi_sup.erl
Compiled src/couch_epi_plugin.erl
Compiled src/couch_epi_util.erl
Compiled src/couch_epi_functions.erl
Compiled src/couch_epi_data_gen.erl
Compiled src/couch_epi_data.erl
Compiled src/couch_epi_module_keeper.erl
Compiled src/couch_epi_codechange_monitor.erl
Compiled src/couch_epi_app.erl
Compiled src/couch_epi_functions_gen.erl
Compiled src/couch_epi.erl
/Users/delphine/Development/Git/janl/couchdb/src/couch_epi/src/couch_epi_codegen.erl:69: Warning: erl_scan:token_info/2: deprecated (will be removed in OTP 19); use erl_scan:{category,column,line,location,symbol,text}/1 instead
Compiled src/couch_epi_codegen.erl
==> b64url (compile)
Compiled src/b64url.erl
Compiling c_src/b64url.c
==> cassim (compile)
Compiled src/cassim_sup.erl
Compiled src/cassim_app.erl
Compiled src/cassim.erl
Compiled src/cassim_security.erl
Compiled src/cassim_metadata_cache.erl
==> meck (compile)
Compiled src/meck_util.erl
Compiled src/meck_matcher.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_history.erl
Compiled src/meck_expect.erl
Compiled src/meck_cover.erl
Compiled src/meck_code.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_proc.erl
Compiled src/meck.erl
==> couch_log (compile)
Compiled src/couch_log.erl
Compiled src/couch_log_stderr.erl
==> lager (compile)
Compiled src/lager_util.erl
Compiled src/lager_transform.erl
Compiled src/lager_sup.erl
Compiled src/lager_msg.erl
Compiled src/lager_handler_watcher_sup.erl
Compiled src/lager_handler_watcher.erl
Compiled src/lager_stdlib.erl
Compiled src/lager_trunc_io.erl
Compiled src/lager_default_formatter.erl
Compiled src/lager_file_backend.erl
Compiled src/lager_format.erl
Compiled src/lager_config.erl
Compiled src/lager_console_backend.erl
Compiled src/lager_crash_log.erl
Compiled src/lager_backend_throttle.erl
Compiled src/lager_app.erl
Compiled src/lager.erl
Compiled src/error_logger_lager_h.erl
==> couch_log_lager (compile)
Compiled src/couch_log_lager.erl
==> config (compile)
Compiled src/config_sup.erl
Compiled src/config_util.erl
Compiled src/config_writer.erl
Compiled src/config_listener.erl
Compiled src/config_app.erl
Compiled src/config.erl
==> chttpd (compile)
Compiled src/chttpd.erl
Compiled src/chttpd_sup.erl
Compiled src/chttpd_view.erl
Compiled src/chttpd_show.erl
Compiled src/chttpd_test_util.erl
Compiled src/chttpd_plugin.erl
Compiled src/chttpd_httpd_handlers.erl
Compiled src/chttpd_handlers.erl
Compiled src/chttpd_rewrite.erl
Compiled src/chttpd_external.erl
Compiled src/chttpd_misc.erl
Compiled src/chttpd_epi.erl
Compiled src/chttpd_config_listener.erl
Compiled src/chttpd_cors.erl
Compiled src/chttpd_auth_request.erl
Compiled src/chttpd_auth_cache.erl
Compiled src/chttpd_app.erl
Compiled src/chttpd_auth.erl
Compiled src/chttpd_db.erl
==> couch (compile)
Compiled src/couch_httpd.erl
Compiled src/test_request.erl
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/couch_uuids.erl:44: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
Compiled src/couch_uuids.erl
Compiled src/couch_work_queue.erl
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/test_util.erl:235: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
Compiled src/test_util.erl
Compiled src/couch_totp.erl
Compiled src/couch_users_db.erl
Compiled src/couch_task_status.erl
Compiled src/couch_sup.erl
Compiled src/couch_stream.erl
Compiled src/couch_util.erl
Compiled src/couch_secondary_sup.erl
Compiled src/couch_query_servers.erl
Compiled src/couch_proc_manager.erl
Compiled src/couch_primary_sup.erl
Compiled src/couch_server.erl
Compiled src/couch_passwords.erl
Compiled src/couch_os_process.erl
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/couch_lru.erl:22: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/couch_lru.erl:28: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
Compiled src/couch_lru.erl
Compiled src/couch_os_daemons.erl
Compiled src/couch_native_process.erl
Compiled src/couch_httpd_vhost.erl
Compiled src/couch_key_tree.erl
Compiled src/couch_httpd_rewrite.erl
Compiled src/couch_httpd_proxy.erl
Compiled src/couch_httpd_handlers.erl
Compiled src/couch_httpd_misc_handlers.erl
Compiled src/couch_httpd_oauth.erl
Compiled src/couch_httpd_external.erl
Compiled src/couch_httpd_cors.erl
Compiled src/couch_hotp.erl
Compiled src/couch_httpd_auth.erl
Compiled src/couch_external_server.erl
Compiled src/couch_file.erl
Compiled src/couch_external_manager.erl
Compiled src/couch_event_sup.erl
Compiled src/couch_ejson_compare.erl
Compiled src/couch_drv.erl
Compiled src/couch_emsort.erl
Compiled src/couch_httpd_db.erl
Compiled src/couch_db_plugin.erl
Compiled src/couch_doc.erl
Compiled src/couch_db_epi.erl
Compiled src/couch_db_header.erl
Compiled src/couch_crypto.erl
Compiled src/couch_compress.erl
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/couch_compaction_daemon.erl:198: Warning: variable 'ViewsMonRef' exported from 'case' (line 165)
Compiled src/couch_compaction_daemon.erl
Compiled src/couch_db_updater.erl
Compiled src/couch_changes.erl
Compiled src/couch_db.erl
Compiled src/couch_base32.erl
Compiled src/couch_att.erl
Compiled src/couch_app.erl
Compiled src/couch.erl
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/couch_btree.erl:394: Warning: variable 'NodeList' exported from 'case' (line 376)
Compiled src/couch_btree.erl
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/couch_auth_cache.erl:206: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
/Users/delphine/Development/Git/janl/couchdb/src/couch/src/couch_auth_cache.erl:319: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
Compiled src/couch_auth_cache.erl
Compiling /Users/delphine/Development/Git/janl/couchdb/src/couch/priv/couch_js/http.c
/Users/delphine/Development/Git/janl/couchdb/src/couch/priv/couch_js/http.c:18:10: fatal error: 'jsapi.h' file not found
#include <jsapi.h>
^
1 error generated.
ERROR: compile failed while processing /Users/delphine/Development/Git/janl/couchdb/src/couch: rebar_abort
make: *** [couch] Error 1
guadalaviar:couchdb delphine$ ./configure -c --disable-docs --disable-fauxton && make
==> configuring couchdb in rel/couchdb.config
Cloning into '/Users/delphine/dev/Git/janl/couchdb/src/rebar'...
remote: Counting objects: 367, done.
remote: Compressing objects: 100% (274/274), done.
remote: Total 367 (delta 60), reused 241 (delta 34)
Receiving objects: 100% (367/367), 243.49 KiB | 116.00 KiB/s, done.
Resolving deltas: 100% (60/60), done.
Checking connectivity... done.
Note: checking out '5dea85db1b697466586877bed133748bd80fa180'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
./bootstrap
env: escript: No such file or directory
make: *** [all] Error 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment