Skip to content

Instantly share code, notes, and snippets.

Created March 28, 2012 16:08
Show Gist options
  • Select an option

  • Save anonymous/2227816 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/2227816 to your computer and use it in GitHub Desktop.
Make output
make all-recursive
make[1]: Entering directory `/home/martin/apache-couchdb-1.2.0'
Making all in bin
make[2]: Entering directory `/home/martin/apache-couchdb-1.2.0/bin'
sed -e "s|%ERL%|/usr/local/bin/erl|g" \
-e "s|%ICU_CONFIG%|/usr/bin/icu-config|g" \
-e "s|%bindir%|/usr/local/bin|g" \
-e "s|%localerlanglibdir%|/usr/local/lib/couchdb/erlang/lib|g" \
-e "s|%defaultini%|default.ini|g" \
-e "s|%localini%|local.ini|g" \
-e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
-e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
-e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
-e "s|%localstatedir%|/usr/local/var|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|dev@couchdb.apache.org|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.2.0|g" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
couchdb < couchdb.tpl
chmod +x couchdb
sed -e "s|%ERL%|/usr/local/bin/erl|g" \
-e "s|%bindir%|/usr/local/bin|g" \
-e "s|%localerlanglibdir%|/usr/local/lib/couchdb/erlang/lib|g" \
-e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
-e "s|%localdatadir%|/usr/local/share/couchdb|g" \
-e "s|%localbuilddatadir%|/usr/local/share/couchdb|g" \
-e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
-e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
-e "s|%localstatedir%|/usr/local/var|g" \
-e "s|%localstaterundir%|/usr/local/var/run/couchdb|g" \
-e "s|%couchlibdir%|/usr/local/lib/couchdb/erlang/lib/couch-%version%|g"\
-e "s|%couchincludedir%|/usr/local/lib/couchdb/erlang/lib/include|g"\
-e "s|%couchebindir%|/usr/local/lib/couchdb/erlang/lib/ebin|g"\
-e "s|%couchprivlibdir%|/usr/local/lib/couchdb/erlang/lib/couch-%version%/priv/lib|g"\
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|dev@couchdb.apache.org|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.2.0|g" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
couch-config < couch-config.tpl
chmod +x couch-config
ln -s -f "/home/martin/apache-couchdb-1.2.0/src/couchdb/priv/couchjs" "couchjs_dev"
sed -e "s|%ERL%|/usr/local/bin/erl|g" \
-e "s|%bindir%|/home/martin/apache-couchdb-1.2.0/bin|g" \
-e "s|%localerlanglibdir%|/home/martin/apache-couchdb-1.2.0\/src\/couchdb|g" \
-e "s|%couchlibdir%|/home/martin/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchincludedir%|/home/martin/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchebindir%|/home/martin/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchprivlibdir%|/home/martin/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g"\
-e "s|%localdatadir%|/home/martin/apache-couchdb-1.2.0/share|g" \
-e "s|%localbuilddatadir%|/home/martin/apache-couchdb-1.2.0/share|g" \
-e "s|%localstatelibdir%|/home/martin/apache-couchdb-1.2.0/tmp/lib|g" \
-e "s|%localstatelogdir%|/home/martin/apache-couchdb-1.2.0/tmp/log|g" \
-e "s|%localstatedir%|/home/martin/apache-couchdb-1.2.0/tmp|g" \
-e "s|%localstaterundir%|/home/martin/apache-couchdb-1.2.0/tmp/run|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|dev@couchdb.apache.org|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.2.0|g" \
-e "s|%couchdb_command_name%|/home/martin/apache-couchdb-1.2.0/utils/run|g" > \
couch-config_dev < couch-config.tpl
chmod +x couch-config_dev
make[2]: Leaving directory `/home/martin/apache-couchdb-1.2.0/bin'
Making all in etc
make[2]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc'
Making all in couchdb
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc/couchdb'
sed -e "s|%bindir%|/usr/local/bin|g" \
-e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
-e "s|%localdatadir%|/usr/local/share/couchdb|g" \
-e "s|%localbuilddatadir%|/usr/local/share/couchdb|g" \
-e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
-e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
-e "s|%localstaterundir%|/usr/local/var/run/couchdb|g" \
-e "s|%couchprivlibdir%|/usr/local/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib|g" \
-e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" \
< default.ini.tpl > default.ini
sed -e "s|%bindir%|/home/martin/apache-couchdb-1.2.0/bin|g" \
-e "s|%localconfdir%|/home/martin/apache-couchdb-1.2.0/etc/couchdb|g" \
-e "s|%localdatadir%|/home/martin/apache-couchdb-1.2.0/share|g" \
-e "s|%localbuilddatadir%|/home/martin/apache-couchdb-1.2.0/share|g" \
-e "s|%localstatelibdir%|/home/martin/apache-couchdb-1.2.0/tmp/lib|g" \
-e "s|%localstatelogdir%|/home/martin/apache-couchdb-1.2.0/tmp/log|g" \
-e "s|%localstaterundir%|/home/martin/apache-couchdb-1.2.0/tmp/run|g" \
-e "s|%couchprivlibdir%|/home/martin/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g" \
-e "s|%couchjs_command_name%|`echo couchjs_dev | sed 's,x,x,'`|g" \
< default.ini.tpl > default_dev.ini
if test ! -f "local_dev.ini"; then \
cp local.ini local_dev.ini; \
fi
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc/couchdb'
Making all in default
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc/default'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc/default'
Making all in init
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc/init'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc/init'
Making all in launchd
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc/launchd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc/launchd'
Making all in logrotate.d
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc/logrotate.d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc/logrotate.d'
Making all in windows
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc/windows'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc/windows'
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/etc'
if test "/bin/mkdir -p"; then \
/bin/mkdir -p init; \
else \
if test ! -d init; then \
mkdir init; \
fi \
fi
sed -e "s|%configure_input%|init/couchdb. Generated from init/couchdb.tpl by configure.|" \
-e "s|%bindir%|/usr/local/bin|" \
-e "s|%sysconfdir%|/usr/local/etc|" \
-e "s|%localstaterundir%|/usr/local/var/run/couchdb|" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|" \
< init/couchdb.tpl > init/couchdb
sed -e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdb
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc'
make[2]: Leaving directory `/home/martin/apache-couchdb-1.2.0/etc'
Making all in src
make[2]: Entering directory `/home/martin/apache-couchdb-1.2.0/src'
Making all in couchdb
make[3]: Entering directory `/home/martin/apache-couchdb-1.2.0/src/couchdb'
Making all in priv
make[4]: Entering directory `/home/martin/apache-couchdb-1.2.0/src/couchdb/priv'
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/local/lib/erlang/usr/include -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o couch_icu_driver_la-couch_icu_driver.lo `test -f 'icu_driver/couch_icu_driver.c' || echo './'`icu_driver/couch_icu_driver.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/local/lib/erlang/usr/include -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c icu_driver/couch_icu_driver.c -fPIC -DPIC -o .libs/couch_icu_driver_la-couch_icu_driver.o
mv -f .deps/couch_icu_driver_la-couch_icu_driver.Tpo .deps/couch_icu_driver_la-couch_icu_driver.Plo
/bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -g -O2 -module -avoid-version -L/opt/local/lib -L/usr/local/lib -o couch_icu_driver.la -rpath /usr/local/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib couch_icu_driver_la-couch_icu_driver.lo -licui18n -licuuc -licudata -lpthread -lm -L/opt/local/lib -L/usr/local/lib -lcrypt
libtool: link: gcc -shared .libs/couch_icu_driver_la-couch_icu_driver.o -L/opt/local/lib -L/usr/local/lib -licui18n -licuuc -licudata -lpthread -lm -lcrypt -Wl,-soname -Wl,couch_icu_driver.so -o .libs/couch_icu_driver.so
libtool: link: ( cd ".libs" && rm -f "couch_icu_driver.la" && ln -s "../couch_icu_driver.la" "couch_icu_driver.la" )
cp spawnkillable/couchspawnkillable.sh couchspawnkillable
chmod +x couchspawnkillable
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -I/usr/local/include -DXP_UNIX -I/usr/include -I/usr/include/js -I/usr/include/mozjs -I/usr/local/include/js -I/opt/local/include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couchjs-http.o -MD -MP -MF .deps/couchjs-http.Tpo -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/http.c
mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -I/usr/local/include -DXP_UNIX -I/usr/include -I/usr/include/js -I/usr/include/mozjs -I/usr/local/include/js -I/opt/local/include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couchjs-main.o -MD -MP -MF .deps/couchjs-main.Tpo -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/main.c
cc1: warnings being treated as errors
In file included from couch_js/main.c:20:
couch_js/sm170.c: In function ‘req_status’:
couch_js/sm170.c:105: error: implicit declaration of function ‘INT_FITS_IN_JSVAL’
couch_js/sm170.c: In function ‘evalcx’:
couch_js/sm170.c:138: error: implicit declaration of function ‘JS_GetStringChars’
couch_js/sm170.c:138: error: assignment makes pointer from integer without a cast
couch_js/sm170.c: In function ‘seal’:
couch_js/sm170.c:220: error: implicit declaration of function ‘JS_SealObject’
couch_js/sm170.c: At top level:
couch_js/sm170.c:236: error: initialization from incompatible pointer type
couch_js/sm170.c:246: error: initialization from incompatible pointer type
couch_js/sm170.c:252: error: initialization from incompatible pointer type
couch_js/sm170.c:252: error: excess elements in struct initializer
couch_js/sm170.c:252: error: (near initialization for ‘CouchHTTPFunctions[0]’)
couch_js/sm170.c:253: error: initialization from incompatible pointer type
couch_js/sm170.c:253: error: excess elements in struct initializer
couch_js/sm170.c:253: error: (near initialization for ‘CouchHTTPFunctions[1]’)
couch_js/sm170.c:254: error: initialization from incompatible pointer type
couch_js/sm170.c:254: error: excess elements in struct initializer
couch_js/sm170.c:254: error: (near initialization for ‘CouchHTTPFunctions[2]’)
couch_js/sm170.c:255: error: excess elements in struct initializer
couch_js/sm170.c:255: error: (near initialization for ‘CouchHTTPFunctions[3]’)
couch_js/sm170.c:265: error: initialization from incompatible pointer type
couch_js/sm170.c:275: error: initialization from incompatible pointer type
couch_js/sm170.c:275: error: excess elements in struct initializer
couch_js/sm170.c:275: error: (near initialization for ‘global_functions[0]’)
couch_js/sm170.c:276: error: initialization from incompatible pointer type
couch_js/sm170.c:276: error: excess elements in struct initializer
couch_js/sm170.c:276: error: (near initialization for ‘global_functions[1]’)
couch_js/sm170.c:277: error: initialization from incompatible pointer type
couch_js/sm170.c:277: error: excess elements in struct initializer
couch_js/sm170.c:277: error: (near initialization for ‘global_functions[2]’)
couch_js/sm170.c:278: error: initialization from incompatible pointer type
couch_js/sm170.c:278: error: excess elements in struct initializer
couch_js/sm170.c:278: error: (near initialization for ‘global_functions[3]’)
couch_js/sm170.c:279: error: initialization from incompatible pointer type
couch_js/sm170.c:279: error: excess elements in struct initializer
couch_js/sm170.c:279: error: (near initialization for ‘global_functions[4]’)
couch_js/sm170.c:280: error: initialization from incompatible pointer type
couch_js/sm170.c:280: error: excess elements in struct initializer
couch_js/sm170.c:280: error: (near initialization for ‘global_functions[5]’)
couch_js/sm170.c:281: error: excess elements in struct initializer
couch_js/sm170.c:281: error: (near initialization for ‘global_functions[6]’)
couch_js/sm170.c: In function ‘main’:
couch_js/sm170.c:292: error: ‘JSScript’ undeclared (first use in this function)
couch_js/sm170.c:292: error: (Each undeclared identifier is reported only once
couch_js/sm170.c:292: error: for each function it appears in.)
couch_js/sm170.c:292: error: ‘script’ undeclared (first use in this function)
couch_js/sm170.c:336: error: passing argument 5 of ‘JS_InitClass’ from incompatible pointer type
/usr/local/include/js/jsapi.h:2110: note: expected ‘JSNative’ but argument is of type ‘JSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)’
couch_js/sm170.c:350: error: assignment makes pointer from integer without a cast
couch_js/sm170.c:355: error: implicit declaration of function ‘JS_AddRoot’
couch_js/sm170.c:370: error: implicit declaration of function ‘JS_RemoveRoot’
make[4]: *** [couchjs-main.o] Error 1
make[4]: Leaving directory `/home/martin/apache-couchdb-1.2.0/src/couchdb/priv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/martin/apache-couchdb-1.2.0/src/couchdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/martin/apache-couchdb-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/martin/apache-couchdb-1.2.0'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment