Skip to content

Instantly share code, notes, and snippets.

@dch
Created May 30, 2011 13:00
Show Gist options
  • Save dch/998876 to your computer and use it in GitHub Desktop.
Save dch/998876 to your computer and use it in GitHub Desktop.
couch@build /relax/apache-couchdb-1.1.0_windows
$ couchdb_config.sh ; couchdb_build.sh
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... cc.sh
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc.sh accepts -g... yes
checking for cc.sh option to accept ISO C89... none needed
checking dependency style of cc.sh... none
checking how to run the C preprocessor... cc.sh -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) cc.sh
checking whether we are using the GNU C compiler... (cached) no
checking whether cc.sh accepts -g... (cached) yes
checking for cc.sh option to accept ISO C89... (cached) none needed
checking dependency style of cc.sh... (cached) none
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for non-GNU ld... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /bin/ld option to reload object files... -r
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for ar... ar.sh
checking for strip... strip
checking for ranlib... true
checking command to parse /usr/bin/nm -B output from cc.sh object... ok
checking for dlfcn.h... no
checking for objdir... .libs
checking for cc.sh option to produce PIC... -DDLL_EXPORT -DPIC
checking if cc.sh PIC flag -DDLL_EXPORT -DPIC works... yes
checking if cc.sh static flag works... yes
checking if cc.sh supports -c -o file.o... yes
checking if cc.sh supports -c -o file.o... (cached) yes
checking whether the cc.sh linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether ln -s works... yes
checking for pthread_create in -lpthread... no
checking for JS_NewContext in -lmozjs... yes
checking for iscc... /relax/inno5/iscc
checking jsapi.h usability... yes
checking jsapi.h presence... yes
checking for jsapi.h... yes
checking for erl... /relax/otp_src_R14B01/release/win32/erts-5.8.2/bin/erl
checking for erlc... /relax/otp_src_R14B01/release/win32/erts-5.8.2/bin/erlc
checking erl_driver.h usability... yes
checking erl_driver.h presence... yes
checking for erl_driver.h... yes
checking for help2man... /usr/bin/help2man
checking location of init directory... not found
checking location of launchd directory... not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/couchjs.tpl
config.status: creating bin/couchdb.tpl
config.status: creating bin/couchdb.bat.tpl
config.status: creating bin/Makefile
config.status: creating etc/couchdb/Makefile
config.status: creating etc/couchdb/default.ini.tpl
config.status: creating etc/default/Makefile
config.status: creating etc/init/couchdb.tpl
config.status: creating etc/init/Makefile
config.status: creating etc/launchd/org.apache.couchdb.plist.tpl
config.status: creating etc/launchd/Makefile
config.status: creating etc/logrotate.d/couchdb.tpl
config.status: creating etc/logrotate.d/Makefile
config.status: creating etc/windows/Makefile
config.status: creating etc/Makefile
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/couchdb/couch.app.tpl
config.status: creating src/couchdb/Makefile
config.status: creating src/couchdb/priv/Makefile
config.status: creating src/erlang-oauth/Makefile
config.status: creating src/etap/Makefile
config.status: creating src/ibrowse/Makefile
config.status: creating src/mochiweb/Makefile
config.status: creating test/Makefile
config.status: creating test/bench/Makefile
config.status: creating test/etap/Makefile
config.status: creating test/etap/test_util.erl
config.status: creating test/javascript/Makefile
config.status: creating test/view_server/Makefile
config.status: creating utils/Makefile
config.status: creating var/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
You have configured Apache CouchDB, time to relax.
Run `make && sudo make install' to install.
DONE.
make all-recursive
make[1]: Entering directory `/relax/apache-couchdb-1.1.0_windows'
Making all in bin
make[2]: Entering directory `/relax/apache-couchdb-1.1.0_windows/bin'
sed -e "s|%ICU_CONFIG%||g" \
-e "s|%version%|1.1.0|g" \
couchdb.bat.tpl > couchdb.bat
sed -e "s|%locallibbindir%|/relax/apache-couchdb-1.1.0_windows/src/couchdb/priv|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|[email protected]|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.1.0|g" \
-e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" > \
couchjs_dev < couchjs.tpl
chmod +x couchjs_dev
touch couchdb.1
if test -x "/usr/bin/help2man"; then \
make -f Makefile couchdb; \
/usr/bin/help2man --no-info --help-option="-h" --version-option="-V" \
--name="Apache CouchDB database server" ./couchdb --output couchdb.1; \
fi
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/bin'
sed -e "s|%ERL%|/relax/otp_src_R14B01/release/win32/erts-5.8.2/bin/erl|g" \
-e "s|%ICU_CONFIG%||g" \
-e "s|%bindir%|/relax/otp_src_R14B01/release/win32/bin|g" \
-e "s|%localerlanglibdir%|/relax/otp_src_R14B01/release/win32/lib|g" \
-e "s|%defaultini%|default.ini|g" \
-e "s|%localini%|local.ini|g" \
-e "s|%localconfdir%|/relax/otp_src_R14B01/release/win32/etc/couchdb|g" \
-e "s|%localstatelogdir%|/relax/otp_src_R14B01/release/win32/var/log/couchdb|g" \
-e "s|%localstatelibdir%|/relax/otp_src_R14B01/release/win32/var/lib/couchdb|g" \
-e "s|%localstatedir%|/relax/otp_src_R14B01/release/win32/var|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|[email protected]|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.1.0|g" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
couchdb < couchdb.tpl
chmod +x couchdb
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/bin'
touch couchjs.1
if test -x "/usr/bin/help2man"; then \
make -f Makefile couchjs; \
/usr/bin/help2man --no-info --help-option="-h" --version-option="-V" \
--name="Apache CouchDB JavaScript interpreter" ./couchjs --output couchjs.1; \
fi
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/bin'
sed -e "s|%locallibbindir%|/relax/otp_src_R14B01/release/win32/bin|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|[email protected]|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.1.0|g" \
-e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" > \
couchjs < couchjs.tpl
chmod +x couchjs
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/bin'
make[2]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/bin'
Making all in etc
make[2]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc'
Making all in couchdb
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc/couchdb'
sed -e "s|%bindir%|.|g" \
-e "s|%localconfdir%|/relax/otp_src_R14B01/release/win32/etc/couchdb|g" \
-e "s|%localdatadir%|../share/couchdb|g" \
-e "s|%localbuilddatadir%|../share/couchdb|g" \
-e "s|%localstatelibdir%|../var/lib/couchdb|g" \
-e "s|%localstatelogdir%|../var/log/couchdb|g" \
-e "s|%localstaterundir%|../var/run/couchdb|g" \
-e "s|%couchprivlibdir%|../lib/couch-1.1.0/priv/lib|g" \
-e "s|%couchjs_command_name%|couchjs.exe|g" \
< default.ini.tpl > default.ini
sed -e "s|%bindir%|/relax/apache-couchdb-1.1.0_windows/bin|g" \
-e "s|%localconfdir%|/relax/apache-couchdb-1.1.0_windows/etc/couchdb|g" \
-e "s|%localdatadir%|/relax/apache-couchdb-1.1.0_windows/share|g" \
-e "s|%localbuilddatadir%|/relax/apache-couchdb-1.1.0_windows/share|g" \
-e "s|%localstatelibdir%|/relax/apache-couchdb-1.1.0_windows/tmp/lib|g" \
-e "s|%localstatelogdir%|/relax/apache-couchdb-1.1.0_windows/tmp/log|g" \
-e "s|%localstaterundir%|/relax/apache-couchdb-1.1.0_windows/tmp/run|g" \
-e "s|%couchprivlibdir%|/relax/apache-couchdb-1.1.0_windows/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 `/relax/apache-couchdb-1.1.0_windows/etc/couchdb'
Making all in default
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc/default'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/etc/default'
Making all in init
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc/init'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/etc/init'
Making all in launchd
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc/launchd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/etc/launchd'
Making all in logrotate.d
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc/logrotate.d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/etc/logrotate.d'
Making all in windows
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc/windows'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/etc/windows'
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/etc'
sed -e "s|%localstatelogdir%|/relax/otp_src_R14B01/release/win32/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdb
make[3]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/etc'
make[2]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/etc'
Making all in src
make[2]: Entering directory `/relax/apache-couchdb-1.1.0_windows/src'
Making all in couchdb
make[3]: Entering directory `/relax/apache-couchdb-1.1.0_windows/src/couchdb'
Making all in priv
make[4]: Entering directory `/relax/apache-couchdb-1.1.0_windows/src/couchdb/priv'
source='icu_driver/couch_icu_driver.c' object='couch_icu_driver_la-couch_icu_driver.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../../build-aux/depcomp \
/bin/sh ../../../libtool --tag=CC --mode=compile cc.sh -DHAVE_CONFIG_H -I. -I../../.. -L/relax/tracemonkey-57a6ad20eae9/js/src/
dist/lib -L/usr/local/lib -L/opt/local/lib -I/relax/otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/i
nclude -DXP_WIN -I/relax/icu/include -L/relax/icu/lib -O2 -c -o couch_icu_driver_la-couch_icu_driver.lo `test -f 'icu_driver/couch_icu_dri
ver.c' || echo './'`icu_driver/couch_icu_driver.c
libtool: compile: cc.sh -DHAVE_CONFIG_H -I. -I../../.. -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib
-I/relax/otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -I/relax/icu/include -L/rel
ax/icu/lib -O2 -c icu_driver\\couch_icu_driver.c -DDLL_EXPORT -DPIC -o .libs/couch_icu_driver_la-couch_icu_driver.o
/bin/sh ../../../libtool --tag=CC --mode=link cc.sh -I/relax/icu/include -L/relax/icu/lib -O2 -module -avoid-version -I/relax/icu/include
-L/relax/icu/lib -no-undefined -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib -I/relax/otp_src_R14B01/r
elease/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -o couch_icu_driver.la -rpath /relax/otp_src_R14B0
1/release/win32/lib/couch-1.1.0/priv/lib couch_icu_driver_la-couch_icu_driver.lo -licuuc -licudt -licuin -L/relax/tracemonkey-57a6ad20eae9/j
s/src/dist/lib -L/usr/local/lib -L/opt/local/lib
*** Warning: linker path does not have real file for library -licuuc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with icuuc and none of the candidates passed a file format test
*** using a file magic. Last file checked: /relax/icu/lib/icuuc.lib
*** Warning: linker path does not have real file for library -licudt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with icudt and none of the candidates passed a file format test
*** using a file magic. Last file checked: /relax/icu/lib/icudt.lib
*** Warning: linker path does not have real file for library -licuin.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with icuin and none of the candidates passed a file format test
*** using a file magic. Last file checked: /relax/icu/lib/icuin.lib
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module couch_icu_driver. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
libtool: link: lib -OUT:.libs/couch_icu_driver.lib .libs/couch_icu_driver_la-couch_icu_driver.o
Microsoft (R) Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
libtool: link: ( cd ".libs" && rm -f "couch_icu_driver.la" && ln -s "../couch_icu_driver.la" "couch_icu_driver.la" )
source='spawnkillable/couchspawnkillable_win.c' object='couchspawnkillable_win.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../build-aux/depcomp \
cc.sh -DHAVE_CONFIG_H -I. -I../../.. -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib -I/relax/
otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -O2 -c -o couchspawnkillable_win.
o `test -f 'spawnkillable/couchspawnkillable_win.c' || echo './'`spawnkillable/couchspawnkillable_win.c
/bin/sh ../../../libtool --tag=CC --mode=link cc.sh -O2 -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/
lib -I/relax/otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -o couchspawnkillable
.exe couchspawnkillable_win.o -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib
libtool: link: cc.sh -O2 -I/relax/otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -o
.libs/couchspawnkillable.exe couchspawnkillable_win.o -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib
source='couch_js/http.c' object='couchjs-http.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../build-aux/depcomp \
cc.sh -DHAVE_CONFIG_H -I. -I../../.. -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib -I/relax/
otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -D_BSD_SOURCE -I/relax/curl/includ
e -DCURL_STATICLIB -O2 -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/http.c
couch_js/http.c(43) : warning C4005: 'DELETE' : macro redefinition
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\winnt.h(6478) : see previous definition of 'DELETE'
source='couch_js/main.c' object='couchjs-main.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../build-aux/depcomp \
cc.sh -DHAVE_CONFIG_H -I. -I../../.. -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib -I/relax/
otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -D_BSD_SOURCE -I/relax/curl/includ
e -DCURL_STATICLIB -O2 -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/main.c
source='couch_js/utf8.c' object='couchjs-utf8.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../build-aux/depcomp \
cc.sh -DHAVE_CONFIG_H -I. -I../../.. -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib -I/relax/
otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -D_BSD_SOURCE -I/relax/curl/includ
e -DCURL_STATICLIB -O2 -c -o couchjs-utf8.o `test -f 'couch_js/utf8.c' || echo './'`couch_js/utf8.c
/bin/sh ../../../libtool --tag=CC --mode=link cc.sh -D_BSD_SOURCE -I/relax/curl/include -DCURL_STATICLIB -O2 -l/relax/curl/lib/libcurl -lW
s2_32 -lkernel32 -luser32 -ladvapi32 -lWldap32 -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib -I/relax/
otp_src_R14B01/release/win32/usr/include -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -o couchjs.exe couchjs-http.o couc
hjs-main.o couchjs-utf8.o -l/relax/curl/lib/libcurl -lWs2_32 -lkernel32 -luser32 -ladvapi32 -lWldap32 -lmozjs -L/relax/tracemonkey-57a6ad20e
ae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib
libtool: link: cc.sh -D_BSD_SOURCE -I/relax/curl/include -DCURL_STATICLIB -O2 -I/relax/otp_src_R14B01/release/win32/usr/include -I/relax/tra
cemonkey-57a6ad20eae9/js/src/dist/include -DXP_WIN -o .libs/couchjs.exe couchjs-http.o couchjs-main.o couchjs-utf8.o -L/relax/tracemonkey-5
7a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/lib -l/relax/curl/lib/libcurl -lWs2_32 -lkernel32 -luser32 -ladvapi32 -lWldap32 -l
mozjs
Creating library .libs/couchjs.lib and object .libs/couchjs.exp
cp stat_descriptions.cfg.in stat_descriptions.cfg
make[4]: Leaving directory `/relax/apache-couchdb-1.1.0_windows/src/couchdb/priv'
make[4]: Entering directory `/relax/apache-couchdb-1.1.0_windows/src/couchdb'
modules=`find . -name "couch*.erl" -exec basename {} .erl \; | tr '\n' ',' | sed "s/,$//"`; \
sed -e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.1.0|g" \
-e "s|@modules@|$modules|g" \
-e "s|%localconfdir%|../etc/couchdb|g" \
-e "s|@defaultini@|default.ini|g" \
-e "s|@localini@|local.ini|g" > \
couch.app < couch.app.tpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment