qixiaobo / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

tesseract fails to build if parent directory name contains space #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

mkdir "FOO BAR"
cd "FOO BAR"
tar xf /path/to/tesseract-3.00.tar.gz
cd tesseract-3.00
./configure
make

What is the expected output? What do you see instead?

expected: tesseract builds

actual: build fails with the following message:
/usr/bin/sed: can't read BAR/tesseract-3.00/wordrec/libtesseract_wordrec.la: No 
such file or directory

What version of the product are you using? On what operating system?

http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz
on gentoo linux, manual build

Please provide any additional information below.

sed --version
GNU sed version 4.1.4

a space in the directory name definitely causes this to happen; other special 
characters *may* also do so, or cause unintended results

Original issue reported on code.google.com by aizvorski@gmail.com on 25 Oct 2010 at 7:23

GoogleCodeExporter commented 9 years ago
This is a general issue with autotools... just don't build in a directory that 
contains a space.

Original comment by joregan on 26 Oct 2010 at 8:54