Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 10:09:05 -0400
From:      Andre Goree <andre@drenet.net>
To:        Olivier.Nicole@cs.ait.ac.th
Cc:        freebsd-ports@freebsd.org
Subject:   Re: graphics/tesseract fails to build on 9.2-RELEASE
Message-ID:  <ae1e34585b96691c6e403c58cbcecfe1@drenet.net>
In-Reply-To: <f64d249cfbf82c8ccbfd697733eafc6a@drenet.net>
References:  <25a5dcb94bb4f7ad1ad0a16d644125b9@drenet.net> <f64d249cfbf82c8ccbfd697733eafc6a@drenet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
-=-=-=-=-=-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ae1e34585b96691c6e403c58cbcecfe1>