Opened 8 years ago

Last modified 6 years ago

#50128 closed defect

tesseract @3.04.00_2 build failure: 'unordered_map' file not found — at Version 3

Reported by: alexmptrac@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: jo.vanoost@…
Port: tesseract

Description (last modified by ryandesign (Ryan Carsten Schmidt))

MacOS version: 10.7.5
XCode version: 4.6.3

Tesseract @3.04.00_2 is failing to install on two machines here, both running Lion. This problem came up as part of a routine 'port upgrade outdated' (previous versions of tesseract worked OK on these systems).

Googling for the compiler error found this page, which sounds relevant, though it isn't clear to me what to do to fix the problem: http://stackoverflow.com/questions/26233011/what-could-cause-clang-to-not-find-the-unordered-map-header

Change History (4)

Changed 8 years ago by alexmptrac@…

Attachment: main.log added

comment:1 Changed 8 years ago by alexmptrac@…

Cc: alexmptrac@… added

Cc Me!

comment:2 Changed 8 years ago by Blokkendoos (Johan)

Cc: jo.vanoost@… added

Cc Me!

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: alexmptrac@… removed
Description: modified (diff)

If that page is correct, then this software now requires C++11 and the port should indicate this by including the cxx11 1.0 portgroup. Unfortunately this means the port cannot be compiled in a default MacPorts setup on Mac OS X 10.8 or earlier; see LibcxxOnOlderSystems for the workaround.

Note: See TracTickets for help on using tickets.