[MacPorts] #41022: gnupg2 @2.0.21 build error

MacPorts noreply at macports.org
Mon Oct 28 13:09:37 PDT 2013


#41022: gnupg2 @2.0.21 build error
-------------------------------+--------------------------------
  Reporter:  carmine.ventre@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  closed
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:  invalid           |   Keywords:
      Port:  gnupg2            |
-------------------------------+--------------------------------

Comment (by carmine.ventre@…):

 Replying to [comment:1 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???

-- 
Ticket URL: <https://trac.macports.org/ticket/41022#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list