jacklicn / tesseract-ocr

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

Make process and libtesseract.la dependency on libtesseract.lo #540

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running ./runautoconf
2. Running ./configure
3. Running make

What is the expected output? What do you see instead?
An expected clean build as all shared libraries are present. 
Actual output:
make[2]: *** No rule to make target `libtesseract.lo', needed by 
`libtesseract.la'.  Stop.

What version of the product are you using? On what operating system?
- SVN revision 624
- Debian Wheezy x86_64
- all libtiff, leptonica_1.68, etc are present.

Please provide any additional information below.
Seems like a dependency issue in the creation of the Makefile.

Original issue reported on code.google.com by profko...@gmail.com on 30 Aug 2011 at 11:35

GoogleCodeExporter commented 9 years ago
Build 622 compiles clean, except for a warning regarding the libjpeg shared 
object;
As an additional comment, leptonica was compiled against libjpeg.so.8 instead 
of libjpeg.so.62.

Original comment by profko...@gmail.com on 30 Aug 2011 at 11:51

GoogleCodeExporter commented 9 years ago
Jus downloaded from svn and also got this error.

Original comment by Oga...@gmail.com on 2 Sep 2011 at 8:47

GoogleCodeExporter commented 9 years ago
Confirm 622 works fine.

Original comment by Oga...@gmail.com on 3 Sep 2011 at 2:02

GoogleCodeExporter commented 9 years ago
I commented out the dependency to libtesseract.lo in the top Makefile and that 
worked for me. (r626)
An ugly fix if you just want to get past the problem.

libtesseract_la_OBJECTS = # libtesserat.lo

Original comment by ulf...@gmail.com on 20 Sep 2011 at 10:42

GoogleCodeExporter commented 9 years ago
rev 626 still got this error.

Original comment by wangxiao...@gmail.com on 23 Sep 2011 at 6:57

GoogleCodeExporter commented 9 years ago
please try rev 627 and post result.

Original comment by zde...@gmail.com on 29 Sep 2011 at 9:27

GoogleCodeExporter commented 9 years ago
The change in r627 fixes this for me.

Original comment by jeffrey....@gmail.com on 6 Oct 2011 at 12:15

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 6 Oct 2011 at 1:07

GoogleCodeExporter commented 9 years ago
Even with the fix in r627, if I configure with --disable-multiple-libraries, I 
get

make[4]: *** No rule to make target `../libtesseract.la', needed by 
`cntraining'. Stop.

Original comment by jeffrey....@gmail.com on 7 Oct 2011 at 9:06

GoogleCodeExporter commented 9 years ago
@jeffrey: ./configure --disable-multiple-libraries do not work (yet ;-) )
issue 540 is about another build problem. Please do not mix issues.

Original comment by zde...@gmail.com on 7 Oct 2011 at 10:42

GoogleCodeExporter commented 9 years ago
While making tesseract-3.02 in ubuntu 13.10 I got the following error:
Making all in ccmain
make[2]: Entering directory `/home/ajit/tesseract-ocr/ccmain'
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2   -o 
libtesseract_main.la  adaptions.lo applybox.lo control.lo cube_control.lo 
cube_reco_context.lo cubeclassifier.lo docqual.lo equationdetect.lo fixspace.lo 
fixxht.lo imgscale.lo ltrresultiterator.lo osdetect.lo output.lo 
pageiterator.lo pagesegmain.lo pagewalk.lo paragraphs.lo paramsd.lo pgedit.lo 
recogtraining.lo reject.lo resultiterator.lo scaleimg.lo 
tesseract_cube_combiner.lo tessbox.lo tessedit.lo tesseractclass.lo tessvars.lo 
tfacepp.lo thresholder.lo werdit.lo  -llept -lpthread 
libtool: link: `reject.lo' is not a valid libtool object
make[2]: *** [libtesseract_main.la] Error 1
make[2]: Leaving directory `/home/ajit/tesseract-ocr/ccmain'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ajit/tesseract-ocr'
make: *** [all] Error 2
kindly address the problem
Ajit

Original comment by ajitnaya...@gmail.com on 28 Nov 2013 at 5:16