[MacPorts] #42302: pficommon: Fails to build on OS X 10.9 Mavericks
#42302: pficommon: Fails to build on OS X 10.9 Mavericks ----------------------+----------------------- Reporter: raimue@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: pficommon ----------------------+----------------------- The problem is most probably related to C++11 support and libc++. The tr1/* headers do not exist, instead the files should be searched directly. {{{ .../work/pficommon- 692f8f25e8cfdf7fa7054ebb1d3ec8cb3287c5ea/src/concurrent/../lang/function.h:35:10: fatal error: 'tr1/functional' file not found #include <tr1/functional> ^ 1 error generated. }}} I guess the proper solution for this would be something like this: {{{ #if __cplusplus >= 201103L #include <functional> #else #include <tr1/functional> #endif }}} And then declare `configure.cxxflags-append -std=c++11` in the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/42302> MacPorts <http://www.macports.org/> Ports system for OS X
#42302: pficommon: Fails to build on OS X 10.9 Mavericks ------------------------+-------------------- Reporter: raimue@… | Owner: hum@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: pficommon | ------------------------+-------------------- Changes (by hum@…): * status: new => closed * resolution: => wontfix Comment: Thank you for your report. However, the problem seems to be far more difficult, and is caused by not only tr1 headers but also other GNUC- dependent issues. I decided to wait and see the upstream activities. I have modified the Portfile not to build on Mavericks, committed in r117063. -- Ticket URL: <https://trac.macports.org/ticket/42302#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts