should be fixed - pull updates from git repo... Zdenko
On Mon, Jul 20, 2015 at 6:13 PM, Simon Eigeldinger <simon.eigeldin...@vol.at > wrote: > Hi all, > > just tried to compile tesseract on windows using cygwin from the git repo. > > this is what i got. > looks pretty fine until we reach make. > though i post the full stuff. > i think i haven't forgotten any dependencies. > > maybe someone could have a look at this? > thanks. > > $ ./autogen.sh --prefix=/home/Besitzer/tesseractbin > > Running aclocal > Running libtoolize > libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. > libtoolize: copying file 'config/ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. > libtoolize: copying file 'm4/libtool.m4' > libtoolize: copying file 'm4/ltoptions.m4' > libtoolize: copying file 'm4/ltsugar.m4' > libtoolize: copying file 'm4/ltversion.m4' > libtoolize: copying file 'm4/lt~obsolete.m4' > Running autoheader > Running automake --add-missing --copy > configure.ac:65: installing 'config/missing' > api/Makefile.am: installing 'config/depcomp' > Running autoconf > > All done. > To build the software now, do something like: > > $ ./configure [--enable-debug] [...other options] > > $ ./configure --prefix=/home/Besitzer/tesseractbin > --disable-tessdata-prefix -- > disable-shared > > Using git revision: 3.04.00-14-g5414087 > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /usr/bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether make supports nested variables... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking build system type... i686-pc-cygwin > checking host system type... i686-pc-cygwin > checking --enable-graphics argument... yes > checking --enable-embedded argument... no > checking --enable-opencl argument... no > checking --enable-visibility argument... no > checking --enable-multiple-libraries argument... no > checking whether to use tessdata-prefix... no > checking whether to enable debugging... no > checking for g++... g++ > checking whether the C++ compiler works... yes > checking for C++ compiler default output file name... a.exe > checking for suffix of executables... .exe > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking how to print strings... printf > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking for a sed that does not truncate output... /usr/bin/sed > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for fgrep... /usr/bin/grep -F > checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe > checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 8192 > checking how to convert i686-pc-cygwin file names to i686-pc-cygwin > format... fu > nc_convert_file_noop > checking how to convert i686-pc-cygwin file names to toolchain format... > func_co > nvert_file_noop > checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object > files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... file_magic ^x86 archive > import| > ^x86 DLL > checking for dlltool... dlltool > checking how to associate runtime and link libraries... > func_cygming_dll_for_imp > lib > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for a working dd... /usr/bin/dd > checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 > checking for mt... mt > checking if mt is a manifest tool... no > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC > checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports > shared > libraries... yes > checking dynamic linker characteristics... Win32 ld.exe > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... no > checking whether to build static libraries... yes > checking how to run the C++ preprocessor... g++ -E > checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe > checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes > checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports > shared > libraries... yes > checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC > checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking if g++ supports -c -o file.o... (cached) yes > checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports > shared > libraries... yes > checking dynamic linker characteristics... Win32 ld.exe > checking how to hardcode library paths into programs... immediate > checking whether byte ordering is bigendian... no > checking if compiling with clang... no > checking whether compiler supports C++11... yes > checking for snprintf... yes > checking for library containing sem_init... none required > checking for ANSI C header files... (cached) yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking sys/ipc.h usability... yes > checking sys/ipc.h presence... yes > checking for sys/ipc.h... yes > checking sys/shm.h usability... yes > checking sys/shm.h presence... yes > checking for sys/shm.h... yes > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking malloc.h usability... yes > checking malloc.h presence... yes > checking for malloc.h... yes > checking for stdbool.h that conforms to C99... yes > checking for _Bool... no > checking whether #! works in shell scripts... yes > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... no > checking for getline... yes > checking for wchar_t... yes > checking for long long int... yes > checking for mbstate_t... yes > checking for leptonica... yes > checking for pixCreate in -llept... yes > checking leptonica version >= 1.71... yes > checking unicode/uchar.h usability... yes > checking unicode/uchar.h presence... yes > checking for unicode/uchar.h... yes > checking pango-1.0/pango/pango-features.h usability... yes > checking pango-1.0/pango/pango-features.h presence... yes > checking for pango-1.0/pango/pango-features.h... yes > checking cairo/cairo-version.h usability... yes > checking cairo/cairo-version.h presence... yes > checking for cairo/cairo-version.h... yes > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating Makefile > config.status: creating tesseract.pc > config.status: creating api/Makefile > config.status: creating ccmain/Makefile > config.status: creating opencl/Makefile > config.status: creating ccstruct/Makefile > config.status: creating ccutil/Makefile > config.status: creating classify/Makefile > config.status: creating cube/Makefile > config.status: creating cutil/Makefile > config.status: creating dict/Makefile > config.status: creating neural_networks/runtime/Makefile > config.status: creating textord/Makefile > config.status: creating viewer/Makefile > config.status: creating wordrec/Makefile > config.status: creating tessdata/Makefile > config.status: creating tessdata/configs/Makefile > config.status: creating tessdata/tessconfigs/Makefile > config.status: creating testing/Makefile > config.status: creating java/Makefile > config.status: creating java/com/Makefile > config.status: creating java/com/google/Makefile > config.status: creating java/com/google/scrollview/Makefile > config.status: creating java/com/google/scrollview/events/Makefile > config.status: creating java/com/google/scrollview/ui/Makefile > config.status: creating doc/Makefile > config.status: creating training/Makefile > config.status: creating config_auto.h > config.status: executing depfiles commands > config.status: executing libtool commands > > Configuration is done. > You can now build and install tesseract by running: > > $ make > $ sudo make install > > Training tools can be build and installed (after building of tesseract) > with: > > $ make training > $ sudo make training-install > > > $ make > > make all-recursive > make[1]: Entering directory '/home/Besitzer/tesseractsrc' > Making all in ccutil > make[2]: Entering directory '/home/Besitzer/tesseractsrc/ccutil' > make[3]: Entering directory '/home/Besitzer/tesseractsrc/ccutil' > depbase=`echo ambigs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I.. -O2 > -DNDEBUG -I../vs2008/port -DWINDLLNAME=\"libtesseract\" > -I/usr/include/leptoni > ca -D_REENTRANT -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib > -2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/i > nclude -I/usr/include/pixman-1 -I/usr/include/freetype2 > -I/usr/include/libpng16 > -I/usr/include/freetype2 -I/usr/include/libpng16 -std=gnu++11 -MT > ambigs.lo - > MD -MP -MF $depbase.Tpo -c -o ambigs.lo ambigs.cpp &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG > -I../vs2008/port -D > WINDLLNAME=\"libtesseract\" -I/usr/include/leptonica -D_REENTRANT > -I/usr/include > /pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/ca > iro -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/pixman-1 > -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 > -I/usr > /include/libpng16 -std=gnu++11 -MT ambigs.lo -MD -MP -MF .deps/ambigs.Tpo > -c amb > igs.cpp -o ambigs.o > ambigs.cpp:31:22: fatal error: strtok_r.h: No such file or directory > #include "strtok_r.h" > ^ > compilation terminated. > Makefile:568: recipe for target 'ambigs.lo' failed > make[3]: *** [ambigs.lo] Error 1 > make[3]: Leaving directory '/home/Besitzer/tesseractsrc/ccutil' > Makefile:610: recipe for target 'all-recursive' failed > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory '/home/Besitzer/tesseractsrc/ccutil' > Makefile:465: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/home/Besitzer/tesseractsrc' > Makefile:373: recipe for target 'all' failed > make: *** [all] Error 2 > > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tesseract-ocr+unsubscr...@googlegroups.com. > To post to this group, send email to tesseract-ocr@googlegroups.com. > Visit this group at http://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/55AD1E1D.4010006%40vol.at. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8y4cwPZSp80ERSi584O8af9enUTjP_6FsaW95z4EM4%2B7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.