Problems installing 2.0.26 on Mavericks

Travis Millburn travis.millburn at gmail.com
Mon Sep 1 20:33:33 CEST 2014


Hello,

I’m running into problems compiling GnuPG on my mac running OS X 10.9.4.  I have Google-ed at length and read the INSTALL and README files to no avail.  I’m hoping to get some help on the install, and thankful in advance for any help. 

I have downloaded the current version (2.0.26) and verified the checksum.  I used a standard configure:

$ ./configure

which results in:

        GnuPG v2.0.26 has been configured as follows:

        Revision:  5b2dcdd  (23341)
        Platform:  Darwin (x86_64-apple-darwin13.3.0)

        OpenPGP:   yes
        S/MIME:    yes
        Agent:     yes 
        Smartcard: yes (without internal CCID driver)
        Gpgtar:    no

        Protect tool:      (default)
        Default agent:     (default)
        Default pinentry:  (default)
        Default scdaemon:  (default)
        Default dirmngr:   (default)

However, when I attempt to compile, I run into problems:

$ sudo make

In file included from ./stdint.h:66:
/usr/include/inttypes.h:235:8: error: unknown type name 'intmax_t'
extern intmax_t
       ^
/usr/include/inttypes.h:236:9: error: unknown type name 'intmax_t'
imaxabs(intmax_t j);
        ^
/usr/include/inttypes.h:240:2: error: unknown type name 'intmax_t'
        intmax_t quot;
        ^
/usr/include/inttypes.h:241:2: error: unknown type name 'intmax_t'
        intmax_t rem;
        ^
/usr/include/inttypes.h:246:9: error: unknown type name 'intmax_t'
imaxdiv(intmax_t __numer, intmax_t __denom);
        ^
/usr/include/inttypes.h:246:27: error: unknown type name 'intmax_t'
imaxdiv(intmax_t __numer, intmax_t __denom);
                          ^
/usr/include/inttypes.h:250:8: error: unknown type name 'intmax_t'
extern intmax_t
       ^
/usr/include/inttypes.h:256:8: error: unknown type name 'uintmax_t'; did you mean 'uintptr_t'?
extern uintmax_t
       ^
/usr/include/sys/_types/_uintptr_t.h:30:24: note: 'uintptr_t' declared here
typedef unsigned long           uintptr_t;
                                ^
In file included from allocsa.c:21:
In file included from ./allocsa.h:23:
In file included from /usr/include/stdlib.h:65:
In file included from /usr/include/sys/wait.h:110:
In file included from /usr/include/sys/resource.h:72:
In file included from ./stdint.h:66:
/usr/include/inttypes.h:263:8: error: unknown type name 'intmax_t'
extern intmax_t
       ^
/usr/include/inttypes.h:269:8: error: unknown type name 'uintmax_t'; did you mean 'uintptr_t'?
extern uintmax_t
       ^
/usr/include/sys/_types/_uintptr_t.h:30:24: note: 'uintptr_t' declared here
typedef unsigned long           uintptr_t;
                                ^
10 errors generated.
make[3]: *** [allocsa.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


GCC version:
$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix


Many many thanks in advance for any help received,


Travis Millburn
travis.millburn at gmail.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140901/84a41c15/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/attachments/20140901/84a41c15/attachment.sig>


More information about the Gnupg-users mailing list