couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: error when compiling couchdb trunk
Date Sun, 13 Jun 2010 15:51:49 GMT

On 13 Jun 2010, at 11:51, Jan Lehnardt wrote:

> 
> On 4 Jun 2010, at 11:34, Filipe David Manana wrote:
> 
>> You're welcome.
>> 
>> In more recent versions of Erlang/OTP, the iodata() type is defined.
> 
> This means our minimal version requirement is now larger than INSTALL.Unix
> claims and the build system checks for. We either need to bump the required
> version or make that patch permanent.

Ehm, this seems to be just a doc issue, nevermind about the INSTALL requirement.

Cheers
Jan
-- 

> 
> Cheers
> Jan
> --
> 
> 
> 
>> 
>> On Thu, Jun 3, 2010 at 10:20 PM, Matthieu Labour <matthieu@kikin.com> wrote:
>> 
>>> Hi Filipe
>>> Thank you for your response
>>> I am using Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.6.5
>>> renaming the 2 ocurrences of iodata() to iolist() worked
>>> Thanks a lot
>>> matt
>>> 
>>> 
>>> On Thu, Jun 3, 2010 at 2:56 PM, Filipe David Manana <fdmanana@gmail.com>wrote:
>>> 
>>>> Hi Matthieu,
>>>> 
>>>> which Erlang/OTP version are you using?
>>>> 
>>>> As a quick fix, edit couch_util.erl and rename the 2 ocurrences of
>>>> iodata()
>>>> (in a -spec macro, near the end of the file) to iolist(). Might work. If
>>>> not, just comment or remove those 2 -spec macros.
>>>> 
>>>> On Thu, Jun 3, 2010 at 7:50 PM, Matthieu Labour <matthieu@kikin.com>
>>>> wrote:
>>>> 
>>>>> I am trying to compile latest trunk. Trace below & System info below
as
>>>>> well
>>>>> Thank you for any help !
>>>>> 
>>>>> ********* Trace ***********
>>>>> 
>>>>> root@dva:~/couchdb/couchdb# ./configure
>>>>> --prefix=/opt/common_env/apache-couchdb-trunk-20100603
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> checking whether build environment is sane... yes
>>>>> checking for a thread-safe mkdir -p... /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... gcc
>>>>> checking for C compiler default output file name... a.out
>>>>> checking whether the C compiler works... yes
>>>>> checking whether we are cross compiling... no
>>>>> checking for suffix of executables...
>>>>> checking for suffix of object files... o
>>>>> checking whether we are using the GNU C compiler... yes
>>>>> checking whether gcc accepts -g... yes
>>>>> checking for gcc option to accept ISO C89... none needed
>>>>> checking dependency style of gcc... gcc3
>>>>> checking how to run the C preprocessor... gcc -E
>>>>> checking for grep that handles long lines and -e... /bin/grep
>>>>> checking for egrep... /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... yes
>>>>> checking for inttypes.h... yes
>>>>> checking for stdint.h... yes
>>>>> checking for unistd.h... yes
>>>>> 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) gcc
>>>>> checking whether we are using the GNU C compiler... (cached) yes
>>>>> checking whether gcc accepts -g... (cached) yes
>>>>> checking for gcc option to accept ISO C89... (cached) none needed
>>>>> checking dependency style of gcc... (cached) gcc3
>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>> checking host system type... x86_64-unknown-linux-gnu
>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>> checking for fgrep... /bin/grep -F
>>>>> checking for ld used by gcc... /usr/bin/ld
>>>>> checking if the linker (/usr/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... 1572864
>>>>> checking whether the shell understands some XSI constructs... yes
>>>>> checking whether the shell understands "+="... yes
>>>>> checking for /usr/bin/ld option to reload object files... -r
>>>>> checking for objdump... objdump
>>>>> checking how to recognize dependent libraries... pass_all
>>>>> checking for ar... ar
>>>>> checking for strip... strip
>>>>> checking for ranlib... ranlib
>>>>> checking command to parse /usr/bin/nm -B output from gcc object... ok
>>>>> checking for dlfcn.h... yes
>>>>> checking for objdir... .libs
>>>>> checking if gcc supports -fno-rtti -fno-exceptions... no
>>>>> checking for gcc option to produce PIC... -fPIC -DPIC
>>>>> checking if gcc PIC flag -fPIC -DPIC works... yes
>>>>> checking if gcc static flag -static works... yes
>>>>> checking if gcc supports -c -o file.o... yes
>>>>> checking if gcc supports -c -o file.o... (cached) yes
>>>>> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
>>>> shared
>>>>> libraries... yes
>>>>> checking whether -lc should be explicitly linked in... no
>>>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>>>> 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... yes
>>>>> checking for JS_NewContext in -lmozjs... yes
>>>>> checking jsapi.h usability... yes
>>>>> checking jsapi.h presence... yes
>>>>> checking for jsapi.h... yes
>>>>> checking for icu-config... /usr/bin/icu-config
>>>>> checking for ICU >= 3.4.1... yes
>>>>> checking ICU_CFLAGS... -g -Wall -O2
>>>>> checking ICU_CXXFLAGS... -g -Wall -O2
>>>>> checking ICU_LIBS... -lm -L/usr/lib -licui18n -licuuc -licudata -lm
>>>>> checking for curl-config... /usr/bin/curl-config
>>>>> checking for curl >= 7.18.0... yes
>>>>> checking CURL_CFLAGS...
>>>>> checking CURL_LIBS... -lcurl -lidn -lssl -lcrypto -llber -lldap -lrt
>>>>> -lgssapi_krb5 -lgssapi_krb5 -lssl -lcrypto -lz
>>>>> checking for erl... /usr/bin/erl
>>>>> checking for erlc... /usr/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... ${sysconfdir}/init.d
>>>>> 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/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.
>>>>> root@dva:~/couchdb/couchdb# make
>>>>> make  all-recursive
>>>>> make[1]: Entering directory `/root/couchdb/couchdb'
>>>>> Making all in bin
>>>>> make[2]: Entering directory `/root/couchdb/couchdb/bin'
>>>>> sed -e "s|%ERL%|/usr/bin/erl|g" \
>>>>>     -e "s|%ICU_CONFIG%|/usr/bin/icu-config|g" \
>>>>>     -e
>>>> "s|%bindir%|/opt/common_env/apache-couchdb-trunk-20100603/bin|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localerlanglibdir%|/opt/common_env/apache-couchdb-trunk-20100603/lib/couchdb/erlang/lib|g"
>>>>> \
>>>>>     -e "s|%defaultini%|default.ini|g" \
>>>>>     -e "s|%localini%|local.ini|g" \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localconfdir%|/opt/common_env/apache-couchdb-trunk-20100603/etc/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localstatelogdir%|/opt/common_env/apache-couchdb-trunk-20100603/var/log/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localstatelibdir%|/opt/common_env/apache-couchdb-trunk-20100603/var/lib/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> "s|%localstatedir%|/opt/common_env/apache-couchdb-trunk-20100603/var|g"
>>>> \
>>>>>     -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g<https://issues.apache.org/jira/browse/COUCHDB%7Cg>
>>>> <https://issues.apache.org/jira/browse/COUCHDB%7Cg>"
>>>> 
>>>>> \
>>>>>     -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%|0.12.0a951067|g" \
>>>>>     -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" >
\
>>>>> couchdb < couchdb.tpl
>>>>> chmod +x couchdb
>>>>> sed -e
>>>>> 
>>>>> 
>>>> "s|%locallibbindir%|/opt/common_env/apache-couchdb-trunk-20100603/lib/couchdb/bin|g"
>>>>> \
>>>>>     -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g<https://issues.apache.org/jira/browse/COUCHDB%7Cg>
>>>> <https://issues.apache.org/jira/browse/COUCHDB%7Cg>"
>>>> 
>>>>> \
>>>>>     -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%|0.12.0a951067|g" \
>>>>>     -e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" >
\
>>>>> couchjs < couchjs.tpl
>>>>> chmod +x couchjs
>>>>> sed -e "s|%locallibbindir%|/root/couchdb/couchdb/src/couchdb/priv|g"
\
>>>>>     -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g<https://issues.apache.org/jira/browse/COUCHDB%7Cg>
>>>> <https://issues.apache.org/jira/browse/COUCHDB%7Cg>"
>>>> 
>>>>> \
>>>>>     -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%|0.12.0a951067|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 `/root/couchdb/couchdb/bin'
>>>>> make[3]: `couchdb' is up to date.
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/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 `/root/couchdb/couchdb/bin'
>>>>> make[3]: `couchjs' is up to date.
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/bin'
>>>>> make[2]: Leaving directory `/root/couchdb/couchdb/bin'
>>>>> Making all in etc
>>>>> make[2]: Entering directory `/root/couchdb/couchdb/etc'
>>>>> Making all in couchdb
>>>>> make[3]: Entering directory `/root/couchdb/couchdb/etc/couchdb'
>>>>> sed -e "s|%bindir%|/opt/common_env/apache-couchdb-trunk-20100603/bin|g"
>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localconfdir%|/opt/common_env/apache-couchdb-trunk-20100603/etc/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localdatadir%|/opt/common_env/apache-couchdb-trunk-20100603/share/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localbuilddatadir%|/opt/common_env/apache-couchdb-trunk-20100603/share/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localstatelibdir%|/opt/common_env/apache-couchdb-trunk-20100603/var/lib/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localstatelogdir%|/opt/common_env/apache-couchdb-trunk-20100603/var/log/couchdb|g"
>>>>> \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%couchprivlibdir%|/opt/common_env/apache-couchdb-trunk-20100603/lib/couchdb/erlang/lib/couch-0.12.0a951067/priv/lib|g"
>>>>> \
>>>>>     -e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" \
>>>>> < default.ini.tpl > default.ini
>>>>> sed -e "s|%bindir%|/root/couchdb/couchdb/bin|g" \
>>>>>     -e "s|%localconfdir%|/root/couchdb/couchdb/etc/couchdb|g" \
>>>>>     -e "s|%localdatadir%|/root/couchdb/couchdb/share|g" \
>>>>>     -e "s|%localbuilddatadir%|/root/couchdb/couchdb/share|g" \
>>>>>     -e "s|%localstatelibdir%|/root/couchdb/couchdb/tmp/lib|g" \
>>>>>     -e "s|%localstatelogdir%|/root/couchdb/couchdb/tmp/log|g" \
>>>>>     -e
>>>>> "s|%couchprivlibdir%|/root/couchdb/couchdb/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 `/root/couchdb/couchdb/etc/couchdb'
>>>>> Making all in default
>>>>> make[3]: Entering directory `/root/couchdb/couchdb/etc/default'
>>>>> make[3]: Nothing to be done for `all'.
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/etc/default'
>>>>> Making all in init
>>>>> make[3]: Entering directory `/root/couchdb/couchdb/etc/init'
>>>>> make[3]: Nothing to be done for `all'.
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/etc/init'
>>>>> Making all in launchd
>>>>> make[3]: Entering directory `/root/couchdb/couchdb/etc/launchd'
>>>>> make[3]: Nothing to be done for `all'.
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/etc/launchd'
>>>>> Making all in logrotate.d
>>>>> make[3]: Entering directory `/root/couchdb/couchdb/etc/logrotate.d'
>>>>> make[3]: Nothing to be done for `all'.
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/etc/logrotate.d'
>>>>> make[3]: Entering directory `/root/couchdb/couchdb/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%|/opt/common_env/apache-couchdb-trunk-20100603/bin|" \
>>>>>     -e
>>>>> "s|%sysconfdir%|/opt/common_env/apache-couchdb-trunk-20100603/etc|" \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localstaterundir%|/opt/common_env/apache-couchdb-trunk-20100603/var/run/couchdb|"
>>>>> \
>>>>>     -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|" \
>>>>> < init/couchdb.tpl > init/couchdb
>>>>> sed -e
>>>>> 
>>>>> 
>>>> "s|%localstatelogdir%|/opt/common_env/apache-couchdb-trunk-20100603/var/log/couchdb|g"
>>>>> < logrotate.d/couchdb.tpl > logrotate.d/couchdb
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/etc'
>>>>> make[2]: Leaving directory `/root/couchdb/couchdb/etc'
>>>>> Making all in src
>>>>> make[2]: Entering directory `/root/couchdb/couchdb/src'
>>>>> Making all in couchdb
>>>>> make[3]: Entering directory `/root/couchdb/couchdb/src/couchdb'
>>>>> Making all in priv
>>>>> make[4]: Entering directory `/root/couchdb/couchdb/src/couchdb/priv'
>>>>> /bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
>>>> -I.
>>>>> -I../../..   -D_XOPEN_SOURCE  -L/usr/local/lib -L/opt/local/lib
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX
>>>> -I/usr/include
>>>>> -L/usr/lib -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../../.. -D_XOPEN_SOURCE
>>>>> -L/usr/local/lib -L/opt/local/lib
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX -I/usr/include
>>>>> -L/usr/lib -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 -I/usr/include
>>>>> -L/usr/lib -g -O2 -module -avoid-version -I/usr/include -L/usr/lib
>>>>> -L/usr/local/lib -L/opt/local/lib
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX  -lm  -o
>>>>> couch_icu_driver.la -rpath
>>>>> 
>>>>> 
>>>> /opt/common_env/apache-couchdb-trunk-20100603/lib/couchdb/erlang/lib/couch-0.12.0a951067/priv/lib
>>>>> couch_icu_driver_la-couch_icu_driver.lo -licuuc -licudata -licui18n
>>>>> -L/usr/local/lib -L/opt/local/lib -lpthread  -lcrypt
>>>>> libtool: link: gcc -shared  .libs/couch_icu_driver_la-couch_icu_driver.o
>>>>> -L/usr/lib -L/usr/local/lib -L/opt/local/lib -lm -licuuc -licudata
>>>>> -licui18n
>>>>> -lpthread -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../../..   -D_XOPEN_SOURCE  -L/usr/local/lib
>>>>> -L/opt/local/lib
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX    -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
>>>>> couch_js/http.c: In function 'setheader':
>>>>> couch_js/http.c:233: warning: incompatible implicit declaration of
>>>> built-in
>>>>> function 'snprintf'
>>>>> In function 'go',
>>>>> inlined from 'sendreq' at couch_js/http.c:270:
>>>>> couch_js/http.c:406: warning: call to '_curl_easy_setopt_err_seek_cb'
>>>>> declared with attribute warning: curl_easy_setopt expects a
>>>>> curl_seek_callback argument for this option
>>>>> mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po
>>>>> gcc -DHAVE_CONFIG_H -I. -I../../..   -D_XOPEN_SOURCE  -L/usr/local/lib
>>>>> -L/opt/local/lib
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX    -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
>>>>> mv -f .deps/couchjs-main.Tpo .deps/couchjs-main.Po
>>>>> gcc -DHAVE_CONFIG_H -I. -I../../..   -D_XOPEN_SOURCE  -L/usr/local/lib
>>>>> -L/opt/local/lib
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX    -g -O2 -MT
>>>>> couchjs-utf8.o -MD -MP -MF .deps/couchjs-utf8.Tpo -c -o couchjs-utf8.o
>>>>> `test
>>>>> -f 'couch_js/utf8.c' || echo './'`couch_js/utf8.c
>>>>> mv -f .deps/couchjs-utf8.Tpo .deps/couchjs-utf8.Po
>>>>> /bin/sh ../../../libtool --tag=CC   --mode=link gcc  -g -O2 -lcurl
>>>>> -L/usr/local/lib -L/opt/local/lib
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX  -lm  -o
>>>> couchjs
>>>>> couchjs-http.o couchjs-main.o couchjs-utf8.o -lcurl -lmozjs
>>>>> -L/usr/local/lib
>>>>> -L/opt/local/lib -lpthread  -lcrypt
>>>>> libtool: link: gcc -g -O2
>>>>> -I/opt/common_env/apache-couchdb-trunk-20100603/lib/erlang/usr/include
>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
>>>>> -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js
>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include
>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX -o couchjs
>>>>> couchjs-http.o couchjs-main.o couchjs-utf8.o  -L/usr/local/lib
>>>>> -L/opt/local/lib -lm /usr/lib/libcurl.so -lmozjs -lpthread -lcrypt
>>>>> cp stat_descriptions.cfg.in stat_descriptions.cfg
>>>>> make[4]: Leaving directory `/root/couchdb/couchdb/src/couchdb/priv'
>>>>> make[4]: Entering directory `/root/couchdb/couchdb/src/couchdb'
>>>>> modules=`{ find . -name "*.erl" -exec basename {} .erl \; | tr '\n' ',';
>>>>> echo ''; } | sed "s/,$//"`; \
>>>>> sed -e "s|%package_name%|Apache CouchDB|g" \
>>>>>     -e "s|%version%|0.12.0a951067|g" \
>>>>>     -e "s|@modules@|$modules|g" \
>>>>>     -e
>>>>> 
>>>>> 
>>>> "s|%localconfdir%|/opt/common_env/apache-couchdb-trunk-20100603/etc/couchdb|g"
>>>>> \
>>>>>     -e "s|@defaultini@|default.ini|g" \
>>>>>     -e "s|@localini@|local.ini|g" > \
>>>>> couch.app < couch.app.tpl
>>>>> chmod +x couch.app
>>>>> /usr/bin/erlc   couch.erl;
>>>>> /usr/bin/erlc   couch_app.erl;
>>>>> /usr/bin/erlc   couch_btree.erl;
>>>>> /usr/bin/erlc   couch_changes.erl;
>>>>> /usr/bin/erlc   couch_config.erl;
>>>>> /usr/bin/erlc   couch_config_writer.erl;
>>>>> /usr/bin/erlc   couch_db.erl;
>>>>> /usr/bin/erlc   couch_db_update_notifier.erl;
>>>>> /usr/bin/erlc   couch_db_update_notifier_sup.erl;
>>>>> /usr/bin/erlc   couch_doc.erl;
>>>>> /usr/bin/erlc   couch_event_sup.erl;
>>>>> /usr/bin/erlc   couch_external_manager.erl;
>>>>> /usr/bin/erlc   couch_external_server.erl;
>>>>> /usr/bin/erlc   couch_file.erl;
>>>>> /usr/bin/erlc   couch_httpd.erl;
>>>>> /usr/bin/erlc   couch_httpd_db.erl;
>>>>> /usr/bin/erlc   couch_httpd_auth.erl;
>>>>> /usr/bin/erlc   couch_httpd_oauth.erl;
>>>>> /usr/bin/erlc   couch_httpd_external.erl;
>>>>> /usr/bin/erlc   couch_httpd_show.erl;
>>>>> /usr/bin/erlc   couch_httpd_view.erl;
>>>>> /usr/bin/erlc   couch_httpd_misc_handlers.erl;
>>>>> /usr/bin/erlc   couch_httpd_rewrite.erl;
>>>>> /usr/bin/erlc   couch_httpd_stats_handlers.erl;
>>>>> /usr/bin/erlc   couch_key_tree.erl;
>>>>> /usr/bin/erlc   couch_log.erl;
>>>>> /usr/bin/erlc   couch_native_process.erl;
>>>>> /usr/bin/erlc   couch_os_process.erl;
>>>>> /usr/bin/erlc   couch_query_servers.erl;
>>>>> /usr/bin/erlc   couch_ref_counter.erl;
>>>>> /usr/bin/erlc   couch_rep.erl;
>>>>> /usr/bin/erlc   couch_rep_att.erl;
>>>>> /usr/bin/erlc   couch_rep_changes_feed.erl;
>>>>> /usr/bin/erlc   couch_rep_httpc.erl;
>>>>> /usr/bin/erlc   couch_rep_missing_revs.erl;
>>>>> /usr/bin/erlc   couch_rep_reader.erl;
>>>>> /usr/bin/erlc   couch_rep_sup.erl;
>>>>> /usr/bin/erlc   couch_rep_writer.erl;
>>>>> /usr/bin/erlc   couch_server.erl;
>>>>> /usr/bin/erlc   couch_server_sup.erl;
>>>>> /usr/bin/erlc   couch_stats_aggregator.erl;
>>>>> /usr/bin/erlc   couch_stats_collector.erl;
>>>>> /usr/bin/erlc   couch_stream.erl;
>>>>> /usr/bin/erlc   couch_task_status.erl;
>>>>> /usr/bin/erlc   couch_util.erl;
>>>>> ./couch_util.erl:417: type iodata() undefined
>>>>> ./couch_util.erl:425: type iodata() undefined
>>>>> make[4]: *** [couch_util.beam] Error 1
>>>>> make[4]: Leaving directory `/root/couchdb/couchdb/src/couchdb'
>>>>> make[3]: *** [all-recursive] Error 1
>>>>> make[3]: Leaving directory `/root/couchdb/couchdb/src/couchdb'
>>>>> make[2]: *** [all-recursive] Error 1
>>>>> make[2]: Leaving directory `/root/couchdb/couchdb/src'
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/root/couchdb/couchdb'
>>>>> make: *** [all] Error 2
>>>>> 
>>>>> 
>>>>> *********** system info ***********
>>>>> 
>>>>> Linux XXXXX.com 2.6.27-23-xen #1 SMP Thu Apr 16 14:36:38 UTC 2009 x86_64
>>>>> GNU/Linux
>>>>> Linux version 2.6.27-23-xen (buildd@fermium) (gcc version 4.3.2 (Ubuntu
>>>>> 4.3.2-1ubuntu12) ) #1 SMP Thu Apr 16 14:36:38 UTC 2009
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Filipe David Manana,
>>>> fdmanana@gmail.com
>>>> 
>>>> "Reasonable men adapt themselves to the world.
>>>> Unreasonable men adapt the world to themselves.
>>>> That's why all progress depends on unreasonable men."
>>>> 
>>> 
>>> 
>> 
>> 
>> -- 
>> Filipe David Manana,
>> fdmanana@gmail.com
>> 
>> "Reasonable men adapt themselves to the world.
>> Unreasonable men adapt the world to themselves.
>> That's why all progress depends on unreasonable men."
> 


Mime
View raw message