apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William A Rowe Jr <wr...@rowe-clan.net>
Subject Re: apr 1.7.0 configure fails on macOS with Xcode 10.2.1 SDK MacOSX10.14.sdk
Date Wed, 24 Apr 2019 18:39:38 GMT
Hi Barry,

you are looking at the latest consensus code spanning BSD and OS/X in two
variants.

It would help us if you would share your config.log and entire output of
./configure along with cc -version type data for the applicable compiler.


On Wed, Apr 24, 2019 at 1:04 PM Barry Scott <barry@barrys-emacs.org> wrote:

> I use ./configure --prefix=/usr/local/svn and see the error:
> ...
> checking whether int64_t and long long use fmt %lld... no
> configure: error: could not determine the string function for int64_t
>
> Looking in config.log I see this:
>
> configure:24313:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> -c -arch x86_64 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -Wno-deprecated-declarations  -Werror -DDARWIN
> -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 conftest.c >&5
> In file included from conftest.c:149:
> In file included from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:109:
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/_types/_gid_t.h:31:25:
> error: cannot combine with previous 'type-name' declaration specifier
> typedef __darwin_gid_t  gid_t;
>                         ^
> ./confdefs.h:137:15: note: expanded from macro 'gid_t'
> #define gid_t int
>               ^
> In file included from conftest.c:149:
> In file included from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:128:
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/_types/_uid_t.h:31:31:
> error: cannot combine with previous 'type-name' declaration specifier
> typedef __darwin_uid_t        uid_t;
>                               ^
> ./confdefs.h:136:15: note: expanded from macro 'uid_t'
> #define uid_t int
>               ^
> In file included from conftest.c:149:
> In file included from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:167:
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/_types/_ssize_t.h:31:33:
> error: cannot combine with previous 'type-name' declaration specifier
> typedef __darwin_ssize_t        ssize_t;
>                                 ^
> ./confdefs.h:138:17: note: expanded from macro 'ssize_t'
> #define ssize_t int
>                 ^
> 3 errors generated.
>
> Clearly configdefs.h must not define ssize_t - is this a know problem?
> Is there a patch I help can test?
>
> Barry
>
>

Mime
View raw message