#40899: clucene: LuceneThreads.h:58:34: error: unknown type name 'pthread_t' -------------------------+----------------------------- Reporter: whcordis@… | Owner: dinh.viet.hoa@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: clucene | -------------------------+----------------------------- Comment (by soehn@…): Replying to [comment:15 egon.geerardyn@…]:
Replying to [comment:14 arnolda@…]:
cmake includes /opt/local/include for boost, but if an older version of CLucene is already installed in /opt/local, then these older headers are included. I manually solved the problem by telling ccmake not to include /opt/local/include, since it anyways builds against a copy of boost included in the clucene build. So I guess the solution is simply not to include /opt/local/include.
Could you describe how/where to do that? I'm not that accustomed to using `cmake`.
An easier solution (for those who did not follow the migration instructions): Type sudo port uninstall -f clucene sudo port install clucene -- Ticket URL: <https://trac.macports.org/ticket/40899#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X