trunk cygwin compilation fail Revision 616361333261 (Thu Jun 09 2011 at 08:06) - Diff Link to this snippet: https://friendpaste.com/7Ar25QaPEXM16wqiWdfmJ9 Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377couch@build /relax/trunk$ ./bootstrapYou have bootstrapped Apache CouchDB, time to relax.Run `./configure' to configure the source before you install.couch@build /relax/trunk$ ./configurecouch@build /relax/trunk$ more /relax/bin/couchdb_config.sh#!/bin/shCOUCH_TOP=`pwd`export COUCH_TOP./configure \--prefix=$ERL_TOP/release/win32 \--with-erlang=$ERL_TOP/release/win32/usr/include \--with-win32-icu-binaries=/relax/icu \--with-win32-curl=/relax/curl \--with-openssl-bin-dir=/relax/openssl/bin \--with-msvc-redist-dir=/relax \--with-js-lib=/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib \--with-js-include=/relax/tracemonkey-57a6ad20eae9/js/src/dist/include \--enable-static \2>&1 | tee $COUCH_TOP/build_configure.txtecho DONE. | tee -a $COUCH_TOP/build_configure.txtcouch@build /relax/trunk$ couchdb_config.shchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /usr/bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for style of include used by make... GNUchecking for gcc... cc.shchecking whether the C compiler works... yeschecking for C compiler default output file name... conftest.exechecking for suffix of executables... .exechecking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... nochecking whether cc.sh accepts -g... yeschecking for cc.sh option to accept ISO C89... none neededchecking dependency style of cc.sh... nonechecking how to run the C preprocessor... cc.sh -Echecking for grep that handles long lines and -e... /usr/bin/grepchecking for egrep... /usr/bin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... nochecking for inttypes.h... nochecking for stdint.h... nochecking for unistd.h... nochecking minix/config.h usability... nochecking minix/config.h presence... nochecking for minix/config.h... nochecking whether it is safe to define __EXTENSIONS__... yeschecking for gcc... (cached) cc.shchecking whether we are using the GNU C compiler... (cached) nochecking whether cc.sh accepts -g... (cached) yeschecking for cc.sh option to accept ISO C89... (cached) none neededchecking dependency style of cc.sh... (cached) nonechecking build system type... i686-pc-cygwinchecking host system type... i686-pc-cygwinchecking how to print strings... printfchecking for a sed that does not truncate output... /usr/bin/sedchecking for fgrep... /usr/bin/grep -Fchecking for non-GNU ld... /bin/ldchecking if the linker (/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking the name lister (/usr/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 8192checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking how to convert i686-pc-cygwin file names to i686-pc-cygwin format... func_convert_file_noopchecking how to convert i686-pc-cygwin file names to toolchain format... func_convert_file_noopchecking for /bin/ld option to reload object files... -rchecking for objdump... objdumpchecking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLLchecking for dlltool... dlltoolchecking how to associate runtime and link libraries... func_cygming_dll_for_implibchecking for archiver @FILE support... nochecking for strip... stripchecking for ranlib... truechecking command to parse /usr/bin/nm -B output from cc.sh object... okchecking for sysroot... nochecking for mt... mtchecking if mt is a manifest tool... yeschecking for dlfcn.h... nochecking for objdir... .libschecking for cc.sh option to produce PIC... -DDLL_EXPORT -DPICchecking if cc.sh PIC flag -DDLL_EXPORT -DPIC works... yeschecking if cc.sh static flag works... yeschecking if cc.sh supports -c -o file.o... yeschecking if cc.sh supports -c -o file.o... (cached) yeschecking whether the cc.sh linker (/bin/ld) supports shared libraries... yeschecking dynamic linker characteristics... Win32 ld.exechecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... nochecking whether ln -s works... yeschecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking whether we are using the GNU C++ compiler... nochecking whether cc.sh accepts -g... yeschecking dependency style of cc.sh... nonechecking how to run the C++ preprocessor... cc.sh -Echecking whether the cc.sh linker (/bin/ld) supports shared libraries... yeschecking for cc.sh option to produce PIC... -DDLL_EXPORT -DPICchecking if cc.sh PIC flag -DDLL_EXPORT -DPIC works... yeschecking if cc.sh static flag works... yeschecking if cc.sh supports -c -o file.o... yeschecking if cc.sh supports -c -o file.o... (cached) yeschecking whether the cc.sh linker (/bin/ld) supports shared libraries... yeschecking dynamic linker characteristics... Win32 ld.exechecking how to hardcode library paths into programs... immediatechecking whether byte ordering is bigendian... nochecking for stdint.h... (cached) nochecking stddef.h usability... yeschecking stddef.h presence... yeschecking for stddef.h... yeschecking sys/mman.h usability... nochecking sys/mman.h presence... nochecking for sys/mman.h... nochecking sys/resource.h usability... nochecking sys/resource.h presence... nochecking for sys/resource.h... nochecking for mmap... nochecking if the compiler supports __builtin_expect... nochecking if the compiler supports __builtin_ctzll... nochecking for pthread_create in -lpthread... nochecking for JS... nochecking for JS_NewContext in -lmozjs... yeschecking for iscc... /relax/inno5/isccchecking jsapi.h usability... yeschecking jsapi.h presence... yeschecking for jsapi.h... yeschecking for erl... /relax/otp_src_R14B03/release/win32/erts-5.8.4/bin/erlchecking for erlc... /relax/otp_src_R14B03/release/win32/erts-5.8.4/bin/erlcchecking erl_driver.h usability... yeschecking erl_driver.h presence... yeschecking for erl_driver.h... yeschecking for help2man... /usr/bin/help2manchecking location of init directory... not foundchecking location of launchd directory... not foundconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating bin/couchjs.tplconfig.status: creating bin/couchdb.tplconfig.status: creating bin/couchdb.bat.tplconfig.status: creating bin/Makefileconfig.status: creating etc/couchdb/Makefileconfig.status: creating etc/couchdb/default.ini.tplconfig.status: creating etc/default/Makefileconfig.status: creating etc/init/couchdb.tplconfig.status: creating etc/init/Makefileconfig.status: creating etc/launchd/org.apache.couchdb.plist.tplconfig.status: creating etc/launchd/Makefileconfig.status: creating etc/logrotate.d/couchdb.tplconfig.status: creating etc/logrotate.d/Makefileconfig.status: creating etc/windows/Makefileconfig.status: creating etc/Makefileconfig.status: creating share/Makefileconfig.status: creating src/Makefileconfig.status: creating src/couchdb/couch.app.tplconfig.status: creating src/couchdb/Makefileconfig.status: creating src/couchdb/priv/Makefileconfig.status: creating src/erlang-oauth/Makefileconfig.status: creating src/etap/Makefileconfig.status: creating src/ibrowse/Makefileconfig.status: creating src/mochiweb/Makefileconfig.status: creating src/snappy/Makefileconfig.status: creating src/snappy/google-snappy/snappy-stubs-public.hconfig.status: creating src/ejson/Makefileconfig.status: creating test/Makefileconfig.status: creating test/bench/Makefileconfig.status: creating test/etap/Makefileconfig.status: creating test/etap/test_util.erlconfig.status: creating test/javascript/Makefileconfig.status: creating test/view_server/Makefileconfig.status: creating utils/Makefileconfig.status: creating var/Makefileconfig.status: creating config.hconfig.status: creating src/snappy/google-snappy/config.hconfig.status: executing depfiles commandsconfig.status: executing libtool commandsYou have configured Apache CouchDB, time to relax.Run `make && sudo make install' to install.DONE.couch@build /relax/trunk$ makemake all-recursivemake[1]: Entering directory `/relax/trunk'Making all in binmake[2]: Entering directory `/relax/trunk/bin'sed -e "s|%ICU_CONFIG%||g" \ -e "s|%version%|1.2.0a-1133692|g" \ couchdb.bat.tpl > couchdb.batsed -e "s|%locallibbindir%|/relax/trunk/src/couchdb/priv|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.0a-1133692|g" \ -e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" > \ couchjs_dev < couchjs.tplchmod +x couchjs_devtouch couchdb.1if 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; \ fimake[3]: Entering directory `/relax/trunk/bin'sed -e "s|%ERL%|/relax/otp_src_R14B03/release/win32/erts-5.8.4/bin/erl|g" \ -e "s|%ICU_CONFIG%||g" \ -e "s|%bindir%|/relax/otp_src_R14B03/release/win32/bin|g" \ -e "s|%localerlanglibdir%|/relax/otp_src_R14B03/release/win32/lib|g" \ -e "s|%defaultini%|default.ini|g" \ -e "s|%localini%|local.ini|g" \ -e "s|%localconfdir%|/relax/otp_src_R14B03/release/win32/etc/couchdb|g" \ -e "s|%localstatelogdir%|/relax/otp_src_R14B03/release/win32/var/log/couchdb|g" \ -e "s|%localstatelibdir%|/relax/otp_src_R14B03/release/win32/var/lib/couchdb|g" \ -e "s|%localstatedir%|/relax/otp_src_R14B03/release/win32/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.0a-1133692|g" \ -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \ couchdb < couchdb.tplchmod +x couchdbmake[3]: Leaving directory `/relax/trunk/bin'touch couchjs.1if 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; \ fimake[3]: Entering directory `/relax/trunk/bin'sed -e "s|%locallibbindir%|/relax/otp_src_R14B03/release/win32/bin|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.0a-1133692|g" \ -e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" > \ couchjs < couchjs.tplchmod +x couchjsmake[3]: Leaving directory `/relax/trunk/bin'make[2]: Leaving directory `/relax/trunk/bin'Making all in etcmake[2]: Entering directory `/relax/trunk/etc'Making all in couchdbmake[3]: Entering directory `/relax/trunk/etc/couchdb'sed -e "s|%bindir%|.|g" \ -e "s|%localconfdir%|/relax/otp_src_R14B03/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.2.0a-1133692/priv/lib|g" \ -e "s|%couchjs_command_name%|couchjs.exe|g" \ < default.ini.tpl > default.inised -e "s|%bindir%|/relax/trunk/bin|g" \ -e "s|%localconfdir%|/relax/trunk/etc/couchdb|g" \ -e "s|%localdatadir%|/relax/trunk/share|g" \ -e "s|%localbuilddatadir%|/relax/trunk/share|g" \ -e "s|%localstatelibdir%|/relax/trunk/tmp/lib|g" \ -e "s|%localstatelogdir%|/relax/trunk/tmp/log|g" \ -e "s|%localstaterundir%|/relax/trunk/tmp/run|g" \ -e "s|%couchprivlibdir%|/relax/trunk/src/couchdb/priv/.libs|g" \ -e "s|%couchjs_command_name%|`echo couchjs_dev | sed 's,x,x,'`|g" \ < default.ini.tpl > default_dev.iniif test ! -f "local_dev.ini"; then \ cp local.ini local_dev.ini; \ fimake[3]: Leaving directory `/relax/trunk/etc/couchdb'Making all in defaultmake[3]: Entering directory `/relax/trunk/etc/default'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/relax/trunk/etc/default'Making all in initmake[3]: Entering directory `/relax/trunk/etc/init'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/relax/trunk/etc/init'Making all in launchdmake[3]: Entering directory `/relax/trunk/etc/launchd'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/relax/trunk/etc/launchd'Making all in logrotate.dmake[3]: Entering directory `/relax/trunk/etc/logrotate.d'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/relax/trunk/etc/logrotate.d'Making all in windowsmake[3]: Entering directory `/relax/trunk/etc/windows'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/relax/trunk/etc/windows'make[3]: Entering directory `/relax/trunk/etc'sed -e "s|%localstatelogdir%|/relax/otp_src_R14B03/release/win32/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdbmake[3]: Leaving directory `/relax/trunk/etc'make[2]: Leaving directory `/relax/trunk/etc'Making all in srcmake[2]: Entering directory `/relax/trunk/src'Making all in couchdbmake[3]: Entering directory `/relax/trunk/src/couchdb'Making all in privmake[4]: Entering directory `/relax/trunk/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../../.. -I../../../src/snappy/google-snappy -I/relax/icu/include -I/relax/otp_src_R14B03/release/win32/usr/include -c -o couch_icu_driver_la-couch_icu_driver.lo `test -f 'icu_driver/couch_icu_driver.c' || echo './'`icu_driver/couch_icu_driver.clibtool: compile: cc.sh -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/relax/icu/include -I/relax/otp_src_R14B03/release/win32/usr/include -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 -I/relax/otp_src_R14B03/release/win32/usr/include -module -avoid-version -no-undefined -o couch_icu_driver.la -rpath /relax/otp_src_R14B03/release/win32/lib/couch-1.2.0a-1133692/priv/lib couch_icu_driver_la-couch_icu_driver.lo -L/relax/icu/lib -licuuc -licudt -licuin -L/usr/local/lib -L/opt/local/liblibtool: link: cc.sh -o .libs/couch_icu_driver.dll .libs/couch_icu_driver_la-couch_icu_driver.o `func_echo_all " -L/relax/icu/lib -licuuc -licudt -licuin -L/usr/local/lib -L/opt/local/lib" | /usr/bin/sed 's/ -lc$//'` -dll Creating library .libs/couch_icu_driver.lib and object .libs/couch_icu_driver.explibtool: link: linknames=libtool: link: truelibtool: 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../../.. -I../../../src/snappy/google-snappy -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 -o couchspawnkillable.exe couchspawnkillable_win.o -L/usr/local/lib -L/opt/local/liblibtool: link: cc.sh -o .libs/couchspawnkillable.exe couchspawnkillable_win.o -L/usr/local/lib -L/opt/local/libsource='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../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/relax/curl/include -DCURL_STATICLIB -DXP_WIN -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/http.csource='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../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/relax/curl/include -DCURL_STATICLIB -DXP_WIN -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/main.csource='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../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/relax/curl/include -DCURL_STATICLIB -DXP_WIN -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -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 -DXP_WIN -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -o couchjs.exe couchjs-http.o couchjs-main.o couchjs-utf8.o -L/relax/curl/lib -lcurl -lWs2_32 -lkernel32 -luser32 -ladvapi32 -lWldap32 -lmozjs -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/liblibtool: link: cc.sh -D_BSD_SOURCE -I/relax/curl/include -DCURL_STATICLIB -DXP_WIN -I/relax/tracemonkey-57a6ad20eae9/js/src/dist/include -o.libs/couchjs.exe couchjs-http.o couchjs-main.o couchjs-utf8.o -L/relax/curl/lib /usr/lib/libcurl.dll.a -L/usr/lib /usr/lib/libidn.dll.a /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a /usr/lib/libssh2.dll.a -lssl -lcrypto -lz -lWs2_32 -lkernel32 -luser32 -ladvapi32 -lWldap32 -lmozjs -L/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib -L/usr/local/lib -L/opt/local/libLINK : fatal error LNK1181: cannot open input file 'ssl.lib'make[4]: *** [couchjs.exe] Error 157make[4]: Leaving directory `/relax/trunk/src/couchdb/priv'make[3]: *** [all-recursive] Error 1make[3]: Leaving directory `/relax/trunk/src/couchdb'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/relax/trunk/src'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/relax/trunk'make: *** [all] Error 2couch@build /relax/trunk$