Skip to content

Instantly share code, notes, and snippets.

@sgonyea
Created October 26, 2010 16:29
Show Gist options
  • Save sgonyea/647234 to your computer and use it in GitHub Desktop.
Save sgonyea/647234 to your computer and use it in GitHub Desktop.
ubuntu@ip-10-162-30-26:~/pabst/ext$ gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -fexceptions -fconstant-string-class=OFConstantString -I/usr/local/include -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -fexceptions -fconstant-string-class=OFConstantString -o ObjFW+RubyValue.o -c ObjFW+RubyValue.m -fobjc-exceptions
ObjFW+RubyValue.m: In function ‘-[OFDictionary(RubyValue) toRuby]’:
ObjFW+RubyValue.m:66: error: expected expression before ‘^’ token
ObjFW+RubyValue.m:81: warning: ‘OFDictionary’ may not respond to ‘-enumerateKeysAndObjectsUsingBlock:’
ObjFW+RubyValue.m:81: warning: (Messages without a matching method signature
ObjFW+RubyValue.m:81: warning: will be assumed to return ‘id’ and accept
ObjFW+RubyValue.m:81: warning: ‘...’ as arguments.)
ObjFW+RubyValue.m: In function ‘-[OFDictionary(RubyValue) toRubyWithSymbolicKeys]’:
ObjFW+RubyValue.m:90: error: expected expression before ‘^’ token
ObjFW+RubyValue.m:107: warning: ‘OFDictionary’ may not respond to ‘-enumerateKeysAndObjectsUsingBlock:’
ubuntu@ip-10-162-30-26:~/pabst/ext$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -fexceptions -fconstant-string-class=OFConstantString -I/usr/local/include -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -fexceptions -fconstant-string-class=OFConstantString -o rb_pabst.o -c rb_pabst.m
g++ -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -fexceptions -fconstant-string-class=OFConstantString -I/usr/local/include -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -fexceptions -fconstant-string-class=OFConstantString -o riakclient.pb.o -c riakclient.pb.mm
g++ -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -fexceptions -fconstant-string-class=OFConstantString -I/usr/local/include -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -fexceptions -fconstant-string-class=OFConstantString -o RiakProtobuf.o -c RiakProtobuf.mm
In file included from /usr/local/include/ObjFW/ObjFW.h:50,
from RiakProtobuf.h:7,
from RiakProtobuf.mm:9:
/usr/local/include/ObjFW/macros.h: In function ‘uint16_t OF_BSWAP16_CONST(uint16_t)’:
/usr/local/include/ObjFW/macros.h:59: error: ‘UINT16_C’ was not declared in this scope
/usr/local/include/ObjFW/macros.h: In function ‘uint32_t OF_BSWAP32_CONST(uint32_t)’:
/usr/local/include/ObjFW/macros.h:66: error: ‘UINT32_C’ was not declared in this scope
/usr/local/include/ObjFW/macros.h: In function ‘uint64_t OF_BSWAP64_CONST(uint64_t)’:
/usr/local/include/ObjFW/macros.h:75: error: ‘UINT64_C’ was not declared in this scope
RiakProtobuf.mm: In function ‘objc_object* _i_RiakProtobuf__init(RiakProtobuf*, const objc_selector*)’:
RiakProtobuf.mm:17: error: invalid conversion from ‘objc_object*’ to ‘int’
RiakProtobuf.mm: In function ‘void _i_RiakProtobuf__sendEmptyRequestCode_(RiakProtobuf*, const objc_selector*, uint8_t)’:
RiakProtobuf.mm:63: warning: ‘OFTCPSocket’ may not respond to ‘-bufferWrites’
RiakProtobuf.mm:63: warning: (Messages without a matching method signature
RiakProtobuf.mm:63: warning: will be assumed to return ‘id’ and accept
RiakProtobuf.mm:63: warning: ‘...’ as arguments.)
RiakProtobuf.mm: In function ‘void _i_RiakProtobuf__sendMessageWithLength_message_messageCode_(RiakProtobuf*, const objc_selector*, OFNumber*, char*, OFNumber*)’:
RiakProtobuf.mm:83: warning: ‘OFTCPSocket’ may not respond to ‘-bufferWrites’
RiakProtobuf.mm: In function ‘BOOL _i_RiakProtobuf__pingRiak(RiakProtobuf*, const objc_selector*)’:
RiakProtobuf.mm:102: error: cannot convert ‘objc_object*’ to ‘google::protobuf::Message*’ in argument passing
RiakProtobuf.mm: In function ‘BOOL _i_RiakProtobuf__deleteKey_fromBucket_replicas_(RiakProtobuf*, const objc_selector*, OFString*, OFString*, int)’:
RiakProtobuf.mm:252: error: cannot convert ‘objc_object*’ to ‘google::protobuf::Message*’ in argument passing
RiakProtobuf.mm: In function ‘BOOL _i_RiakProtobuf__setForBucket_nVal_allowMult_(RiakProtobuf*, const objc_selector*, OFString*, uint32_t, BOOL)’:
RiakProtobuf.mm:360: error: cannot convert ‘objc_object*’ to ‘google::protobuf::Message*’ in argument passing
make: *** [RiakProtobuf.o] Error 1
ubuntu@ip-10-162-30-26:~/ObjFW-cb057ad43b2c$ ./configure OBJC=clang
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether the Objective C compiler works... yes
checking for Objective C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU Objective C compiler... yes
checking whether clang accepts -g... yes
checking how to run the Objective C preprocessor... clang -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether Objective C compiler accepts -pipe... yes
checking whether Objective C compiler accepts -fno-common... yes
checking whether Objective C compiler accepts -fno-constant-cfstrings... yes
checking whether Objective C compiler supports fast enumeration... no
checking whether Objective C compiler supports properties... no
checking whether Objective C compiler supports blocks... yes
checking for _Block_copy... no
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 objfw-rt.h usability... no
checking objfw-rt.h presence... no
checking for objfw-rt.h... no
checking objc/objc.h usability... no
checking objc/objc.h presence... no
checking for objc/objc.h... no
checking which Objective C runtime we use... none
configure: error: No ObjC runtime found! Please install ObjFW-RT!
ubuntu@ip-10-162-30-26:~/ObjFW-cb057ad43b2c$
ubuntu@ip-10-162-30-26:~/ObjFW-10ca67eb015c$ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ObjFW configure 0.4-dev, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure OBJC=clang
## --------- ##
## Platform. ##
## --------- ##
hostname = ip-10-162-30-26
uname -m = x86_64
uname -r = 2.6.32-308-ec2
uname -s = Linux
uname -v = #15-Ubuntu SMP Thu Aug 19 04:03:34 UTC 2010
/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:2170: checking build system type
configure:2184: result: x86_64-unknown-linux-gnu
configure:2204: checking host system type
configure:2217: result: x86_64-unknown-linux-gnu
configure:2350: checking for Objective C compiler version
configure:2359: clang --version >&5
clang version 1.1 (branches/release_27)
Target: x86_64-pc-linux-gnu
Thread model: posix
configure:2370: $? = 0
configure:2359: clang -v >&5
clang version 1.1 (branches/release_27)
Target: x86_64-pc-linux-gnu
Thread model: posix
configure:2370: $? = 0
configure:2359: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2370: $? = 1
configure:2359: clang -qversion >&5
clang: error: no input files
configure:2370: $? = 1
configure:2390: checking whether the Objective C compiler works
configure:2412: clang conftest.m >&5
configure:2416: $? = 0
configure:2465: result: yes
configure:2468: checking for Objective C compiler default output file name
configure:2470: result: a.out
configure:2476: checking for suffix of executables
configure:2483: clang -o conftest conftest.m >&5
configure:2487: $? = 0
configure:2509: result:
configure:2531: checking whether we are cross compiling
configure:2539: clang -o conftest conftest.m >&5
configure:2543: $? = 0
configure:2550: ./conftest
configure:2554: $? = 0
configure:2569: result: no
configure:2574: checking for suffix of object files
configure:2596: clang -c conftest.m >&5
configure:2600: $? = 0
configure:2621: result: o
configure:2625: checking whether we are using the GNU Objective C compiler
configure:2644: clang -c conftest.m >&5
configure:2644: $? = 0
configure:2653: result: yes
configure:2662: checking whether clang accepts -g
configure:2682: clang -c -g conftest.m >&5
configure:2682: $? = 0
configure:2723: result: yes
configure:2751: checking how to run the Objective C preprocessor
configure:2778: clang -E conftest.m
configure:2778: $? = 0
configure:2792: clang -E conftest.m
conftest.m:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 diagnostic generated.
configure:2792: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2817: result: clang -E
configure:2837: clang -E conftest.m
configure:2837: $? = 0
configure:2851: clang -E conftest.m
conftest.m:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 diagnostic generated.
configure:2851: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2879: checking whether ln -s works
configure:2883: result: yes
configure:2904: checking for a BSD-compatible install
configure:2972: result: /usr/bin/install -c
configure:2983: checking for grep that handles long lines and -e
configure:3041: result: /bin/grep
configure:3046: checking for egrep
configure:3108: result: /bin/grep -E
configure:3120: checking whether Objective C compiler accepts -pipe
configure:3139: clang -c -pipe conftest.m >&5
configure:3139: $? = 0
configure:3149: result: yes
configure:3157: checking whether Objective C compiler accepts -fno-common
configure:3176: clang -c -fno-common conftest.m >&5
configure:3176: $? = 0
configure:3186: result: yes
configure:3194: checking whether Objective C compiler accepts -fno-constant-cfstrings
configure:3213: clang -c -fno-constant-cfstrings conftest.m >&5
configure:3213: $? = 0
configure:3223: result: yes
configure:3235: checking whether Objective C compiler supports fast enumeration
configure:3259: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings conftest.m >&5
conftest.m:10:10: fatal error: 'objc/objc.h' file not found
#import <objc/objc.h>
^
1 diagnostic generated.
configure:3259: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| #import <objc/objc.h>
|
| @protocol OFFastEnumeration
| - (int)countByEnumeratingWithState: (void*)state
| objects: (id*)objects
| count: (int)count;
| @end
|
| int
| main ()
| {
|
| id n = nil;
| for (id i in n);
|
| ;
| return 0;
| }
configure:3268: result: no
configure:3273: checking whether Objective C compiler supports properties
configure:3300: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings conftest.m >&5
conftest.m:10:10: fatal error: 'objc/objc.h' file not found
#import <objc/objc.h>
^
1 diagnostic generated.
configure:3300: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| #import <objc/objc.h>
|
| @interface Foo
| {
| id bar;
| }
|
| @property (retain, nonatomic) id bar;
| @end
|
| int
| main ()
| {
|
| Foo *foo = nil;
| [foo setBar: nil];
| [foo bar];
|
| ;
| return 0;
| }
configure:3311: result: no
configure:3316: checking whether Objective C compiler supports blocks
configure:3334: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3334: $? = 0
configure:3341: result: yes
configure:3352: checking for _Block_copy
configure:3352: clang -o conftest -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
/tmp/cc-qRTFDy.o: In function `main':
/home/ubuntu/ObjFW-10ca67eb015c/conftest.m:44: undefined reference to `_Block_copy'
collect2: ld returned 1 exit status
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3352: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| #define OF_HAVE_BLOCKS 1
| /* end confdefs.h. */
| /* Define _Block_copy to an innocuous variant, in case <limits.h> declares _Block_copy.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _Block_copy innocuous__Block_copy
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _Block_copy (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _Block_copy
|
| /* 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 _Block_copy ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub__Block_copy || defined __stub____Block_copy
| choke me
| #endif
|
| int
| main ()
| {
| return _Block_copy ();
| ;
| return 0;
| }
configure:3352: result: no
configure:3362: checking for ANSI C header files
configure:3382: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3382: $? = 0
configure:3455: clang -o conftest -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3455: $? = 0
configure:3455: ./conftest
configure:3455: $? = 0
configure:3466: result: yes
configure:3479: checking for sys/types.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for sys/stat.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for stdlib.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for string.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for memory.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for strings.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for inttypes.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for stdint.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3479: checking for unistd.h
configure:3479: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
configure:3479: $? = 0
configure:3479: result: yes
configure:3495: checking objfw-rt.h usability
configure:3495: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
conftest.m:53:10: fatal error: 'objfw-rt.h' file not found
#include <objfw-rt.h>
^
1 diagnostic generated.
configure:3495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| #define OF_HAVE_BLOCKS 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 <objfw-rt.h>
configure:3495: result: no
configure:3495: checking objfw-rt.h presence
configure:3495: clang -E conftest.m
conftest.m:20:10: fatal error: 'objfw-rt.h' file not found
#include <objfw-rt.h>
^
1 diagnostic generated.
configure:3495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| #define OF_HAVE_BLOCKS 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 <objfw-rt.h>
configure:3495: result: no
configure:3495: checking for objfw-rt.h
configure:3495: result: no
configure:3495: checking objc/objc.h usability
configure:3495: clang -c -g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks conftest.m >&5
conftest.m:53:10: fatal error: 'objc/objc.h' file not found
#include <objc/objc.h>
^
1 diagnostic generated.
configure:3495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| #define OF_HAVE_BLOCKS 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 <objc/objc.h>
configure:3495: result: no
configure:3495: checking objc/objc.h presence
configure:3495: clang -E conftest.m
conftest.m:20:10: fatal error: 'objc/objc.h' file not found
#include <objc/objc.h>
^
1 diagnostic generated.
configure:3495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ObjFW"
| #define PACKAGE_TARNAME "objfw"
| #define PACKAGE_VERSION "0.4-dev"
| #define PACKAGE_STRING "ObjFW 0.4-dev"
| #define PACKAGE_BUGREPORT "js@webkeks.org"
| #define PACKAGE_URL ""
| #define OF_HAVE_BLOCKS 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 <objc/objc.h>
configure:3495: result: no
configure:3495: checking for objc/objc.h
configure:3495: result: no
configure:3529: checking which Objective C runtime we use
configure:3554: result: none
configure:3556: error: No ObjC runtime found! Please install ObjFW-RT!
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJCPP_set=
ac_cv_env_OBJCPP_value=
ac_cv_env_OBJC_set=set
ac_cv_env_OBJC_value=clang
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__Block_copy=no
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_objc_objc_h=no
ac_cv_header_objfw_rt_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_objc_compiler_gnu=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_OBJCPP='clang -E'
ac_cv_prog_objc_g=yes
ax_cv_objc_flags__fno_common=yes
ax_cv_objc_flags__fno_constant_cfstrings=yes
ax_cv_objc_flags__pipe=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
ASPRINTF_DEF=''
ASPRINTF_M=''
ATOMIC_H=''
BIN_PREFIX=''
BLOCKS_FLAGS='-fblocks'
CLEAN_LIB=''
CPP='clang -E'
CPPFLAGS=' '
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENDIANESS_DEF=''
EXEEXT=''
GNU_RUNTIME=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LIB=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LDFLAGS_REEXPORT=''
LDFLAGS_RPATH=''
LIBOBJS=''
LIBS=''
LIB_CFLAGS=''
LIB_LDFLAGS=''
LIB_PREFIX=''
LIB_SUFFIX=''
LN_S='ln -s'
LTLIBOBJS=''
NO_CONST_CFSTRINGS='-fno-constant-cfstrings'
NO_WARN_UNUSED=''
OBJC='clang'
OBJCFLAGS='-g -O2 -Wall -fexceptions -fconstant-string-class=OFConstantString -pipe -fno-common -fno-constant-cfstrings -fblocks'
OBJCPP='clang -E'
OBJC_PROPERTIES_M=''
OBJC_SYNC_M=''
OBJEXT='o'
OBJFW_SHARED_LIB=''
OBJFW_STATIC_LIB=''
OFBLOCK_M='OFBlock.m'
OFPLUGINS_DEF=''
OFPLUGINTESTS_M=''
OFPLUGIN_M=''
OFTHREADTESTS_M=''
OFTHREAD_M=''
PACKAGE=''
PACKAGE_BUGREPORT='js@webkeks.org'
PACKAGE_NAME='ObjFW'
PACKAGE_STRING='ObjFW 0.4-dev'
PACKAGE_TARNAME='objfw'
PACKAGE_URL=''
PACKAGE_VERSION='0.4-dev'
PATH_SEPARATOR=':'
PLUGIN_CFLAGS=''
PLUGIN_LDFLAGS=''
PLUGIN_SUFFIX=''
PROPERTIESTESTS_M=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
REEXPORT_LIBOBJC=''
SHELL='/bin/bash'
TERM_BOLD=''
TERM_EL=''
TERM_SETAF1=''
TERM_SETAF2=''
TERM_SETAF3=''
TERM_SETAF4=''
TERM_SETAF6=''
TERM_SGR0=''
TESTPLUGIN=''
TESTS=''
TEST_LAUNCHER=''
THREADING_H=''
TPUT=''
UNINSTALL_LIB=''
WINE=''
ac_ct_OBJC=''
acx_pthread_config=''
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'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "ObjFW"
#define PACKAGE_TARNAME "objfw"
#define PACKAGE_VERSION "0.4-dev"
#define PACKAGE_STRING "ObjFW 0.4-dev"
#define PACKAGE_BUGREPORT "js@webkeks.org"
#define PACKAGE_URL ""
#define OF_HAVE_BLOCKS 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
configure: exit 1
ubuntu@ip-10-162-30-26:~/ObjFW-10ca67eb015c$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment