[MacPorts] #33032: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h

MacPorts noreply at macports.org
Thu Jan 26 15:09:24 PST 2012


#33032: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h
--------------------------------------------------------+-------------------
 Reporter:  jlg@…                                       |       Owner:  macports-tickets@…                   
     Type:  defect                                      |      Status:  new                                  
 Priority:  Normal                                      |   Milestone:                                       
Component:  ports                                       |     Version:  2.0.3                                
 Keywords:  strngs.h:1: error: stray '\191' in program  |        Port:  tesseract 3.0.1                      
--------------------------------------------------------+-------------------
 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>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list