Opened 11 years ago
Closed 11 years ago
#42302 closed defect (wontfix)
pficommon: Fails to build on OS X 10.9 Mavericks
Reported by: | raimue (Rainer Müller) | Owned by: | humem (humem) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | pficommon |
Description
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.
Attachments (1)
Change History (2)
Changed 11 years ago by raimue (Rainer Müller)
comment:1 Changed 11 years ago by humem (humem)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.