I was able to successfully build with HomeBrew, but I needed to check out 
r860 (the most recent commit removes a file that is referred to in a header)

svn checkout http://tesseract-ocr.googlecode.com/svn/trunk/ 
tesseract-ocr-r860 --revision r860
cd tesseract-ocr-r860/
./autogen.sh 
./configure
make
make install
make install-langs


thanks to these great instructions: http://emop.tamu.edu/node/45
Also filed a bug here: 
 https://code.google.com/p/tesseract-ocr/issues/detail?id=950

On Thursday, July 4, 2013 7:07:23 AM UTC-4, sventech wrote:
>
> HomeBrew works well.
> Sven
>
> On Wednesday, July 3, 2013, Mike Mannion wrote:
>
>> Followed the usual steps...
>>
>> $ sudo port install leptonica
>> $ <download, extract tar ball>
>> $ cd tesseract-ocr
>> $ export LIBLEPT_HEADERSDIR="/opt/local/include/leptonica"
>> $ ./configure
>> $ make
>>
>> ... and the result...
>>
>> make  all-recursive
>> Making all in ccutil
>> /bin/sh ../libtool --tag=CXX   --mode=link g++ 
>> -DTESSDATA_PREFIX=/usr/local/share/  -g -O2  -L/opt/local/lib -o 
>> libtesseract_ccutil.la  ambigs.lo basedir.lo bits16.lo bitvector.lo 
>> ccutil.lo clst.lo elst2.lo elst.lo errcode.lo globaloc.lo hashfn.lo 
>> indexmapbidi.lo mainblk.lo memry.lo serialis.lo strngs.lo 
>> tessdatamanager.lo tprintf.lo unichar.lo unicharmap.lo unicharset.lo 
>> unicodes.lo params.lo    -llept 
>> grep: /opt/local/lib/libxcb.la: No such file or directory
>> sed: /opt/local/lib/libxcb.la: No such file or directory
>> libtool: link: `/opt/local/lib/libxcb.la' is not a valid libtool archive
>> make[3]: *** [libtesseract_ccutil.la] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Please advise!
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "tesseract-ocr" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/tesseract-ocr?hl=en
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "tesseract-ocr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
> -- 
> ``All that is gold does not glitter,
>   not all those who wander are lost;
> the old that is strong does not wither,
>   deep roots are not reached by the frost.
> From the ashes a fire shall be woken,
>   a light from the shadows shall spring;
> renewed shall be blade that was broken,
>   the crownless again shall be king.”
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to