Hi all,

this is what make produces when it should make the training tools:
sorry for sending all the stuff but maybe it might be interesting.


$ make training
make[1]: Entering directory '/home/Besitzer/tesseractsrc/training'
depbase=`echo boxchar.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT boxchar.lo -MD -MP -MF $depb
ase.Tpo -c -o boxchar.lo boxchar.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT boxchar.lo -MD -MP -MF .deps/boxchar.Tpo -c boxchar.cpp -o b
oxchar.o
depbase=`echo commandlineflags.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT commandlineflags.lo -MD -MP
-MF $depbase.Tpo -c -o commandlineflags.lo commandlineflags.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT commandlineflags.lo -MD -MP -MF .deps/commandlineflags.Tpo -
c commandlineflags.cpp -o commandlineflags.o
depbase=`echo commontraining.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT commontraining.lo -MD -MP -M
F $depbase.Tpo -c -o commontraining.lo commontraining.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT commontraining.lo -MD -MP -MF .deps/commontraining.Tpo -c co
mmontraining.cpp -o commontraining.o
depbase=`echo degradeimage.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT degradeimage.lo -MD -MP -MF
$depbase.Tpo -c -o degradeimage.lo degradeimage.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT degradeimage.lo -MD -MP -MF .deps/degradeimage.Tpo -c degrad
eimage.cpp -o degradeimage.o
depbase=`echo fileio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT fileio.lo -MD -MP -MF $depba
se.Tpo -c -o fileio.lo fileio.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT fileio.lo -MD -MP -MF .deps/fileio.Tpo -c fileio.cpp -o file
io.o
depbase=`echo ligature_table.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT ligature_table.lo -MD -MP -M
F $depbase.Tpo -c -o ligature_table.lo ligature_table.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT ligature_table.lo -MD -MP -MF .deps/ligature_table.Tpo -c li
gature_table.cpp -o ligature_table.o
depbase=`echo normstrngs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT normstrngs.lo -MD -MP -MF $d
epbase.Tpo -c -o normstrngs.lo normstrngs.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT normstrngs.lo -MD -MP -MF .deps/normstrngs.Tpo -c normstrngs
.cpp -o normstrngs.o
depbase=`echo pango_font_info.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT pango_font_info.lo -MD -MP -
MF $depbase.Tpo -c -o pango_font_info.lo pango_font_info.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT pango_font_info.lo -MD -MP -MF .deps/pango_font_info.Tpo -c
pango_font_info.cpp -o pango_font_info.o
pango_font_info.cpp: In member function 'bool tesseract::PangoFontInfo::ParseFon
tDescription(const PangoFontDescription*)':
pango_font_info.cpp:223:46: error: 'strcasestr' was not declared in this scope
   is_fraktur_ = (strcasestr(family, "Fraktur") != NULL);
                                              ^
Makefile:875: recipe for target 'pango_font_info.lo' failed
make[1]: *** [pango_font_info.lo] Error 1
make[1]: Leaving directory '/home/Besitzer/tesseractsrc/training'
Makefile:880: recipe for target 'training' failed
make: *** [training] Error 2

Besitzer@simon ~/tesseractsrc
$ make training-install
make[1]: Entering directory '/home/Besitzer/tesseractsrc/training'
depbase=`echo pango_font_info.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../cc util -I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I../vs2010/port -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/f reetype2 -I/usr/include/libpng16 -std=gnu++11 -MT pango_font_info.lo -MD -MP -
MF $depbase.Tpo -c -o pango_font_info.lo pango_font_info.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../viewe r -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I.. /vs2010/port -I/usr/include/leptonica -D_REENTRANT -I/usr/include/pango-1.0 -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/incl ude/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/libpng 16 -std=gnu++11 -MT pango_font_info.lo -MD -MP -MF .deps/pango_font_info.Tpo -c
pango_font_info.cpp -o pango_font_info.o
pango_font_info.cpp: In member function 'bool tesseract::PangoFontInfo::ParseFon
tDescription(const PangoFontDescription*)':
pango_font_info.cpp:223:46: error: 'strcasestr' was not declared in this scope
   is_fraktur_ = (strcasestr(family, "Fraktur") != NULL);
                                              ^
Makefile:875: recipe for target 'pango_font_info.lo' failed
make[1]: *** [pango_font_info.lo] Error 1
make[1]: Leaving directory '/home/Besitzer/tesseractsrc/training'
Makefile:882: recipe for target 'training-install' failed
make: *** [training-install] 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 [email protected].
To post to this group, send email to [email protected].
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/55B12C3C.3010908%40vol.at.
For more options, visit https://groups.google.com/d/optout.

Reply via email to