Opened 8 years ago

Closed 6 years ago

#50118 closed defect (fixed)

tesseract-3.04.00 | Snow Leopard 10.6.8 | long integers in helper.h file

Reported by: drennanelawar (Daniel Drennan ElAwar) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: tesseract

Description

Tesseract 3.04 wouldn't compile on Snow Leopard 10.6.8; error message pointed to the helpers.h file, and the seed integers which seemed to be too large. I changed them to smaller numbers, and changed instances of "64" to "32", and it is compiling now, but giving warnings:

../ccutil/helpers.h:50: warning: right shift count >= width of type

Tesseract compiles with this change, but everything that makes reference to this header file complains (of course).

I know this is not the solution; I just wanted to test for myself to see if this was the problem.

I wish I knew enough to propose a solution, so apologies for that lack in advance.

Attachments (2)

main.log (9.5 KB) - added by drennanelawar (Daniel Drennan ElAwar) 8 years ago.
tesseract build log
new-main.log (69.7 KB) - added by drennanelawar (Daniel Drennan ElAwar) 8 years ago.
Clean build log file

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by drennanelawar (Daniel Drennan ElAwar)

Attachment: main.log added

tesseract build log

comment:1 Changed 8 years ago by drennanelawar (Daniel Drennan ElAwar)

Cc: drennan@… added

Cc Me!

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

Cc: drennan@… removed
Owner: changed from macports-tickets@… to emer@…

The log you've attached is not from a clean build attempt. Please clean and try again.

Changed 8 years ago by drennanelawar (Daniel Drennan ElAwar)

Attachment: new-main.log added

Clean build log file

comment:3 Changed 8 years ago by drennanelawar (Daniel Drennan ElAwar)

Okay, I deactivated and deinstalled and then installed clean; new log attached. Thanks.

comment:4 Changed 8 years ago by mf2k (Frank Schima)

Port: tesseract added; tesseract-3.04.00 removed

comment:5 Changed 8 years ago by markemer (Mark Anderson)

This is certainly an upstream problem. I'll check to see how far back on OSX they support. If I had to guess it's 10.8.

comment:6 Changed 8 years ago by markemer (Mark Anderson)

Also, I have no way to test this as I don't have anything pre 10.9 available.

comment:7 Changed 6 years ago by markemer (Mark Anderson)

Resolution: fixed
Status: newclosed

In 1b655b8f6dae92268712ca6ff6900ab60008f53e/macports-ports:

Update Tesseract to 03.05.01

  • Update Tesseract to 03.05.01
  • Enable building with CMake

Fixes: #54006
Closes: #50128
Closes: #50118

Note: See TracTickets for help on using tickets.