[MacPorts] #33032: tesseract: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h (was: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h)
MacPorts
noreply at macports.org
Thu Jan 26 17:50:36 PST 2012
#33032: tesseract: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h
-------------------------+--------------------------------------------------
Reporter: jlg@… | Owner: emer@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: tesseract
-------------------------+--------------------------------------------------
Changes (by ryandesign@…):
* keywords: strngs.h:1: error: stray '\191' in program =>
* owner: macports-tickets@… => emer@…
* port: tesseract 3.0.1 => tesseract
Old description:
> The strngs.h file in this build (at least for the PPC version) has an
> invisible first character that kills the compile. A "set list" in vi
> won't show the invisible first character, but if you cat the file you
> should be able to see it. I fixed it by copying the contents of strngs.h
> and pasting into a new file, then renaming the new file to strngs.h.
>
> The log errors will look like:
> :info:build strngs.h:1: error: stray '\239' in program
> :info:build strngs.h:1: error: stray '\187' in program
> :info:build strngs.h:1: error: stray '\191' in program
New description:
The strngs.h file in this build (at least for the PPC version) has an
invisible first character that kills the compile. A "set list" in vi won't
show the invisible first character, but if you cat the file you should be
able to see it. I fixed it by copying the contents of strngs.h and pasting
into a new file, then renaming the new file to strngs.h.
The log errors will look like:
{{{
:info:build strngs.h:1: error: stray '\239' in program
:info:build strngs.h:1: error: stray '\187' in program
:info:build strngs.h:1: error: stray '\191' in program
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/33032#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list