graphics/tesseract fails to build on 9.2-RELEASE

Andre Goree andre at drenet.net
Tue Jun 17 14:17:19 UTC 2014


> On 05/30/2014 12:08 pm, Andre Goree wrote:
>> On 05/05/2014 2:32 pm, Andre Goree wrote:
>>> Hello,
>>> 
>>> I'm getting the following when attempting to build the
>>> graphics/tesseract port on 9.2-RELEASE:
>>> 
>>> Making install in testing
>>> cd /usr/ports/graphics/tesseract/work/tesseract-ocr && install  -o
>>> root -g wheel -m 444 AUTHORS ChangeLog README ReleaseNotes
>>> /usr/ports/graphics/tesseract/work/stage/usr/local/share/doc/tesseract
>>> cd /usr/ports/graphics/tesseract/work/tesseract-ocr/doc && /bin/sh -c
>>> '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1)
>>> &&  /usr/sbin/chown -Rh root:wheel $1 &&  /usr/bin/find -d $0 $2 
>>> -type
>>> d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec
>>> chmod 444 $1/{} \;' -- html
>>> /usr/ports/graphics/tesseract/work/stage/usr/local/share/doc/tesseract
>>> find: html: No such file or directory
>>> find: html: No such file or directory
>>> *** [post-install] Error code 1
>>> 
>>> Any ideas?  Let me know if additional data is needed.
>> 
>> Bringing this back up.  Really need tesseract working for my FuzzyOcr
>> spamassassin stuffs.  Does anyone else have a problem building
>> graphics/tesseract?
>> 
> HI Andre,
> 
> I had the same issue with tesseract, to use with fuzzy ocr in SA, pn
> FreeBSD9.2
> 
> I dug out a bit in the Makefile and it seems that something is not
> right, as it is in the test/doc part, I decided to apply the following
> workaround:
> 
> cd /usr/ports/graphics/tesseract
> make
> 
> wait for it to fail with the html: file not found
> 
> mkdir /usr/ports/graphics/tesseract/work/tesseract-ocr/doc/html
> make
> make install
> 
> The error stage is trying to find files from the directory doc/html 
> that
> does not exist.
> 
> You can copy that to freebsd-ports mailing list as I am not subscribed.
> 
> Hope that helps.
> 
> Best regards,
> 
> Olivier

That worked, thanks Oliver!


-- 
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://www.drenet.net
PGP key   - http://www.drenet.net/pubkey.txt
-=-=-=-=-=-


More information about the freebsd-ports mailing list