[MacPorts] #41049: IPE building problem
#41049: IPE building problem ------------------------------+-------------------------------- Reporter: carmine.ventre@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ------------------------------+-------------------------------- 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. }}} -- Ticket URL: <https://trac.macports.org/ticket/41049> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+---------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ipe | -------------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => m.thon@… * port: => ipe -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+---------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ipe | -------------------------------+---------------------- Comment (by m7.thon@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+----------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ipe | -------------------------------+----------------------- Changes (by ryandesign@…): * keywords: => mavericks -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+----------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ipe | -------------------------------+----------------------- Comment (by mk@…): #41371 seems to have a working patch for this issue. Perhaps the same could be done for this port. -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+----------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ipe | -------------------------------+----------------------- Comment (by macports@…): The two patches fix the problem. -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+----------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ipe | -------------------------------+----------------------- Comment (by bouttier__macports@…): Replying to [comment:12 macports@…]:
The two patches fix the problem.
It works for me, thanks a lot ! -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+----------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ipe | -------------------------------+----------------------- Comment (by m.thon@…): Works, thanks for the patch. Could someone please commit? -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#41049: IPE building problem -------------------------------+-------------------------------- Reporter: carmine.ventre@… | Owner: m.thon@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks haspatch Port: ipe | -------------------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * keywords: mavericks => mavericks haspatch * resolution: => fixed Comment: r117514. I dropped the `revision` line because this is just a build failure. -- Ticket URL: <https://trac.macports.org/ticket/41049#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts