misha_l - 2007-08-19

Hello,

I am trying to install tesseract-ocr-2.00. I am working on UNIX platform (Cygwin) and I am getting the following error:

$ ./configure
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for cl.exe... cl.exe
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

What shall I do to solve the problem?

In any case this is config.log file.
------------------------------------------------------------
his file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tesseract configure 2.00, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = new2
uname -m = i686
uname -r = 1.5.24(0.156/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2007-01-31 10:57

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = i686
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: .
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/Perl/bin/
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
PATH: /cygdrive/c/Program Files/Intel/DMIX
PATH: /cygdrive/c/Program Files/ATI Technologies/ATI.ACE/
PATH: /usr/bin
PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT
PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin
PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools
PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin
PATH: /usr/X11R6/bin
PATH: /usr/X11R6/bin
PATH: /usr/lib/lapack

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1385: checking build system type
configure:1403: result: i686-pc-cygwin
configure:1411: checking host system type
configure:1425: result: i686-pc-cygwin
configure:1575: checking for cl.exe
configure:1591: found /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/cl.exe
configure:1601: result: cl.exe
configure:1617: checking for C++ compiler version
configure:1620: cl.exe --version </dev/null >&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Command line warning D4002 : ignoring unknown option '--version'
Command line error D2003 : missing source filename
configure:1623: $? = 2
configure:1625: cl.exe -v </dev/null >&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Command line warning D4002 : ignoring unknown option '-v'
Command line error D2003 : missing source filename
configure:1628: $? = 2
configure:1630: cl.exe -V </dev/null >&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Command line error D2004 : '/V' requires an argument
configure:1633: $? = 2
configure:1656: checking for C++ compiler default output file name
configure:1659: cl.exe    conftest.cc  >&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Command line warning D4024 : unrecognized source file type 'conftest.cc', object file assumed
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:conftest.exe
conftest.cc
conftest.cc : fatal error LNK1136: invalid or corrupt file
configure:1662: $? = 2
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "tesseract"
| #define PACKAGE_TARNAME "tesseract"
| #define PACKAGE_VERSION "2.00"
| #define PACKAGE_STRING "tesseract 2.00"
| #define PACKAGE_BUGREPORT "theraysmith@gmail.com"
| #define PACKAGE_NAME "tesseract"
| #define PACKAGE_VERSION "2.00"
| #define PACKAGE_YEAR "2007"
| #define PACKAGE_DATE "07/2007"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1701: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-cygwin
ac_cv_build_alias=i686-pc-cygwin
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBTIFF_CFLAGS_set=
ac_cv_env_LIBTIFF_CFLAGS_value=
ac_cv_env_LIBTIFF_LIBS_set=
ac_cv_env_LIBTIFF_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-cygwin
ac_cv_host_alias=i686-pc-cygwin
ac_cv_prog_ac_ct_CXX=cl.exe

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
CC=''
CFLAGS=''
CPPFLAGS=''
CXX='cl.exe'
CXXCPP=''
CXXFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
HAVE_LIBTIFF_FALSE=''
HAVE_LIBTIFF_TRUE=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTIFF_CFLAGS=''
LIBTIFF_LIBS=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
OBJEXT=''
PACKAGE=''
PACKAGE_BUGREPORT='theraysmith@gmail.com'
PACKAGE_DATE='07/2007'
PACKAGE_NAME='tesseract'
PACKAGE_STRING='tesseract 2.00'
PACKAGE_TARNAME='tesseract'
PACKAGE_VERSION='2.00'
PACKAGE_YEAR='2007'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
USING_CL_FALSE=''
USING_CL_TRUE=''
VERSION=''
ac_ct_CC=''
ac_ct_CXX='cl.exe'
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-cygwin'
host_alias=''
host_cpu='i686'
host_os='cygwin'
host_vendor='pc'
includedir='${prefix}/include/tesseract'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "theraysmith@gmail.com"
#define PACKAGE_DATE "07/2007"
#define PACKAGE_NAME "tesseract"
#define PACKAGE_NAME "tesseract"
#define PACKAGE_STRING "tesseract 2.00"
#define PACKAGE_TARNAME "tesseract"
#define PACKAGE_VERSION "2.00"
#define PACKAGE_VERSION "2.00"
#define PACKAGE_YEAR "2007"

configure: exit 77