incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1696) Support Erlang/OTP R16B
Date Tue, 19 Mar 2013 10:29:17 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606208#comment-13606208
] 

Dave Cottlehuber commented on COUCHDB-1696:
-------------------------------------------

So aside from a homebrew error:

    when checking that we found a C++ compiler... no
    configure: error: A C++ compiler is required.

Mochiweb itself compiles & runs fine with the 3 patches in that branch.

What's remaining?

- sort out the configure error -- see below.
- handle the timezone issues for < R15B03 (ref COUCHDB-627), I haven't sorted out how to
bring across Bob's earlier patches yet. 

There's a mac homebrew recipe at https://gist.github.com/dch/4657643/ for those who want to
take a look.


-- CONFIGURE SCRIPT ERROR --

configure:4886: checking for gcc
configure:4913: result: cc
configure:5142: checking for C compiler version
configure:5151: cc --version >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
configure:5162: $? = 0
configure:5151: cc -v >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
clang: warning: argument unused during compilation: '-I /usr/local/opt/readline/include'
clang: warning: argument unused during compilation: '-I /usr/local/opt/icu4c/include'
clang: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
clang: warning: argument unused during compilation: '-L/usr/local/opt/icu4c/lib'
... rest of stderr output deleted ...
configure:5162: $? = 0
configure:5151: cc -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
clang: error: no input files
configure:5162: $? = 1
configure:5151: cc -qversion >&5
clang: error: no input files
configure:5162: $? = 1
configure:5166: checking whether we are using the GNU C compiler
configure:5194: result: yes
configure:5203: checking whether cc accepts -g
configure:5264: result: yes
configure:5281: checking for cc option to accept ISO C89
configure:5357: result: none needed
configure:5379: checking dependency style of cc
configure:5490: result: gcc3
configure:5534: checking build system type
configure:5548: result: x86_64-apple-darwin12.2.0
configure:5568: checking host system type
configure:5581: result: x86_64-apple-darwin12.2.0
configure:5622: checking how to print strings
configure:5649: result: printf
configure:5670: checking for a sed that does not truncate output
configure:5734: result: /usr/local/Library/ENV/4.3/sed
configure:5752: checking for fgrep
configure:5814: result: /usr/bin/grep -F
configure:5849: checking for ld used by cc
configure:5916: result: /usr/bin/ld
configure:5923: checking if the linker (/usr/bin/ld) is GNU ld
configure:5938: result: no
configure:5950: checking for BSD- or MS-compatible name lister (nm)
configure:5999: result: /usr/bin/nm
configure:6129: checking the name lister (/usr/bin/nm) interface
configure:6136: cc -c -g -O2  conftest.c >&5
configure:6139: /usr/bin/nm "conftest.o"
configure:6142: output
00000000000001f8 S _some_variable
configure:6149: result: BSD nm
configure:6152: checking whether ln -s works
configure:6156: result: yes
configure:6164: checking the maximum length of command line arguments
configure:6294: result: 196608
configure:6311: checking whether the shell understands some XSI constructs
configure:6321: result: yes
configure:6325: checking whether the shell understands "+="
configure:6331: result: yes
configure:6366: checking how to convert x86_64-apple-darwin12.2.0 file names to x86_64-apple-darwin12.2.0
format
configure:6406: result: func_convert_file_noop
configure:6413: checking how to convert x86_64-apple-darwin12.2.0 file names to toolchain
format
configure:6433: result: func_convert_file_noop
configure:6440: checking for /usr/bin/ld option to reload object files
configure:6447: result: -r
configure:6521: checking for objdump
configure:6551: result: no
configure:6577: checking how to recognize dependent libraries
configure:6779: result: pass_all
configure:6864: checking for dlltool
configure:6894: result: no
configure:6921: checking how to associate runtime and link libraries
configure:6948: result: printf %s\n
configure:7008: checking for ar
configure:7024: found /usr/bin/ar
configure:7035: result: ar
configure:7072: checking for archiver @FILE support
configure:7089: cc -c -g -O2  conftest.c >&5
configure:7089: $? = 0
configure:7092: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:7095: $? = 1
configure:7115: result: no
configure:7173: checking for strip
configure:7189: found /usr/bin/strip
configure:7200: result: strip
configure:7272: checking for ranlib
configure:7288: found /usr/bin/ranlib
configure:7299: result: ranlib
configure:7401: checking command to parse /usr/bin/nm output from cc object
configure:7521: cc -c -g -O2  conftest.c >&5
configure:7524: $? = 0
configure:7528: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7531: $? = 0
cannot find nm_test_var in conftest.nm
configure:7521: cc -c -g -O2  conftest.c >&5
configure:7524: $? = 0
configure:7528: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][
]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7531: $? = 0
configure:7597: cc -o conftest -g -O2  -L/usr/local/lib conftest.c conftstm.o >&5
configure:7600: $? = 0
configure:7638: result: ok
configure:7675: checking for sysroot
configure:7705: result: no
configure:7961: checking for mt
configure:7991: result: no
configure:8011: checking if : is a manifest tool
configure:8017: : '-?'
configure:8025: result: no
configure:8081: checking for dsymutil
configure:8097: found /usr/bin/dsymutil
configure:8108: result: dsymutil
configure:8173: checking for nmedit
configure:8189: found /usr/bin/nmedit
configure:8200: result: nmedit
configure:8265: checking for lipo
configure:8281: found /usr/bin/lipo
configure:8292: result: lipo
configure:8357: checking for otool
configure:8373: found /usr/bin/otool
configure:8384: result: otool
configure:8449: checking for otool64
configure:8479: result: no
configure:8524: checking for -single_module linker flag
cc -g -O2 -L/usr/local/lib -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:8557: result: yes
configure:8560: checking for -exported_symbols_list linker flag
configure:8580: cc -o conftest -g -O2  -L/usr/local/lib -Wl,-exported_symbols_list,conftest.sym
conftest.c  >&5
configure:8580: $? = 0
configure:8590: result: yes
configure:8593: checking for -force_load linker flag
cc -g -O2 -c -o conftest.o conftest.c
ar cru libconftest.a conftest.o
ranlib libconftest.a
cc -g -O2 -L/usr/local/lib -o conftest conftest.c -Wl,-force_load,./libconftest.a
configure:8625: result: yes
configure:8664: checking for dlfcn.h
configure:8664: cc -c -g -O2  conftest.c >&5
configure:8664: $? = 0
configure:8664: result: yes
configure:9108: checking for objdir
configure:9123: result: .libs
configure:9394: checking if cc supports -fno-rtti -fno-exceptions
configure:9412: cc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
configure:9416: $? = 0
configure:9429: result: yes
configure:9756: checking for cc option to produce PIC
configure:9763: result: -fno-common -DPIC
configure:9771: checking if cc PIC flag -fno-common -DPIC works
configure:9789: cc -c -g -O2  -fno-common -DPIC -DPIC conftest.c >&5
configure:9793: $? = 0
configure:9806: result: yes
configure:9835: checking if cc static flag -static works
configure:9863: result: no
configure:9878: checking if cc supports -c -o file.o
configure:9899: cc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:9903: $? = 0
configure:9925: result: yes
configure:9933: checking if cc supports -c -o file.o
configure:9980: result: yes
configure:10013: checking whether the cc linker (/usr/bin/ld) supports shared libraries
configure:11166: result: yes
configure:11406: checking dynamic linker characteristics
configure:12139: result: darwin12.2.0 dyld
configure:12246: checking how to hardcode library paths into programs
configure:12271: result: immediate
configure:12811: checking whether stripping libraries is possible
configure:12825: result: yes
configure:12851: checking if libtool supports shared libraries
configure:12853: result: yes
configure:12856: checking whether to build shared libraries
configure:12877: result: yes
configure:12880: checking whether to build static libraries
configure:12884: result: no
configure:12922: checking whether ln -s works
configure:12926: result: yes
configure:12988: checking for pkg-config
configure:13006: found /usr/local/opt/pkg-config/bin/pkg-config
configure:13018: result: /usr/local/opt/pkg-config/bin/pkg-config
configure:13043: checking pkg-config is at least version 0.9.0
configure:13046: result: yes
configure:13171: checking for C++ compiler version
configure:13180: c++ --version >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
configure:13191: $? = 0
configure:13180: c++ -v >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
clang: warning: argument unused during compilation: '-I /usr/local/opt/readline/include'
clang: warning: argument unused during compilation: '-I /usr/local/opt/icu4c/include'
clang: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
clang: warning: argument unused during compilation: '-L/usr/local/opt/icu4c/lib'
... rest of stderr output deleted ...
configure:13191: $? = 0
configure:13180: c++ -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
clang: error: no input files
configure:13191: $? = 1
configure:13180: c++ -qversion >&5
clang: error: no input files
configure:13191: $? = 1
configure:13195: checking whether we are using the GNU C++ compiler
configure:13214: c++ -c   conftest.cpp >&5
configure:13214: $? = 0
configure:13223: result: yes
configure:13232: checking whether c++ accepts -g
configure:13252: c++ -c -g  conftest.cpp >&5
configure:13252: $? = 0
configure:13293: result: yes
configure:13318: checking dependency style of c++
configure:13429: result: gcc3
configure:13462: checking how to run the C++ preprocessor
configure:13489: c++ -E  conftest.cpp
configure:13489: $? = 0
configure:13503: c++ -E  conftest.cpp
conftest.cpp:28:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:13503: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "Apache CouchDB 1.3.0"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.3.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:13528: result: c++ -E
configure:13548: c++ -E  conftest.cpp
configure:13548: $? = 0
configure:13562: c++ -E  conftest.cpp
conftest.cpp:28:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:13562: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "Apache CouchDB 1.3.0"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.3.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:13731: checking for ld used by c++
configure:13798: result: /usr/bin/ld
configure:13805: checking if the linker (/usr/bin/ld) is GNU ld
configure:13820: result: no
configure:13875: checking whether the c++ linker (/usr/bin/ld) supports shared libraries
configure:14880: result: yes
configure:14916: c++ -c -g -O2  conftest.cpp >&5
configure:14919: $? = 0
configure:15439: checking for c++ option to produce PIC
configure:15446: result: -fno-common -DPIC
configure:15454: checking if c++ PIC flag -fno-common -DPIC works
configure:15472: c++ -c -g -O2  -fno-common -DPIC -DPIC conftest.cpp >&5
configure:15476: $? = 0
configure:15489: result: yes
configure:15512: checking if c++ static flag -static works
configure:15540: result: no
configure:15552: checking if c++ supports -c -o file.o
configure:15573: c++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
configure:15577: $? = 0
configure:15599: result: yes
configure:15604: checking if c++ supports -c -o file.o
configure:15651: result: yes
configure:15681: checking whether the c++ linker (/usr/bin/ld) supports shared libraries
configure:15717: result: yes
configure:15858: checking dynamic linker characteristics
configure:16525: result: darwin12.2.0 dyld
configure:16578: checking how to hardcode library paths into programs
configure:16603: result: immediate
configure:16643: checking that we found a C++ compiler
configure:16649: result: no
configure:16651: error: A C++ compiler is required.


                
> Support Erlang/OTP R16B
> -----------------------
>
>                 Key: COUCHDB-1696
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1696
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Klaus Trainer
>            Assignee: Dave Cottlehuber
>            Priority: Blocker
>             Fix For: 1.3
>
>
> When trying to build e.g. 1.3.0-rc.1 or current master with Erlang/OTP R16B, one gets
the following compile error:
> mochifmt_records.erl:12: parameterized modules are no longer supported
> mochifmt_records.erl:19: variable 'Recs' is unbound
> R16B should definitively be supported in the next release. The fix could be as simple
as upgrading mochiweb, as the recently released mochiweb v2.4.2 is R16B-compatible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message