Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#41022 closed defect (invalid)

gnupg2 @2.0.21 build error

Reported by: carmine.ventre@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gnupg2

Description (last modified by ryandesign (Ryan Schmidt))

Hi, I have the following path problem with building gnupg2:

:info:build ./stdint.h:46:11: fatal error: '/usr/include/stdint.h' file not found
:info:build # include "/usr/include/stdint.h"
:info:build           ^
:info:build 1 error generated.

OSX: mavericks Macport version: 2.2.1

(Log attached for convenience)

Attachments (2)

main.log (37.7 KB) - added by carmine.ventre@… 7 years ago.
main.2.log (51.2 KB) - added by freezingmariner@… 7 years ago.
build error for gpg-agent

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by carmine.ventre@…

Attachment: main.log added

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Resolution: invalid
Status: newclosed

Install the command line tools. See MavericksProblems.

comment:2 in reply to:  1 Changed 7 years ago by carmine.ventre@…

Replying to ryandesign@…:

Install the command line tools. See MavericksProblems.

OK thanks! Done that, it fixed gnupg2 but then I encountered a new problem with the building of ipe. Before opening a new ticket which might be useless I will report here the problem I can spot in the log file:

:info:build ipebase.cpp:376:15: error: no member named 'atoi' in namespace 'std'
:info:build   return std::atoi(str.z());
:info:build          ~~~~~^
:info:build ipebase.cpp:407:15: error: no member named 'strtoul' in namespace 's
td'
:info:build   return std::strtoul(str.z(), 0, 16);
:info:build          ~~~~~^
:info:build ipebase.cpp:417:23: error: no member named 'strtol' in namespace 'st
d'; did you mean 'strtok'?
:info:build   int integral = std::strtol(str.substr(0, i).z(), 0, 10);
:info:build                  ~~~~~^~~~~~
:info:build                       strtok
:info:build /usr/include/string.h:90:7: note: 'strtok' declared here
:info:build char    *strtok(char *, const char *);
:info:build          ^
:info:build ipebase.cpp:417:55: error: too many arguments to function call, expected 2, have 3
:info:build   int integral = std::strtol(str.substr(0, i).z(), 0, 10);
:info:build                  ~~~~~~~~~~~                          ^~
:info:build ipebase.cpp:421:23: error: no member named 'strtol' in namespace 'std'; did you mean 'strtok'?
:info:build     fractional = std::strtol(s.z(), 0, 10);
:info:build                  ~~~~~^~~~~~
:info:build                       strtok
:info:build /usr/include/string.h:90:7: note: 'strtok' declared here
:info:build char    *strtok(char *, const char *);
:info:build          ^
:info:build ipebase.cpp:421:40: error: too many arguments to function call, expected 2, have 3
:info:build     fractional = std::strtol(s.z(), 0, 10);
:info:build                  ~~~~~~~~~~~           ^~
:info:build ipebase.cpp:430:15: error: no member named 'atof' in namespace 'std'
:info:build   return std::atof(str.z());
:info:build          ~~~~~^
:info:build 7 errors generated.

Am I missing something basic again???

Last edited 7 years ago by carmine.ventre@… (previous) (diff)

Changed 7 years ago by freezingmariner@…

Attachment: main.2.log added

build error for gpg-agent

comment:3 Changed 7 years ago by freezingmariner@…

I'm having the same issue and I know I do have CLI installed.

Note: See TracTickets for help on using tickets.