Opened 2 years ago

Last modified 2 years ago

#50118 new defect

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) 2 years ago.
tesseract build log
new-main.log (69.7 KB) - added by drennanelawar (Daniel Drennan ElAwar) 2 years ago.
Clean build log file

Download all attachments as: .zip

Change History (8)

Changed 2 years ago by drennanelawar (Daniel Drennan ElAwar)

tesseract build log

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

  • Cc drennan@… added

Cc Me!

comment:2 Changed 2 years ago by ryandesign (Ryan 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 2 years ago by drennanelawar (Daniel Drennan ElAwar)

Clean build log file

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

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

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

  • Port tesseract added; tesseract-3.04.00 removed

comment:5 Changed 2 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 2 years ago by markemer (Mark Anderson)

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

Note: See TracTickets for help on using tickets.