I'm working on ubuntu. As part of the install scripts for setting up a new machine at work, we build everything in a seperate build directory. With version M4, this worked just fine: mkdir build-qpid cd build-qpid $SRCDIR/qpid-M4/cpp/configure --prefix=$TARGDIR \ --srcdir=SRCDIR/qpid-M4/cpp --disable-warnings make make install
However, now with version 0.5, I get this: mkdir build-qpid cd build-qpid $SRCDIR/qpid-0.5/cpp/configure --prefix=$TARGDIR \ --srcdir=$SRCDIR/qpid-0.5/cpp --disable-warnings make make install I get: configure: error: Neither AMQP specs nor spec-generated code present; cannot build. I've attached my config.log. I certainly just build in place for now, and probably make an exception for this in our script, but it still seems like a bit of a regression that aught to be fixed.
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by qpidc configure 0.5, which was generated by GNU Autoconf 2.61. Invocation command line was $ /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/configure --prefix=/opt/hsw-preq.new --srcdir=/home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp --disable-warnings ## --------- ## ## Platform. ## ## --------- ## hostname = pixie uname -m = x86_64 uname -r = 2.6.27-14-generic uname -s = Linux uname -v = #1 SMP Wed Apr 15 19:29:46 UTC 2009 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2044: checking for a BSD-compatible install configure:2100: result: /usr/bin/install -c configure:2111: checking whether build environment is sane configure:2154: result: yes configure:2182: checking for a thread-safe mkdir -p configure:2221: result: /bin/mkdir -p configure:2234: checking for gawk configure:2250: found /usr/bin/gawk configure:2261: result: gawk configure:2272: checking whether make sets $(MAKE) configure:2293: result: yes configure:2500: checking for style of include used by make configure:2528: result: GNU configure:2598: checking for gcc configure:2614: found /usr/bin/gcc configure:2625: result: gcc configure:2863: checking for C compiler version configure:2870: gcc --version >&5 gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2873: $? = 0 configure:2880: gcc -v >&5 Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) configure:2883: $? = 0 configure:2890: gcc -V >&5 gcc: '-V' option must have argument configure:2893: $? = 1 configure:2916: checking for C compiler default output file name configure:2943: gcc conftest.c >&5 configure:2946: $? = 0 configure:2984: result: a.out configure:3001: checking whether the C compiler works configure:3011: ./a.out configure:3014: $? = 0 configure:3031: result: yes configure:3038: checking whether we are cross compiling configure:3040: result: no configure:3043: checking for suffix of executables configure:3050: gcc -o conftest conftest.c >&5 configure:3053: $? = 0 configure:3077: result: configure:3083: checking for suffix of object files configure:3109: gcc -c conftest.c >&5 configure:3112: $? = 0 configure:3135: result: o configure:3139: checking whether we are using the GNU C compiler configure:3168: gcc -c conftest.c >&5 configure:3174: $? = 0 configure:3191: result: yes configure:3196: checking whether gcc accepts -g configure:3226: gcc -c -g conftest.c >&5 configure:3232: $? = 0 configure:3331: result: yes configure:3348: checking for gcc option to accept ISO C89 configure:3422: gcc -c -g -O2 conftest.c >&5 configure:3428: $? = 0 configure:3451: result: none needed configure:3471: checking dependency style of gcc configure:3562: result: gcc3 configure:3579: checking for gcc option to accept ISO C99 configure:3738: gcc -c -g -O2 conftest.c >&5 conftest.c:60: error: expected ';', ',' or ')' before 'text' conftest.c: In function 'main': conftest.c:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' conftest.c:114: error: 'newvar' undeclared (first use in this function) conftest.c:114: error: (Each undeclared identifier is reported only once conftest.c:114: error: for each function it appears in.) conftest.c:124: error: 'for' loop initial declaration used outside C99 mode configure:3744: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdbool.h> | #include <stdlib.h> | #include <wchar.h> | #include <stdio.h> | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3738: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:3744: $? = 0 configure:3774: result: -std=gnu99 configure:3904: checking for gcc -std=gnu99 option to accept ISO Standard C configure:3915: result: -std=gnu99 configure:3921: checking whether gcc -std=gnu99 and cc understand -c and -o together configure:3956: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5 configure:3959: $? = 0 configure:3965: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5 configure:3968: $? = 0 configure:3979: cc -c conftest.c >&5 configure:3982: $? = 0 configure:3990: cc -c conftest.c -o conftest2.o >&5 configure:3993: $? = 0 configure:3999: cc -c conftest.c -o conftest2.o >&5 configure:4002: $? = 0 configure:4020: result: yes configure:4104: checking for g++ configure:4120: found /usr/bin/g++ configure:4131: result: g++ configure:4162: checking for C++ compiler version configure:4169: g++ --version >&5 g++ (Ubuntu 4.3.2-1ubuntu12) 4.3.2 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4172: $? = 0 configure:4179: g++ -v >&5 Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) configure:4182: $? = 0 configure:4189: g++ -V >&5 g++: '-V' option must have argument configure:4192: $? = 1 configure:4195: checking whether we are using the GNU C++ compiler configure:4224: g++ -c conftest.cpp >&5 configure:4230: $? = 0 configure:4247: result: yes configure:4252: checking whether g++ accepts -g configure:4282: g++ -c -g conftest.cpp >&5 configure:4288: $? = 0 configure:4387: result: yes configure:4412: checking dependency style of g++ configure:4503: result: gcc3 configure:4530: checking how to run the C preprocessor configure:4570: gcc -std=gnu99 -E conftest.c configure:4576: $? = 0 configure:4607: gcc -std=gnu99 -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:4613: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4646: result: gcc -std=gnu99 -E configure:4675: gcc -std=gnu99 -E conftest.c configure:4681: $? = 0 configure:4712: gcc -std=gnu99 -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:4718: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4756: checking for grep that handles long lines and -e configure:4830: result: /bin/grep configure:4835: checking for egrep configure:4913: result: /bin/grep -E configure:4919: checking for AIX configure:4941: result: no configure:4947: checking for ANSI C header files configure:4977: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:4983: $? = 0 configure:5082: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5 configure:5085: $? = 0 configure:5091: ./conftest configure:5094: $? = 0 configure:5111: result: yes configure:5135: checking for sys/types.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for sys/stat.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for stdlib.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for string.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for memory.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for strings.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for inttypes.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for stdint.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5135: checking for unistd.h configure:5156: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5162: $? = 0 configure:5178: result: yes configure:5200: checking minix/config.h usability configure:5217: gcc -std=gnu99 -c -g -O2 conftest.c >&5 conftest.c:54:26: error: minix/config.h: No such file or directory configure:5223: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | #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 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <minix/config.h> configure:5237: result: no configure:5241: checking minix/config.h presence configure:5256: gcc -std=gnu99 -E conftest.c conftest.c:21:26: error: minix/config.h: No such file or directory configure:5262: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | #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 | /* end confdefs.h. */ | #include <minix/config.h> configure:5276: result: no configure:5309: checking for minix/config.h configure:5316: result: no configure:5355: checking whether it is safe to define __EXTENSIONS__ configure:5383: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5389: $? = 0 configure:5404: result: yes configure:5430: checking for help2man configure:5446: found /usr/bin/help2man configure:5457: result: help2man configure:5491: checking for doxygen configure:5507: found /usr/bin/doxygen configure:5518: result: doxygen configure:6419: checking build system type configure:6437: result: x86_64-unknown-linux-gnu configure:6459: checking host system type configure:6474: result: x86_64-unknown-linux-gnu configure:6496: checking for a sed that does not truncate output configure:6575: result: /bin/sed configure:6593: checking for fgrep configure:6671: result: /bin/grep -F configure:6706: checking for ld used by gcc -std=gnu99 configure:6773: result: /usr/bin/ld configure:6782: checking if the linker (/usr/bin/ld) is GNU ld configure:6797: result: yes configure:6809: checking for BSD- or MS-compatible name lister (nm) configure:6858: result: /usr/bin/nm -B configure:6980: checking the name lister (/usr/bin/nm -B) interface configure:6987: g++ -c -g -O2 conftest.cpp >&5 configure:6990: /usr/bin/nm -B "conftest.o" configure:6993: output 0000000000000000 B some_variable configure:7000: result: BSD nm configure:7003: checking whether ln -s works configure:7007: result: yes configure:7015: checking the maximum length of command line arguments configure:7135: result: 1572864 configure:7152: checking whether the shell understands some XSI constructs configure:7162: result: yes configure:7166: checking whether the shell understands "+=" configure:7172: result: yes configure:7207: checking for /usr/bin/ld option to reload object files configure:7214: result: -r configure:7241: checking how to recognize dependent libraries configure:7431: result: pass_all configure:7491: checking for ar configure:7507: found /usr/bin/ar configure:7518: result: ar configure:7600: checking for strip configure:7616: found /usr/bin/strip configure:7627: result: strip configure:7703: checking for ranlib configure:7719: found /usr/bin/ranlib configure:7730: result: ranlib configure:7824: checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object configure:7942: g++ -c -g -O2 conftest.cpp >&5 configure:7945: $? = 0 configure:7949: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:7952: $? = 0 configure:8006: g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 configure:8009: $? = 0 configure:8047: result: ok configure:8142: g++ -c -g -O2 conftest.cpp >&5 configure:8145: $? = 0 configure:8924: checking for dlfcn.h configure:8945: g++ -c -g -O2 conftest.cpp >&5 configure:8951: $? = 0 configure:8967: result: yes configure:9096: checking for C++ compiler version configure:9103: g++ --version >&5 g++ (Ubuntu 4.3.2-1ubuntu12) 4.3.2 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:9106: $? = 0 configure:9113: g++ -v >&5 Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) configure:9116: $? = 0 configure:9123: g++ -V >&5 g++: '-V' option must have argument configure:9126: $? = 1 configure:9129: checking whether we are using the GNU C++ compiler configure:9181: result: yes configure:9186: checking whether g++ accepts -g configure:9321: result: yes configure:9346: checking dependency style of g++ configure:9437: result: gcc3 configure:9460: checking how to run the C++ preprocessor configure:9496: g++ -E conftest.cpp configure:9502: $? = 0 configure:9533: g++ -E conftest.cpp conftest.cpp:25:28: error: ac_nonexistent.h: No such file or directory configure:9539: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | #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 _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:9572: result: g++ -E configure:9601: g++ -E conftest.cpp configure:9607: $? = 0 configure:9638: g++ -E conftest.cpp conftest.cpp:25:28: error: ac_nonexistent.h: No such file or directory configure:9644: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | #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 _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:9825: checking for objdir configure:9840: result: .libs configure:10132: checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions configure:10150: gcc -std=gnu99 -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:10154: $? = 0 configure:10167: result: no configure:10187: checking for gcc -std=gnu99 option to produce PIC configure:10444: result: -fPIC -DPIC configure:10456: checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works configure:10474: gcc -std=gnu99 -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:10478: $? = 0 configure:10491: result: yes configure:10515: checking if gcc -std=gnu99 static flag -static works configure:10543: result: yes configure:10558: checking if gcc -std=gnu99 supports -c -o file.o configure:10579: gcc -std=gnu99 -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:10583: $? = 0 configure:10605: result: yes configure:10613: checking if gcc -std=gnu99 supports -c -o file.o configure:10660: result: yes configure:10693: checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:11748: result: yes configure:11785: checking whether -lc should be explicitly linked in configure:11790: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:11793: $? = 0 configure:11808: gcc -std=gnu99 -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11811: $? = 0 configure:11823: result: no configure:11987: checking dynamic linker characteristics configure:12430: gcc -std=gnu99 -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12436: $? = 0 configure:12678: result: GNU/Linux ld.so configure:12780: checking how to hardcode library paths into programs configure:12805: result: immediate configure:13618: checking whether stripping libraries is possible configure:13623: result: yes configure:13658: checking if libtool supports shared libraries configure:13660: result: yes configure:13663: checking whether to build shared libraries configure:13684: result: yes configure:13687: checking whether to build static libraries configure:13691: result: no configure:13841: checking for ld used by g++ configure:13908: result: /usr/bin/ld -m elf_x86_64 configure:13917: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:13932: result: yes configure:13987: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14949: result: yes configure:14977: g++ -c -g -O2 conftest.cpp >&5 configure:14980: $? = 0 configure:15162: checking for g++ option to produce PIC configure:15471: result: -fPIC -DPIC configure:15480: checking if g++ PIC flag -fPIC -DPIC works configure:15498: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:15502: $? = 0 configure:15515: result: yes configure:15536: checking if g++ static flag -static works configure:15564: result: yes configure:15576: checking if g++ supports -c -o file.o configure:15597: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:15601: $? = 0 configure:15623: result: yes configure:15628: checking if g++ supports -c -o file.o configure:15675: result: yes configure:15705: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:15734: result: yes configure:15871: checking dynamic linker characteristics configure:16262: g++ -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.cpp >&5 configure:16268: $? = 0 configure:16510: result: GNU/Linux ld.so configure:16561: checking how to hardcode library paths into programs configure:16586: result: immediate configure:16649: checking for library containing dlopen configure:16690: g++ -o conftest -g -O2 conftest.cpp >&5 /tmp/ccKn5rYN.o: In function `main': /home/jdboyd/work/pretest/build-qpid/conftest.cpp:37: undefined reference to `dlopen' collect2: ld returned 1 exit status configure:16696: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | #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 _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char dlopen (); | int | main () | { | return dlopen (); | ; | return 0; | } configure:16690: g++ -o conftest -g -O2 conftest.cpp -ldl >&5 configure:16696: $? = 0 configure:16724: result: -ldl configure:16754: checking for library containing clock_gettime configure:16795: g++ -o conftest -g -O2 conftest.cpp >&5 /tmp/ccsXiB8a.o: In function `main': /home/jdboyd/work/pretest/build-qpid/conftest.cpp:37: undefined reference to `clock_gettime' collect2: ld returned 1 exit status configure:16801: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qpidc" | #define PACKAGE_TARNAME "qpidc" | #define PACKAGE_VERSION "0.5" | #define PACKAGE_STRING "qpidc 0.5" | #define PACKAGE_BUGREPORT "d...@qpid.apache.org" | #define PACKAGE "qpidc" | #define VERSION "0.5" | #define _GNU_SOURCE 1 | #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 _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char clock_gettime (); | int | main () | { | return clock_gettime (); | ; | return 0; | } configure:16795: g++ -o conftest -g -O2 conftest.cpp -lrt >&5 configure:16801: $? = 0 configure:16829: result: -lrt configure:16844: checking for clock_gettime configure:16900: g++ -o conftest -g -O2 conftest.cpp -lrt >&5 configure:16906: $? = 0 configure:16924: result: yes configure:16844: checking for clock_settime configure:16900: g++ -o conftest -g -O2 conftest.cpp -lrt >&5 configure:16906: $? = 0 configure:16924: result: yes configure:16957: checking for valgrind configure:16973: found /usr/bin/valgrind configure:16984: result: valgrind configure:16997: checking for rpmlint configure:17027: result: no configure:17047: checking for ruby configure:17063: found /usr/bin/ruby configure:17074: result: ruby configure:17089: error: Neither AMQP specs nor spec-generated code present; cannot build. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_clock_gettime=yes ac_cv_func_clock_settime=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -std=gnu99 -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_DOXYGEN=doxygen ac_cv_prog_HELP2MAN=help2man ac_cv_prog_RUBY=ruby ac_cv_prog_VALGRIND=valgrind ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=-std=gnu99 ac_cv_prog_cc_g=yes ac_cv_prog_cc_gcc_c_o=yes ac_cv_prog_cc_stdc=-std=gnu99 ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_clock_gettime=-lrt ac_cv_search_dlopen=-ldl am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/nm -B' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMQP_FINAL_XML='/home/jdboyd/work/pretest/build-qpid//home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/../specs/amqp.0-10-qpid-errata.xml' AMTAR='${SHELL} /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/missing --run autoconf' AUTOHEADER='${SHELL} /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/missing --run autoheader' AUTOMAKE='${SHELL} /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/missing --run automake-1.10' AWK='gawk' CC='gcc -std=gnu99' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' COMPILER_FLAGS='' CPP='gcc -std=gnu99 -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DOWNLOAD_URL='' DOXYGEN='doxygen' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GENERATE_FALSE='' GENERATE_TRUE='' GREP='/bin/grep' HAS_RPMLINT_FALSE='' HAS_RPMLINT_TRUE='#' HAVE_DOXYGEN_FALSE='#' HAVE_DOXYGEN_TRUE='' HAVE_ECF_FALSE='' HAVE_ECF_TRUE='' HAVE_EPOLL_FALSE='' HAVE_EPOLL_TRUE='' HAVE_HELP2MAN_FALSE='#' HAVE_HELP2MAN_TRUE='' HAVE_LIBCMAN_FALSE='' HAVE_LIBCMAN_TRUE='' HAVE_LIBCPG_FALSE='' HAVE_LIBCPG_TRUE='' HAVE_SASL_FALSE='' HAVE_SASL_TRUE='' HAVE_XML_FALSE='' HAVE_XML_TRUE='' HELP2MAN='help2man' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOL_DEPS='/home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/ltmain.sh' LIBTOOL_VERSION_INFO_ARG='1:0:1' LIB_ACL='' LIB_CLOCK_GETTIME='-lrt' LIB_DLOPEN='-ldl' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/missing --run makeinfo' NM='/usr/bin/nm -B' NMEDIT='' NSPR_CONFIG='' NSS_CONFIG='' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='qpidc' PACKAGE_BUGREPORT='d...@qpid.apache.org' PACKAGE_NAME='qpidc' PACKAGE_STRING='qpidc 0.5' PACKAGE_TARNAME='qpidc' PACKAGE_VERSION='0.5' PATH_SEPARATOR=':' PYTHON='' PYTHON_EXEC_PREFIX='' PYTHON_PLATFORM='' PYTHON_PREFIX='' PYTHON_VERSION='' RANLIB='ranlib' RDMA_FALSE='' RDMA_TRUE='' RPMLINT='' RUBY='ruby' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SOCKLIBS='' SSL_CFLAGS='' SSL_FALSE='' SSL_LDFLAGS='' SSL_TRUE='' STRIP='strip' SUNCC_RUNTIME_LIBS='' SUNOS_FALSE='' SUNOS_TRUE='' URL='' VALGRIND='valgrind' VERSION='0.5' WARNING_CFLAGS='' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /home/jdboyd/work/pretest/src.3rdparty/qpid-0.5/cpp/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' pkgpyexecdir='' pkgpythondir='' prefix='/opt/hsw-preq.new' program_transform_name='s,x,x,' psdir='${docdir}' pyexecdir='' pythondir='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "qpidc" #define PACKAGE_TARNAME "qpidc" #define PACKAGE_VERSION "0.5" #define PACKAGE_STRING "qpidc 0.5" #define PACKAGE_BUGREPORT "d...@qpid.apache.org" #define PACKAGE "qpidc" #define VERSION "0.5" #define _GNU_SOURCE 1 #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 _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_SETTIME 1 configure: exit 1
--------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscr...@qpid.apache.org