Opened 11 years ago
Closed 11 years ago
#41049 closed defect (fixed)
IPE building problem
Reported by: | carmine.ventre@… | Owned by: | m.thon@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks haspatch | Cc: | egon.geerardyn@…, mathsmac@…, ctreleaven (Craig Treleaven), brislawn@…, mkae (Marko Käning), bouttier__macports@…, 4eppelin@…, macports@… |
Port: | ipe |
Description
Xcode 5.0.1, command line tool installed and osx 10.9. I have the following problem with ipe:
: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.
Attachments (2)
Change History (18)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to m.thon@… |
---|---|
Port: | ipe added |
comment:2 Changed 11 years ago by m7.thon@…
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mavericks added |
---|
comment:11 Changed 11 years ago by mkae (Marko Käning)
#41371 seems to have a working patch for this issue. Perhaps the same could be done for this port.
Changed 11 years ago by macports@…
Attachment: | Portfile-cstdlib.diff added |
---|
Changed 11 years ago by macports@…
Attachment: | ipe-cstdlib.patch added |
---|
comment:13 Changed 11 years ago by bouttier__macports@…
comment:15 Changed 11 years ago by m.thon@…
Works, thanks for the patch. Could someone please commit?
comment:16 Changed 11 years ago by larryv (Lawrence Velázquez)
Keywords: | haspatch added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
r117514. I dropped the revision
line because this is just a build failure.
Note: See
TracTickets for help on using
tickets.
I will not update to OSX 10.9 until at the earliest the beginning of next year, so I will not be able to help with this issue for now. It is probably an issue of selecting the right compiler/standard c++ library combination to build ipe.