barum / tesseract-ocr

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

make fails in java #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure --prefix=/home/luser/usr
2. make
3. make install

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

make[1]: Entering directory `/home/luser/tmp/tesseract-2.03/java'
make[1]: *** No rule to make target `install'.  Stop.
make[1]: Leaving directory `/home/luser/tmp/tesseract-2.03/java'
make: *** [install-recursive] Error 1

If Java is required, please document how to build correctly. If not, make
install should skip it.

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

Using Fedora 8, Sun JDK 1.6 javac and jar are available.

Original issue reported on code.google.com by i...@hotmail.com on 25 Apr 2008 at 4:59

GoogleCodeExporter commented 9 years ago
Exactly the same error during install.
Using Slackware 12.1 and jre-6u6.

Original comment by mdro...@gmail.com on 25 Jun 2008 at 2:13

GoogleCodeExporter commented 9 years ago
Same problem on NetBSD-current/amd64 without any Java installed.

Original comment by tk@giga.or.at on 25 Jun 2008 at 2:20

GoogleCodeExporter commented 9 years ago
Same problem on CentOS 5 for x86_64.

Original comment by aleksand...@gmail.com on 14 Jul 2008 at 1:20

GoogleCodeExporter commented 9 years ago
I confirm this problem on Kubuntu Hardy Heron x86_64.

Original comment by p.woeh...@gmail.com on 18 Jul 2008 at 2:12

GoogleCodeExporter commented 9 years ago
Same Error Fedora 7 
Java Version:
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing) 

Original comment by supada...@gmail.com on 23 Jul 2008 at 4:07

GoogleCodeExporter commented 9 years ago
Same error 

Ubuntu Server 8.04 LTS (Kern 2.6.24-19-server)
Java "1.6.0" openjdk runtime env (build 1.6.0-b09)
Java client VM (build 1.6.0-b09, mixed mode, sharing)

Original comment by zacharyj...@gmail.com on 6 Aug 2008 at 4:02

GoogleCodeExporter commented 9 years ago
The tesseract 2.03 distribution includes java/makefile (note case). GNU make 
uses 
makefile before Makefile; so it never sees the automake/autoconf generated 
Makefile 
in java/.

Here, we work around this problem by removing java/makefile. But we did not 
need the 
java target.

Original comment by a...@pennace.org on 30 Oct 2008 at 6:54

GoogleCodeExporter commented 9 years ago
Fixed in 2.04.
The manually created makefile is there to deliberately override the automake 
Makefile. I have no idea how to make automake produce an appropriate Makefile 
for it.
The java component is *not* required. It is only used for the debug mode, so 
skipping 
it is appropriate. The manual makefile is good enough and seems to work.

Original comment by theraysm...@gmail.com on 2 Jun 2009 at 11:11