cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compile curl 7.33 under xCode 5.1 iOS SDK 7.1

From: Daniel Johnson <daniel.johnson31_at_gmail.com>
Date: Thu, 13 Mar 2014 13:45:02 -0400

On Mar 12, 2014, at 4:05 PM, Elio Francesconi <elio.francesconi_at_gmail.com> wrote:

> Yes obviously socket support is present in iOS SDK 7.1, I’ve checked :-)
>
> I noticed this:
> checking if socket can be linked... yes
> checking if socket is prototyped... no
> checking if socket might be used… no
>
> or this:
>
> checking sys/time.h presence... no
> configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: sys/time.h: proceeding with the compiler's result
>
> In my humble opinion it seems preprocessor iOS is using is not compliant with curl config file.
>
> Below I’ve added the complete log:
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether to enable debug build options... no
> checking whether to enable compiler optimizer... (assumed) yes
> checking whether to enable strict compiler warnings... no
> checking whether to enable compiler warnings as errors... no
> checking whether to enable curl debug memory tracking... no
> checking whether to enable hiding of library internal symbols... yes
> checking whether to enable c-ares for DNS lookups... no
> checking for path separator... :
> checking for sed... /usr/bin/sed
> checking for grep... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for armv7-apple-darwin-ar... no
> checking for ar... /usr/bin/ar
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for armv7-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... yes
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang accepts -g... yes
> checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to accept ISO C89... none needed
> checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang understands -c and -o together... rm: conftest.dSYM: is a directory
> yes
> checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E
> checking whether build environment is sane... yes
> checking for armv7-apple-darwin-strip... no
> checking for strip... strip
> configure: WARNING: using cross tools not prefixed with host triplet
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking whether make supports nested variables... yes
> checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
> checking curl version... 7.33.0
> checking build system type... x86_64-apple-darwin13.1.0
> checking host system type... armv7-apple-darwin
> checking for sys/types.h... yes
> checking for stdint.h... yes
> checking for inttypes.h... yes
> checking for grep that handles long lines and -e... (cached) /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... rm: conftest.dSYM: is a directory
> no
> checking for sys/types.h... (cached) 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... (cached) yes
> checking for stdint.h... (cached) yes
> checking for unistd.h... yes
> checking size of long... 4
> checking size of void*... 4
> checking for 64-bit curl_off_t data type... long long
> checking size of curl_off_t... 8
> checking formatting string directive for curl_off_t... "lld"
> checking formatting string directive for unsigned curl_off_t... "llu"
> checking constant suffix string for curl_off_t... LL
> checking constant suffix string for unsigned curl_off_t... ULL
> checking if OS is AIX (to define _ALL_SOURCE)... no
> rm: conftest.dSYM: is a directory
> checking if _THREAD_SAFE is already defined... no
> checking if _THREAD_SAFE is actually needed... no
> checking if _THREAD_SAFE is onwards defined... no
> checking if _REENTRANT is already defined... no
> checking if _REENTRANT is actually needed... no
> checking if _REENTRANT is onwards defined... no
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking how to print strings... printf
> checking for a sed that does not truncate output... (cached) /usr/bin/sed
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
> checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... no
> checking for armv7-apple-darwin-dumpbin... no
> checking for armv7-apple-darwin-link... no
> checking for dumpbin... no
> checking for link... link -dump
> checking the name lister (nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 196608
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert x86_64-apple-darwin13.1.0 file names to armv7-apple-darwin format... func_convert_file_noop
> checking how to convert x86_64-apple-darwin13.1.0 file names to toolchain format... func_convert_file_noop
> checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
> checking for armv7-apple-darwin-objdump... no
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all
> checking for armv7-apple-darwin-dlltool... no
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for armv7-apple-darwin-ar... /usr/bin/ar
> checking for archiver @FILE support... no
> checking for armv7-apple-darwin-strip... strip
> checking for armv7-apple-darwin-ranlib... no
> checking for ranlib... ranlib
> checking command to parse nm output from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang object... ok
> checking for sysroot... no
> checking for armv7-apple-darwin-mt... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking for armv7-apple-darwin-dsymutil... no
> checking for dsymutil... dsymutil
> checking for armv7-apple-darwin-nmedit... no
> checking for nmedit... nmedit
> checking for armv7-apple-darwin-lipo... no
> checking for lipo... lipo
> checking for armv7-apple-darwin-otool... no
> checking for otool... otool
> checking for armv7-apple-darwin-otool64... no
> checking for otool64... no
> checking for -single_module linker flag... yes
> checking for -exported_symbols_list linker flag... yes
> checking for -force_load linker flag... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fno-rtti -fno-exceptions... yes
> checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to produce PIC... -fno-common -DPIC
> checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang PIC flag -fno-common -DPIC works... yes
> checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang static flag -static works... no
> checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -c -o file.o... yes
> checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -c -o file.o... (cached) yes
> checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin dyld
> 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... no
> checking whether to build static libraries... yes
> checking whether to build shared libraries with -version-info... yes
> checking whether to build shared libraries with -no-undefined... no
> checking whether to build shared libraries with -mimpure-text... no
> checking whether to build shared libraries with PIC... yes
> checking whether to build static libraries with PIC... no
> checking whether to build shared libraries only... no
> checking whether to build static libraries only... yes
> checking for inline... inline
> checking if compiler is DEC/Compaq/HP C... no
> checking if compiler is HP-UX C... no
> checking if compiler is IBM C... no
> checking if compiler is Intel C... no
> checking if compiler is clang... yes
> checking if compiler is GNU C... no
> checking if compiler is LCC... no
> checking if compiler is SGI MIPSpro C... no
> checking if compiler is SGI MIPS C... no
> checking if compiler is SunPro C... no
> checking if compiler is Tiny C... no
> checking if compiler is Watcom C... no
> checking if compiler accepts some basic options... yes
> configure: compiler options added: -Qunused-arguments
> checking if compiler accepts debug disabling options... yes
> configure: compiler options added:
> checking if compiler optimizer assumed setting might be used... no
> checking if compiler halts on compilation errors... yes
> checking if compiler halts on negative sized arrays... yes
> checking if compiler halts on function prototype mismatch... yes
> checking if compiler supports hiding library internal symbols... yes
> checking for windows.h... no
> checking whether build target is a native Windows one... no
> checking whether build target supports WIN32 file API... no
> checking whether to support http... yes
> checking whether to support ftp... yes
> checking whether to support file... yes
> checking whether to support ldap... yes
> checking whether to support ldaps... yes
> checking whether to support rtsp... yes
> checking whether to support proxies... yes
> checking whether to support dict... yes
> checking whether to support telnet... yes
> checking whether to support tftp... yes
> checking whether to support pop3... yes
> checking whether to support imap... yes
> checking whether to support smtp... yes
> checking whether to support gopher... yes
> checking whether to provide built-in manual... no
> checking whether to enable generation of C code... yes
> checking whether to use libgcc... no
> checking if X/Open network library is required... no
> checking for gethostbyname... yes
> checking for strcasecmp... yes
> checking for windows.h... (cached) no
> checking for winsock.h... (cached) no
> checking for winsock2.h... (cached) no
> checking for connect in libraries... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for sys/types.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... no
> configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: sys/time.h: proceeding with the compiler's result
> checking for sys/time.h... yes
> checking time.h usability... yes
> checking time.h presence... no
> configure: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: time.h: proceeding with the compiler's result
> checking for time.h... yes
> checking for monotonic clock_gettime... no
> checking for inflateEnd in -lz... yes
> checking zlib.h usability... yes
> checking zlib.h presence... no
> configure: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: zlib.h: proceeding with the compiler's result
> checking for zlib.h... yes
> configure: found both libz and libz.h header
> checking for lber.h... no
> checking for ldap.h... no
> checking for ldapssl.h... no
> checking for ldap_ssl.h... no
> checking for LDAP libraries... cannot find LDAP libraries
> configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
> checking whether to enable ipv6... no
> checking if argv can be written to... no
> configure: WARNING: the previous check could not be made default was used
> checking if SPNEGO support is requested... no
> checking if GSSAPI support is requested... no
> checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
> checking whether to enable iOS/Mac OS X native SSL/TLS... no
> checking for CRYPTO_lock in -lcrypto... no
> checking for CRYPTO_add_lock in -lcrypto... no
> checking for ssl_version in -laxtls... no
> configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
> configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.
> checking default CA cert bundle/path... configure: WARNING: skipped the ca-cert path detection when cross-compiling
> no
> checking for libssh2_channel_open_ex in -lssh2... no
> checking libssh2.h usability... no
> checking libssh2.h presence... no
> checking for libssh2.h... no
> checking for RTMP_Init in -lrtmp... no
> checking whether versioned symbols are wanted... no
> checking whether to enable Windows native IDN (Windows native builds only)... no
> checking whether to build with libidn... (assumed) yes
> checking for armv7-apple-darwin-pkg-config... no
> checking for pkg-config... no
> configure: IDN_LIBS: "-lidn"
> configure: IDN_LDFLAGS: ""
> configure: IDN_CPPFLAGS: ""
> configure: IDN_DIR: ""
> checking if idna_to_ascii_4i can be linked... no
> checking if idna_to_ascii_lz can be linked... no
> configure: WARNING: Cannot find libraries for IDN support: IDN disabled
> checking whether to build with nghttp2... no
> checking for ANSI C header files... (cached) no
> checking for malloc.h... no
> checking for memory.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for sys/select.h... yes
> checking for sys/socket.h... yes
> checking for sys/ioctl.h... yes
> checking for sys/uio.h... yes
> checking for assert.h... yes
> checking for unistd.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for limits.h... yes
> checking for arpa/inet.h... yes
> checking for net/if.h... yes
> checking for netinet/in.h... yes
> checking for sys/un.h... yes
> checking for netinet/tcp.h... yes
> checking for netdb.h... yes
> checking for sys/sockio.h... yes
> checking for sys/stat.h... (cached) yes
> checking for sys/param.h... yes
> checking for termios.h... yes
> checking for termio.h... no
> checking for sgtty.h... no
> checking for fcntl.h... yes
> checking for alloca.h... yes
> checking for time.h... (cached) yes
> checking for io.h... no
> checking for pwd.h... yes
> checking for utime.h... yes
> checking for sys/utime.h... no
> checking for sys/poll.h... yes
> checking for poll.h... yes
> checking for socket.h... no
> checking for sys/resource.h... yes
> checking for libgen.h... yes
> checking for locale.h... yes
> checking for errno.h... yes
> checking for stdbool.h... yes
> checking for arpa/tftp.h... no
> checking for sys/filio.h... yes
> checking for sys/wait.h... yes
> checking for setjmp.h... yes
> checking for an ANSI C-conforming const... yes
> checking for compiler support of C99 variadic macro style... yes
> checking for compiler support of old gcc variadic macro style... yes
> checking for size_t... yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for time.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for struct timeval... yes
> checking size of size_t... 4
> checking size of long... (cached) 4
> checking size of int... 4
> checking size of short... 2
> checking size of time_t... 4
> checking size of off_t... 8
> checking for long long... yes
> checking if numberLL works... yes
> checking for ssize_t... yes
> checking for bool... yes
> checking for windows.h... (cached) no
> checking for winsock2.h... (cached) no
> checking for ws2tcpip.h... (cached) no
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for curl_socklen_t data type... socklen_t
> checking size of curl_socklen_t... 4
> checking for sys/types.h... (cached) yes
> checking for poll.h... (cached) yes
> checking for sys/poll.h... (cached) yes
> checking for in_addr_t... yes
> checking for struct sockaddr_storage... yes
> checking signal.h usability... yes
> checking signal.h presence... no
> configure: WARNING: signal.h: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: signal.h: proceeding with the compiler's result
> checking for signal.h... yes
> checking for sig_atomic_t... yes
> checking if sig_atomic_t is already defined as volatile... no
> checking return type of signal handlers... void
> checking for sys/select.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for select... yes
> checking types of args and return type for select... int,fd_set *,struct timeval *,int
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for recv... yes
> checking types of args and return type for recv... int,void *,size_t,int,ssize_t
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for send... yes
> checking types of args and return type for send... int,const void *,size_t,int,ssize_t
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for MSG_NOSIGNAL... no
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking if alarm can be linked... yes
> checking if alarm is prototyped... no
> checking if alarm might be used... no
> checking for sys/types.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for libgen.h... (cached) yes
> checking if basename can be linked... yes
> checking if basename is prototyped... no
> checking if basename might be used... no
> checking for sys/types.h... (cached) yes
> checking for socket.h... (cached) no
> checking if closesocket can be linked... no
> checking if closesocket might be used... no
> checking if CloseSocket can be linked... no
> checking if CloseSocket might be used... no
> checking if connect can be linked... yes
> checking if connect is prototyped... no
> checking if connect might be used... no
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for fcntl.h... (cached) yes
> checking if fcntl can be linked... yes
> checking if fcntl is prototyped... no
> checking if fcntl might be used... no
> checking for sys/types.h... (cached) yes
> checking for stdio.h... yes
> checking if fdopen can be linked... yes
> checking if fdopen is prototyped... no
> checking if fdopen might be used... no
> checking for sys/types.h... (cached) yes
> checking for netdb.h... (cached) yes
> checking if freeaddrinfo can be linked... yes
> checking if freeaddrinfo is prototyped... no
> checking if freeaddrinfo might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for netinet/in.h... (cached) yes
> checking for ifaddrs.h... yes
> checking if freeifaddrs can be linked... yes
> checking if freeifaddrs is prototyped... no
> checking if freeifaddrs might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/xattr.h... yes
> checking if fsetxattr can be linked... yes
> checking if fsetxattr is prototyped... no
> checking if fsetxattr might be used... no
> checking if ftruncate can be linked... yes
> checking if ftruncate is prototyped... no
> checking if ftruncate might be used... no
> checking for sys/types.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking if getaddrinfo can be linked... yes
> checking if getaddrinfo is prototyped... no
> checking if getaddrinfo might be used... no
> checking if gai_strerror can be linked... yes
> checking if gai_strerror is prototyped... no
> checking if gai_strerror might be used... no
> checking if gethostbyaddr can be linked... yes
> checking if gethostbyaddr is prototyped... no
> checking if gethostbyaddr might be used... no
> checking if gethostbyaddr_r can be linked... no
> checking if gethostbyaddr_r might be used... no
> checking if gethostbyname can be linked... yes
> checking if gethostbyname is prototyped... no
> checking if gethostbyname might be used... no
> checking if gethostbyname_r can be linked... no
> checking if gethostbyname_r might be used... no
> checking if gethostname can be linked... yes
> checking if gethostname is prototyped... no
> checking if gethostname might be used... no
> checking if getifaddrs can be linked... yes
> checking if getifaddrs is prototyped... no
> checking if getifaddrs might be used... no
> checking if getservbyport_r can be linked... no
> checking if getservbyport_r might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for time.h... (cached) yes
> checking if gmtime_r can be linked... yes
> checking if gmtime_r is prototyped... no
> checking if gmtime_r might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for netinet/in.h... (cached) yes
> checking for arpa/inet.h... (cached) yes
> checking if inet_ntoa_r can be linked... no
> checking if inet_ntoa_r might be used... no
> checking if inet_ntop can be linked... yes
> checking if inet_ntop is prototyped... no
> checking if inet_ntop might be used... no
> checking if inet_pton can be linked... yes
> checking if inet_pton is prototyped... no
> checking if inet_pton might be used... no
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for sys/ioctl.h... (cached) yes
> checking for stropts.h... no
> checking if ioctl can be linked... yes
> checking if ioctl is prototyped... no
> checking if ioctl might be used... no
> checking if ioctlsocket can be linked... no
> checking if ioctlsocket might be used... no
> checking if IoctlSocket can be linked... no
> checking if IoctlSocket might be used... no
> checking if localtime_r can be linked... yes
> checking if localtime_r is prototyped... no
> checking if localtime_r might be used... no
> checking if memrchr can be linked... no
> checking if memrchr seems a macro... no
> checking if memrchr might be used... no
> checking if poll can be linked... yes
> checking if poll is prototyped... no
> checking if poll might be used... no
> checking if setsockopt can be linked... yes
> checking if setsockopt is prototyped... no
> checking if setsockopt might be used... no
> checking for sys/types.h... (cached) yes
> checking for signal.h... (cached) yes
> checking if sigaction can be linked... yes
> checking if sigaction is prototyped... no
> checking if sigaction might be used... no
> checking if siginterrupt can be linked... yes
> checking if siginterrupt is prototyped... no
> checking if siginterrupt might be used... no
> checking if signal can be linked... yes
> checking if signal is prototyped... no
> checking if signal might be used... no
> checking for sys/types.h... (cached) yes
> checking for setjmp.h... (cached) yes
> checking if sigsetjmp can be linked... yes
> checking if sigsetjmp is prototyped... no
> checking if sigsetjmp might be used... no
> checking if socket can be linked... yes
> checking if socket is prototyped... no
> checking if socket might be used... no
> checking if socketpair can be linked... yes
> checking if socketpair is prototyped... no
> checking if socketpair might be used... no
> checking if strcasecmp can be linked... yes
> checking if strcasecmp is prototyped... no
> checking if strcasecmp might be used... no
> checking if strcmpi can be linked... no
> checking if strcmpi might be used... no
> checking if strdup can be linked... yes
> checking if strdup is prototyped... no
> checking if strdup might be used... no
> checking if strerror_r can be linked... yes
> checking if strerror_r is prototyped... no
> checking if strerror_r might be used... no
> checking if stricmp can be linked... no
> checking if stricmp might be used... no
> checking if strncasecmp can be linked... yes
> checking if strncasecmp is prototyped... no
> checking if strncasecmp might be used... no
> checking if strncmpi can be linked... no
> checking if strncmpi might be used... no
> checking if strnicmp can be linked... no
> checking if strnicmp might be used... no
> checking if strstr can be linked... yes
> checking if strstr is prototyped... no
> checking if strstr might be used... no
> checking if strtok_r can be linked... yes
> checking if strtok_r is prototyped... no
> checking if strtok_r might be used... no
> checking if strtoll can be linked... yes
> checking if strtoll is prototyped... no
> checking if strtoll might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/uio.h... (cached) yes
> checking if writev can be linked... yes
> checking if writev is prototyped... no
> checking if writev might be used... no
> checking for fork... yes
> checking for geteuid... yes
> checking for getpass_r... no
> checking deeper for getpass_r... but still no
> checking for getppid... yes
> checking for getprotobyname... yes
> checking for getpwuid... yes
> checking for getrlimit... yes
> checking for gettimeofday... yes
> checking for inet_addr... yes
> checking for perror... yes
> checking for pipe... yes
> checking for setlocale... yes
> checking for setmode... yes
> checking for setrlimit... yes
> checking for uname... yes
> checking for utime... yes
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for netdb.h... (cached) yes
> checking for getnameinfo... yes
> checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,socklen_t,int
> checking how to set a socket into non-blocking mode... unknown
> configure: WARNING: cannot determine non-blocking socket method.
> checking for perl... /usr/bin/perl
> checking for gnroff... no
> checking for nroff... /usr/bin/nroff
> checking how to use *nroff to get plain text from man pages... -man
> checking whether to enable the threaded resolver... no
> checking whether to enable verbose strings... no
> checking whether to enable SSPI support (Windows native builds only)... no
> checking whether to enable cryptographic authentication methods... yes
> checking whether to enable NTLM delegation to winbind's helper... no
> checking whether to enable TLS-SRP authentication... yes
> checking whether to enable support for cookies... yes
> checking whether hiding of library internal symbols will actually happen... yes
> checking whether to enforce SONAME bump... no
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating docs/Makefile
> config.status: creating docs/examples/Makefile
> config.status: creating docs/libcurl/Makefile
> config.status: creating include/Makefile
> config.status: creating include/curl/Makefile
> config.status: creating src/Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/libcurl.vers
> config.status: creating tests/Makefile
> config.status: creating tests/certs/Makefile
> config.status: creating tests/certs/scripts/Makefile
> config.status: creating tests/data/Makefile
> config.status: creating tests/server/Makefile
> config.status: creating tests/libtest/Makefile
> config.status: creating tests/unit/Makefile
> config.status: creating packages/Makefile
> config.status: creating packages/Win32/Makefile
> config.status: creating packages/Win32/cygwin/Makefile
> config.status: creating packages/Linux/Makefile
> config.status: creating packages/Linux/RPM/Makefile
> config.status: creating packages/Linux/RPM/curl.spec
> config.status: creating packages/Linux/RPM/curl-ssl.spec
> config.status: creating packages/Solaris/Makefile
> config.status: creating packages/EPM/curl.list
> config.status: creating packages/EPM/Makefile
> config.status: creating packages/vms/Makefile
> config.status: creating packages/AIX/Makefile
> config.status: creating packages/AIX/RPM/Makefile
> config.status: creating packages/AIX/RPM/curl.spec
> config.status: creating curl-config
> config.status: creating libcurl.pc
> config.status: creating lib/curl_config.h
> config.status: creating include/curl/curlbuild.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> configure: amending lib/Makefile
> configure: amending src/Makefile
> configure: amending tests/unit/Makefile
> configure: amending tests/server/Makefile
> configure: amending tests/libtest/Makefile
> configure: amending docs/examples/Makefile
> configure: Configured to build curl/libcurl:
>
> curl version: 7.33.0
> Host setup: armv7-apple-darwin
> Install prefix: /usr/local
> Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> SSL support: no (--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} )
> SSH support: no (--with-libssh2)
> zlib support: enabled
> GSSAPI support: no (--with-gssapi)
> SPNEGO support: no (--with-spnego)
> TLS-SRP support: no (--enable-tls-srp)
> resolver: default (--enable-ares / --enable-threaded-resolver)
> ipv6 support: no (--enable-ipv6)
> IDN support: no (--with-{libidn,winidn})
> Build libcurl: Shared=no, Static=yes
> Built-in manual: no (--enable-manual)
> --libcurl option: enabled (--disable-libcurl-option)
> Verbose errors: no
> SSPI support: no (--enable-sspi)
> ca cert bundle: no
> ca cert path: no
> LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
> LDAPS support: no (--enable-ldaps)
> RTSP support: enabled
> RTMP support: no (--with-librtmp)
> metalink support: no (--with-libmetalink)
> HTTP2 support: disabled (--with-nghttp2)
> Protocols: DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET TFTP
>
>
> In my humble opinion it seems that configure is not able to detect
> On 12 Mar 2014, at 20:54, Daniel Stenberg <daniel_at_haxx.se> wrote:
>

You probably don't have the command line tools installed. That means you don't have /usr/include and so configure can't find your header files which are inside the Xcode.app bundle.

Run 'xcode-select --install' to download and install the tools.

Daniel

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-03-13