Closed ghost closed 7 years ago
run ./autobuild and then ./configure make -j4 sudo make install sudo ldconfig
-j4 can be used on a machine with 4 cores cpu. Use -j2 if have 2 core. Without -jN the compilation will run on 1 core only, and thus will take more time.
Looks ok to me:
``` dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ ./autobuild 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' configure.ac:8: installing 'config/compile' configure.ac:8: installing 'config/config.guess' configure.ac:8: installing 'config/config.sub' configure.ac:10: installing 'config/install-sh' configure.ac:10: installing 'config/missing' prog/Makefile.am: installing 'config/depcomp' parallel-tests: installing 'config/test-driver' dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ ./configure checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) 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... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /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... -fPIC -DPIC checking if gcc PIC flag -fPIC -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/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for gawk... (cached) gawk checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for cos in -lm... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ZLIB... yes checking for LIBPNG... yes checking for JPEG... no checking for jpeg_read_scanlines in -ljpeg... no checking for DGifOpenFileHandle in -lgif... no checking for LIBTIFF... no checking for TIFFOpen in -ltiff... no checking for LIBWEBP... no checking for WebPGetInfo in -lwebp... no checking for LIBJP2K... no checking for opj_create_decompress in -lopenjp2... no checking whether make supports nested variables... (cached) yes checking for size_t... yes checking whether byte ordering is bigendian... no checking whether compiler supports -Wl,--as-needed... yes checking for fmemopen... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/endianness.h config.status: creating src/Makefile config.status: creating prog/Makefile config.status: creating lept.pc config.status: creating config_auto.h config.status: executing libtool commands config.status: executing depfiles commands dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ make -j make all-recursive make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' Making all in src make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' CC affinecompose.lo CC affine.lo CC adaptmap.lo CC bytearray.lo CC ccbord.lo CC bilateral.lo CC bilinear.lo CC blend.lo CC bootnumgen2.lo CC bmpiostub.lo CC bootnumgen3.lo CC binarize.lo CC binexpand.lo CC bardecode.lo CC binreduce.lo CC baseline.lo CC bbuffer.lo CC boxfunc3.lo CC boxfunc2.lo CC colorcontent.lo CC bmf.lo CC bootnumgen1.lo CC classapp.lo CC boxfunc4.lo CC arrayaccess.lo CC bmpio.lo CC ccthin.lo CC coloring.lo CC boxfunc1.lo CC colormap.lo CC colorquant1.lo CC colorquant2.lo CC colormorph.lo CC colorspace.lo CC convertfiles.lo CC dewarp1.lo CC correlscore.lo CC dewarp2.lo CC dnabasic.lo CC boxbasic.lo CC dewarp3.lo CC convolve.lo CC dewarp4.lo CC conncomp.lo CC colorseg.lo CC compare.lo CC dnafunc1.lo CC dwacomblow.2.lo CC dnahash.lo CC dwacomb.2.lo CC flipdetect.lo CC edge.lo CC fhmtgenlow.1.lo CC encoding.lo CC fhmtgen.1.lo CC enhance.lo CC finditalic.lo CC fhmtauto.lo CC fmorphgen.1.lo CC fmorphauto.lo CC fmorphgenlow.1.lo CC fpix1.lo CC fliphmtgen.lo CC gifio.lo CC gifiostub.lo CC gplot.lo CC fpix2.lo CC grayquant.lo CC heap.lo CC jbclass.lo CC graphics.lo CC graymorph.lo CC grayquantlow.lo CC jp2kheader.lo CC jp2kio.lo CC jp2kheaderstub.lo CC jpegio.lo CC jpegiostub.lo CC kernel.lo CC libversions.lo CC leptwin.lo CC jp2kiostub.lo CC numabasic.lo CC map.lo CC list.lo CC maze.lo CC morphseq.lo CC morph.lo CC morphdwa.lo CC morphapp.lo CC paintcmap.lo CC numafunc1.lo CC pageseg.lo CC numafunc2.lo CC parseprotos.lo CC partition.lo CC pdfio1.lo CC pdfio1stub.lo CC pix2.lo CC pix3.lo CC pix1.lo CC pdfio2stub.lo CC pdfio2.lo CC pixabasic.lo CC pix5.lo CC pixacc.lo CC pix4.lo CC pixalloc.lo CC pixafunc1.lo CC pixafunc2.lo CC pngiostub.lo CC pixcomp.lo CC pixconv.lo CC pixlabel.lo CC pixtiling.lo CC pngio.lo CC pixarith.lo CC pnmio.lo CC pnmiostub.lo CC projective.lo CC ptabasic.lo CC ptafunc1.lo CC psio2.lo CC psio2stub.lo CC ptafunc2.lo CC ptra.lo CC psio1stub.lo CC quadtree.lo CC psio1.lo CC rbtree.lo CC rank.lo CC readbarcode.lo CC readfile.lo CC recogbasic.lo CC queue.lo CC recogdid.lo CC recogident.lo CC recogtrain.lo CC ropiplow.lo CC rop.lo CC roplow.lo CC sarray2.lo CC regutils.lo CC rotate.lo CC rotateshear.lo CC rotateam.lo CC rotateorth.lo CC runlength.lo CC sarray1.lo CC rotateamlow.lo CC seedfilllow.lo CC scalelow.lo CC seedfill.lo CC scale.lo CC sel1.lo CC selgen.lo CC sel2.lo CC shear.lo CC spixio.lo CC skew.lo CC stringcode.lo CC stack.lo CC strokes.lo CC sudoku.lo CC textops.lo CC utils2.lo CC tiffio.lo CC tiffiostub.lo CC utils1.lo CC warper.lo CC watershed.lo CC webpio.lo CC zlibmemstub.lo CC zlibmem.lo CC writefile.lo CC webpiostub.lo CCLD liblept.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' Making all in prog make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' CC convertfilestopdf.o CC convertfilestops.o CC convertsegfilestopdf.o CC converttopdf.o CC convertsegfilestops.o CC convertformat.o CC converttops.o CC fileinfo.o CC conversion_reg.o CC printimage.o CC dwalinear.3.o CC dwalinearlow.3.o CC edge_reg.o CC expand_reg.o CC findcorners_reg.o CC adaptmap_reg.o CC grayquant_reg.o CC binarize_reg.o CC colorize_reg.o CC printtiff.o CC colorspace_reg.o CC conncomp_reg.o CC dither_reg.o CC findpattern_reg.o CC compare_reg.o CC compfilter_reg.o CC enhance_reg.o CC alphaxform_reg.o CC colormask_reg.o CC blend1_reg.o CC colorcontent_reg.o CC ccthin2_reg.o CC colormorph_reg.o CC blend4_reg.o CC bilateral2_reg.o CC boxa1_reg.o CC distance_reg.o CC genfonts_reg.o CC xtractprotos.o CC blend3_reg.o CC blackwhite_reg.o CC blend2_reg.o CC coloring_reg.o CC cmapquant_reg.o CC splitimage2pdf.o CC graymorph1_reg.o CC alphaops_reg.o CC fpix1_reg.o CC affine_reg.o CC dwamorph1_reg.o CC ccthin1_reg.o CC printsplitimage.o CC insert_reg.o CC baseline_reg.o CC colorseg_reg.o CC dewarp_reg.o CC colorquant_reg.o CC convolve_reg.o CC graymorph2_reg.o CC bilinear_reg.o CC dna_reg.o CC hardlight_reg.o CC fpix2_reg.o CC lineremoval_reg.o CC kernel_reg.o CC ioformats_reg.o CC jpegio_reg.o CC logicops_reg.o CC pta_reg.o CC rankbin_reg.o CC rankhisto_reg.o CC rank_reg.o CC psioseg_reg.o CC rasteropip_reg.o CC rotate1_reg.o CC scale_reg.o CC rotate2_reg.o CC selio_reg.o CC seedspread_reg.o CC psio_reg.o CC shear1_reg.o CC jbclass_reg.o CC shear2_reg.o CC rotateorth_reg.o CC skew_reg.o CC paintmask_reg.o CC splitcomp_reg.o CC label_reg.o CC paint_reg.o CC pageseg_reg.o CC multitype_reg.o CC overlap_reg.o CC pixadisp_reg.o CC pixserial_reg.o CC mtiff_reg.o CC pngio_reg.o CC pnmio_reg.o CC projection_reg.o CC projective_reg.o CC pixa2_reg.o CC newspaper_reg.o CC pdfseg_reg.o CC pixcomp_reg.o CC nearline_reg.o CC maze_reg.o CC subpixel_reg.o CC extrema_reg.o CC dwamorph2_reg.o CC binmorph5_reg.o CC boxa2_reg.o CC equal_reg.o CC threshnorm_reg.o CC binmorph1_reg.o CC binmorph2_reg.o CC bilateral1_reg.o CC xformbox_reg.o CC binmorph3_reg.o CC warper_reg.o CC writetext_reg.o CC translate_reg.o CC binmorph4_reg.o CC adaptnorm_reg.o CC fhmtauto_reg.o CC alltests_reg.o CC files_reg.o CC texturefill_reg.o CC fmorphauto_reg.o CC grayfill_reg.o CC locminmax_reg.o CC flipdetect_reg.o CC morphseq_reg.o CC heap_reg.o CC numa1_reg.o CC pixalloc_reg.o CC pixa1_reg.o CC lowaccess_reg.o CC numa2_reg.o CC pixmem_reg.o CC ptra1_reg.o CC pixtile_reg.o CC string_reg.o CC smallpix_reg.o CC rasterop_reg.o CC ptra2_reg.o CC smoothedge_reg.o CC adaptmap_dark.o CC wordboxes_reg.o CC arabic_lines.o CC autogen.137.o CC barcodetest.o CC autogentest1.o CC bincompare.o CC binarize_set.o CC autogentest2.o CC binarizefiles.o CC blendcmaptest.o CC arithtest.o CC buffertest.o CC byteatest.o CC cleanpdf.o CC cctest1.o CC ccbordtest.o CC comparepages.o CC comparepixa.o CC colorsegtest.o CC comparetest.o CC cornertest.o CC concatpdf.o CC contrasttest.o CC converttogray.o CC corrupttest.o CC croptest.o CC croptext.o CC dewarptest4.o CC dewarptest2.o CC dewarptest1.o CC dewarprules.o CC dewarptest5.o CC digitprep1.o CC dewarptest3.o CC displaypixa.o CC displayboxa.o CC displaypix.o CC displayboxes_on_pixa.o CC falsecolortest.o CC dwalineargen.o CC fcombautogen.o CC findbinding.o CC find_colorregions.o CC fhmtautogen.o CC findpattern1.o CC graphicstest.o CC flipselgen.o CC fmorphautogen.o CC findpattern3.o CC fpixcontours.o CC gammatest.o CC findpattern2.o CC graymorphtest.o CC gifio_leaktest.o CC hashtest.o CC jbcorrelation.o CC iotest.o CC htmlviewer.o CC histotest.o CC italictest.o CC jbrankhaus.o CC listtest.o CC livre_adapt.o CC jbwords.o CC livre_makefigs.o CC livre_orient.o CC livre_hmt.o CC livre_seedgen.o CC livre_pageseg.o CC misctest1.o CC maketile.o CC maptest.o CC livre_tophat.o CC modifyhuesat.o CC numaranktest.o CC morphtest1.o CC otsutest2.o CC pagesegtest1.o CC otsutest1.o CC partitiontest.o CC pagesegtest2.o CC pdfiotest.o CC percolatetest.o CC recogsort.o CC pixafileinfo.o CC quadtreetest.o CC pixaatest.o CC plottest.o CC recog_bootnum.o CC rbtreetest.o CC recogtest5.o CC recogtest3.o CC recogtest2.o CC recogtest1.o CC recogtest4.o CC rotatefastalt.o CC renderfonts.o CC removecmap.o CC rotateorthtest1.o CC reducetest.o CC runlengthtest.o CC rotatetest1.o CC seedfilltest.o CC scaletest1.o CC settest.o CC scaletest2.o CC scaleandtile.o CC sharptest.o CC sheartest.o CC showedges.o CC recogtest6.o CC skewtest.o CC snapcolortest.o CC sorttest.o CC sudokutest.o CC trctest.o CC watershedtest.o CC writemtiff.o CC warpertest.o CC yuvtest.o CC wordsinorder.o CCLD fileinfo CCLD converttops CCLD convertfilestopdf CCLD converttopdf CCLD printtiff CCLD convertfilestops CCLD convertsegfilestopdf CCLD convertsegfilestops CCLD dither_reg CCLD printimage CCLD rankbin_reg CCLD bilateral2_reg CCLD rasteropip_reg CCLD colormorph_reg CCLD fpix2_reg CCLD edge_reg CCLD blend4_reg CCLD heap_reg CCLD cmapquant_reg CCLD selio_reg CCLD lineremoval_reg CCLD colorseg_reg CCLD pageseg_reg CCLD printsplitimage CCLD blackwhite_reg CCLD ioformats_reg CCLD colorcontent_reg CCLD autogentest1 CCLD dwalineargen CCLD bincompare CCLD displaypix CCLD barcodetest CCLD splitimage2pdf CCLD baseline_reg CCLD conncomp_reg CCLD dewarp_reg CCLD convolve_reg CCLD enhance_reg CCLD expand_reg CCLD insert_reg CCLD dna_reg CCLD findcorners_reg CCLD findpattern_reg CCLD genfonts_reg CCLD distance_reg CCLD graymorph2_reg CCLD jbclass_reg CCLD hardlight_reg CCLD logicops_reg CCLD label_reg CCLD jpegio_reg CCLD maze_reg CCLD nearline_reg CCLD paintmask_reg CCLD overlap_reg CCLD newspaper_reg CCLD pdfseg_reg CCLD pixa2_reg CCLD pixcomp_reg CCLD pixserial_reg CCLD pixadisp_reg CCLD pnmio_reg CCLD projection_reg CCLD rankhisto_reg CCLD rotate1_reg CCLD psio_reg CCLD pta_reg CCLD rank_reg CCLD psioseg_reg CCLD projective_reg CCLD scale_reg CCLD shear2_reg CCLD rotateorth_reg CCLD shear1_reg CCLD seedspread_reg CCLD skew_reg CCLD splitcomp_reg CCLD subpixel_reg CCLD texturefill_reg CCLD rotate2_reg CCLD bilateral1_reg CCLD writetext_reg CCLD binmorph2_reg CCLD adaptnorm_reg CCLD binmorph4_reg CCLD translate_reg CCLD threshnorm_reg CCLD binmorph5_reg CCLD boxa2_reg CCLD warper_reg CCLD equal_reg CCLD extrema_reg CCLD fhmtauto_reg CCLD alltests_reg CCLD files_reg CCLD flipdetect_reg CCLD pixalloc_reg CCLD grayfill_reg CCLD morphseq_reg CCLD fmorphauto_reg CCLD pixmem_reg CCLD pixtile_reg CCLD locminmax_reg CCLD pixa1_reg CCLD string_reg CCLD wordboxes_reg CCLD ptra2_reg CCLD smallpix_reg CCLD ptra1_reg CCLD rasterop_reg CCLD adaptmap_dark CCLD arabic_lines CCLD smoothedge_reg CCLD autogentest2 CCLD arithtest CCLD binarize_set CCLD blendcmaptest CCLD binarizefiles CCLD colorsegtest CCLD byteatest CCLD buffertest CCLD ccbordtest CCLD cctest1 CCLD cleanpdf CCLD comparepixa CCLD comparepages CCLD concatpdf CCLD comparetest CCLD cornertest CCLD contrasttest CCLD dewarprules CCLD dewarptest1 CCLD croptest CCLD converttogray CCLD corrupttest CCLD croptext CCLD dewarptest2 CCLD dewarptest4 CCLD dewarptest3 CCLD fcombautogen CCLD displaypixa CCLD dewarptest5 CCLD falsecolortest CCLD displayboxes_on_pixa CCLD findbinding CCLD displayboxa CCLD digitprep1 CCLD findpattern3 CCLD findpattern2 CCLD fhmtautogen CCLD findpattern1 CCLD flipselgen CCLD fmorphautogen CCLD find_colorregions CCLD graphicstest CCLD graymorphtest CCLD gammatest CCLD gifio_leaktest CCLD fpixcontours CCLD hashtest CCLD histotest CCLD jbwords CCLD iotest CCLD italictest CCLD jbrankhaus CCLD jbcorrelation CCLD livre_hmt CCLD livre_orient CCLD listtest CCLD livre_makefigs CCLD livre_adapt CCLD htmlviewer CCLD numaranktest CCLD misctest1 CCLD maketile CCLD modifyhuesat CCLD livre_seedgen CCLD morphtest1 CCLD otsutest1 CCLD livre_tophat CCLD pagesegtest2 CCLD otsutest2 CCLD quadtreetest CCLD plottest CCLD pagesegtest1 CCLD partitiontest CCLD rbtreetest CCLD pixafileinfo CCLD recog_bootnum CCLD pixaatest CCLD percolatetest CCLD recogtest2 CCLD recogtest1 CCLD recogsort CCLD recogtest4 CCLD recogtest6 CCLD recogtest3 CCLD reducetest CCLD recogtest5 CCLD renderfonts CCLD rotateorthtest1 CCLD rotatetest1 CCLD removecmap CCLD runlengthtest CCLD scaleandtile CCLD scaletest1 CCLD scaletest2 CCLD sheartest CCLD settest CCLD snapcolortest CCLD sharptest CCLD showedges CCLD seedfilltest CCLD skewtest CCLD trctest CCLD warpertest CCLD yuvtest CCLD sorttest CCLD watershedtest CCLD wordsinorder CCLD writemtiff CCLD sudokutest CCLD alphaxform_reg CCLD convertformat CCLD alphaops_reg CCLD adaptmap_reg CCLD bilinear_reg CCLD xtractprotos CCLD affine_reg CCLD ccthin1_reg CCLD binarize_reg CCLD boxa1_reg CCLD blend1_reg CCLD blend2_reg CCLD ccthin2_reg CCLD blend3_reg CCLD colorize_reg CCLD colormask_reg CCLD colorquant_reg CCLD compare_reg CCLD colorspace_reg CCLD coloring_reg CCLD compfilter_reg CCLD graymorph1_reg CCLD fpix1_reg CCLD conversion_reg CCLD mtiff_reg CCLD paint_reg CCLD xformbox_reg CCLD kernel_reg CCLD pngio_reg CCLD multitype_reg CCLD binmorph1_reg CCLD binmorph3_reg CCLD numa1_reg CCLD grayquant_reg CCLD numa2_reg CCLD lowaccess_reg CCLD livre_pageseg CCLD rotatefastalt CCLD maptest CCLD pdfiotest CCLD dwamorph1_reg CCLD dwamorph2_reg make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ sudo make install [sudo] password for dan9er: Making install in src make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' /bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c liblept.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/liblept.so.5.0.1 /usr/local/lib/liblept.so.5.0.1 libtool: install: (cd /usr/local/lib && { ln -s -f liblept.so.5.0.1 liblept.so.5 || { rm -f liblept.so.5 && ln -s liblept.so.5.0.1 liblept.so.5; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f liblept.so.5.0.1 liblept.so || { rm -f liblept.so && ln -s liblept.so.5.0.1 liblept.so; }; }) libtool: install: /usr/bin/install -c .libs/liblept.lai /usr/local/lib/liblept.la libtool: install: /usr/bin/install -c .libs/liblept.a /usr/local/lib/liblept.a libtool: install: chmod 644 /usr/local/lib/liblept.a libtool: install: ranlib /usr/local/lib/liblept.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/mkdir -p '/usr/local/include/leptonica' /usr/bin/install -c -m 644 allheaders.h alltypes.h array.h arrayaccess.h bbuffer.h bilateral.h bmf.h bmfdata.h bmp.h ccbord.h dewarp.h endianness.h environ.h gplot.h heap.h imageio.h jbclass.h leptwin.h list.h morph.h pix.h ptra.h queue.h rbtree.h readbarcode.h recog.h regutils.h stack.h stringcode.h sudoku.h watershed.h '/usr/local/include/leptonica' make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' Making install in prog make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' /bin/mkdir -p '/usr/local/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c convertfilestopdf convertfilestops convertformat convertsegfilestopdf convertsegfilestops converttopdf converttops fileinfo printimage printsplitimage printtiff splitimage2pdf xtractprotos '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/convertfilestopdf /usr/local/bin/convertfilestopdf libtool: install: /usr/bin/install -c .libs/convertfilestops /usr/local/bin/convertfilestops libtool: install: /usr/bin/install -c .libs/convertformat /usr/local/bin/convertformat libtool: install: /usr/bin/install -c .libs/convertsegfilestopdf /usr/local/bin/convertsegfilestopdf libtool: install: /usr/bin/install -c .libs/convertsegfilestops /usr/local/bin/convertsegfilestops libtool: install: /usr/bin/install -c .libs/converttopdf /usr/local/bin/converttopdf libtool: install: /usr/bin/install -c .libs/converttops /usr/local/bin/converttops libtool: install: /usr/bin/install -c .libs/fileinfo /usr/local/bin/fileinfo libtool: install: /usr/bin/install -c .libs/printimage /usr/local/bin/printimage libtool: install: /usr/bin/install -c .libs/printsplitimage /usr/local/bin/printsplitimage libtool: install: /usr/bin/install -c .libs/printtiff /usr/local/bin/printtiff libtool: install: /usr/bin/install -c .libs/splitimage2pdf /usr/local/bin/splitimage2pdf libtool: install: /usr/bin/install -c .libs/xtractprotos /usr/local/bin/xtractprotos make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 lept.pc '/usr/local/lib/pkgconfig' make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ sudo ldconfig dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ ```
checking for JPEG... no checking for jpeg_read_scanlines in -ljpeg... no checking for LIBTIFF... no checking for TIFFOpen in -ltiff... no
Not so good.
You should install libjpeg(-turbo) and libtiff before installing Leptonica.
If you have Ubuntu/Debian run
sudo apt-get install libjpeg-dev sudo apt-get install libtiff-dev
and re-compile leptonica.
Um, how do I remove the bad compiled leptonica from my system?
make clean sudo make uninstall
From anywhere or the leptonica-1.74.4 folder?
From the leptonica-1.74.4 folder
Ok, did that and rebuilded:
``` dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ sudo apt-get install libjpeg-dev [sudo] password for dan9er: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libjpeg-turbo8-dev libjpeg8-dev The following NEW packages will be installed: libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded. Need to get 257 kB of archives. After this operation, 1,471 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg-turbo8-dev amd64 1.4.2-0ubuntu3 [254 kB] Get:2 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8-dev amd64 8c-2ubuntu8 [1,552 B] Get:3 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg-dev amd64 8c-2ubuntu8 [1,546 B] Fetched 257 kB in 0s (531 kB/s) Selecting previously unselected package libjpeg-turbo8-dev:amd64. (Reading database ... 279532 files and directories currently installed.) Preparing to unpack .../libjpeg-turbo8-dev_1.4.2-0ubuntu3_amd64.deb ... Unpacking libjpeg-turbo8-dev:amd64 (1.4.2-0ubuntu3) ... Selecting previously unselected package libjpeg8-dev:amd64. Preparing to unpack .../libjpeg8-dev_8c-2ubuntu8_amd64.deb ... Unpacking libjpeg8-dev:amd64 (8c-2ubuntu8) ... Selecting previously unselected package libjpeg-dev:amd64. Preparing to unpack .../libjpeg-dev_8c-2ubuntu8_amd64.deb ... Unpacking libjpeg-dev:amd64 (8c-2ubuntu8) ... Setting up libjpeg-turbo8-dev:amd64 (1.4.2-0ubuntu3) ... Setting up libjpeg8-dev:amd64 (8c-2ubuntu8) ... Setting up libjpeg-dev:amd64 (8c-2ubuntu8) ... dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ sudo apt-get install libtiff-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libtiff5-dev' instead of 'libtiff-dev' The following additional packages will be installed: libjbig-dev liblzma-dev libtiffxx5 Suggested packages: liblzma-doc The following NEW packages will be installed: libjbig-dev liblzma-dev libtiff5-dev libtiffxx5 0 upgraded, 4 newly installed, 0 to remove and 6 not upgraded. Need to get 434 kB of archives. After this operation, 1,764 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 libjbig-dev amd64 2.1-3.1 [24.8 kB] Get:2 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 liblzma-dev amd64 5.1.1alpha+20120614-2ubuntu2 [137 kB] Get:3 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiffxx5 amd64 4.0.6-1ubuntu0.2 [5,590 B] Get:4 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5-dev amd64 4.0.6-1ubuntu0.2 [267 kB] Fetched 434 kB in 0s (734 kB/s) Selecting previously unselected package libjbig-dev:amd64. (Reading database ... 279555 files and directories currently installed.) Preparing to unpack .../libjbig-dev_2.1-3.1_amd64.deb ... Unpacking libjbig-dev:amd64 (2.1-3.1) ... Selecting previously unselected package liblzma-dev:amd64. Preparing to unpack .../liblzma-dev_5.1.1alpha+20120614-2ubuntu2_amd64.deb ... Unpacking liblzma-dev:amd64 (5.1.1alpha+20120614-2ubuntu2) ... Selecting previously unselected package libtiffxx5:amd64. Preparing to unpack .../libtiffxx5_4.0.6-1ubuntu0.2_amd64.deb ... Unpacking libtiffxx5:amd64 (4.0.6-1ubuntu0.2) ... Selecting previously unselected package libtiff5-dev:amd64. Preparing to unpack .../libtiff5-dev_4.0.6-1ubuntu0.2_amd64.deb ... Unpacking libtiff5-dev:amd64 (4.0.6-1ubuntu0.2) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... Processing triggers for man-db (2.7.5-1) ... Setting up libjbig-dev:amd64 (2.1-3.1) ... Setting up liblzma-dev:amd64 (5.1.1alpha+20120614-2ubuntu2) ... Setting up libtiffxx5:amd64 (4.0.6-1ubuntu0.2) ... Setting up libtiff5-dev:amd64 (4.0.6-1ubuntu0.2) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ ./autobuild 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' configure.ac:8: installing 'config/compile' configure.ac:8: installing 'config/config.guess' configure.ac:8: installing 'config/config.sub' configure.ac:10: installing 'config/install-sh' configure.ac:10: installing 'config/missing' prog/Makefile.am: installing 'config/depcomp' parallel-tests: installing 'config/test-driver' dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ ./configure checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) 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... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /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... -fPIC -DPIC checking if gcc PIC flag -fPIC -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/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for gawk... (cached) gawk checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for cos in -lm... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ZLIB... yes checking for LIBPNG... yes checking for JPEG... yes checking for DGifOpenFileHandle in -lgif... no checking for LIBTIFF... yes checking for LIBWEBP... no checking for WebPGetInfo in -lwebp... no checking for LIBJP2K... no checking for opj_create_decompress in -lopenjp2... no checking whether make supports nested variables... (cached) yes checking for size_t... yes checking whether byte ordering is bigendian... no checking whether compiler supports -Wl,--as-needed... yes checking for fmemopen... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/endianness.h config.status: creating src/Makefile config.status: creating prog/Makefile config.status: creating lept.pc config.status: creating config_auto.h config.status: executing libtool commands config.status: executing depfiles commands dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ make -j make all-recursive make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' Making all in src make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' CC adaptmap.lo CC affine.lo CC bootnumgen1.lo CC bmpiostub.lo CC bbuffer.lo CC arrayaccess.lo CC affinecompose.lo CC bilinear.lo CC ccthin.lo CC bytearray.lo CC boxfunc1.lo CC bootnumgen3.lo CC binexpand.lo CC boxfunc2.lo CC bootnumgen2.lo CC bilateral.lo CC baseline.lo CC blend.lo CC bmf.lo CC bardecode.lo CC bmpio.lo CC binarize.lo CC boxbasic.lo CC boxfunc4.lo CC boxfunc3.lo CC ccbord.lo CC classapp.lo CC colorcontent.lo CC binreduce.lo CC dwacomblow.2.lo CC encoding.lo CC dwacomb.2.lo CC jpegio.lo CC compare.lo CC enhance.lo CC dnahash.lo CC fhmtauto.lo CC conncomp.lo CC edge.lo CC convertfiles.lo CC fhmtgen.1.lo CC convolve.lo CC fhmtgenlow.1.lo CC finditalic.lo CC fmorphauto.lo CC fmorphgenlow.1.lo CC fpix1.lo CC fmorphgen.1.lo CC coloring.lo CC flipdetect.lo CC colormorph.lo CC fpix2.lo CC dnafunc1.lo CC colorquant2.lo CC gifio.lo CC maze.lo CC fliphmtgen.lo CC colorseg.lo CC colorquant1.lo CC gifiostub.lo CC gplot.lo CC dnabasic.lo CC graphics.lo CC grayquantlow.lo CC heap.lo CC jbclass.lo CC jp2kheader.lo CC grayquant.lo CC jp2kheaderstub.lo CC graymorph.lo CC jp2kio.lo CC colorspace.lo CC dewarp1.lo CC correlscore.lo CC jp2kiostub.lo CC colormap.lo CC map.lo CC kernel.lo CC leptwin.lo CC libversions.lo CC list.lo CC jpegiostub.lo CC morph.lo CC morphapp.lo CC morphdwa.lo CC numafunc1.lo CC numafunc2.lo CC dewarp4.lo CC morphseq.lo CC numabasic.lo CC dewarp3.lo CC dewarp2.lo CC parseprotos.lo CC paintcmap.lo CC partition.lo CC pdfio1.lo CC pdfio1stub.lo CC pdfio2.lo CC pix1.lo CC pix2.lo CC pdfio2stub.lo CC pix3.lo CC pixabasic.lo CC pageseg.lo CC pix4.lo CC pixacc.lo CC pix5.lo CC pixafunc1.lo CC pixalloc.lo CC pixlabel.lo CC pixarith.lo CC pixconv.lo CC pixafunc2.lo CC pixtiling.lo CC pixcomp.lo CC pnmio.lo CC pngiostub.lo CC projective.lo CC pngio.lo CC pnmiostub.lo CC psio1.lo CC ptabasic.lo CC ptafunc1.lo CC psio1stub.lo CC psio2stub.lo CC psio2.lo CC ptafunc2.lo CC ptra.lo CC quadtree.lo CC queue.lo CC rank.lo CC readfile.lo CC readbarcode.lo CC recogbasic.lo CC rbtree.lo CC recogtrain.lo CC rop.lo CC recogident.lo CC recogdid.lo CC ropiplow.lo CC regutils.lo CC rotateam.lo CC roplow.lo CC rotateamlow.lo CC rotate.lo CC rotateorth.lo CC runlength.lo CC sarray2.lo CC scale.lo CC scalelow.lo CC rotateshear.lo CC sarray1.lo CC sel2.lo CC seedfill.lo CC sel1.lo CC shear.lo CC selgen.lo CC seedfilllow.lo CC skew.lo CC spixio.lo CC stack.lo CC stringcode.lo CC strokes.lo CC tiffiostub.lo CC sudoku.lo CC tiffio.lo CC textops.lo CC webpio.lo CC utils2.lo CC watershed.lo CC utils1.lo CC zlibmem.lo CC webpiostub.lo CC warper.lo CC zlibmemstub.lo CC writefile.lo CCLD liblept.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' Making all in prog make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' CC convertfilestopdf.o CC convertfilestops.o CC baseline_reg.o CC converttopdf.o CC converttops.o CC fileinfo.o CC convertsegfilestops.o CC splitimage2pdf.o CC convertsegfilestopdf.o CC blend3_reg.o CC bilateral2_reg.o CC printimage.o CC printtiff.o CC alphaxform_reg.o CC printsplitimage.o CC convertformat.o CC xtractprotos.o CC ccthin2_reg.o CC alphaops_reg.o CC binarize_reg.o CC bilinear_reg.o CC blackwhite_reg.o CC affine_reg.o CC blend1_reg.o CC boxa1_reg.o CC ccthin1_reg.o CC blend2_reg.o CC blend4_reg.o CC adaptmap_reg.o CC cmapquant_reg.o CC colorcontent_reg.o CC graymorph2_reg.o CC colormask_reg.o CC dwalinearlow.3.o CC edge_reg.o CC dwamorph1_reg.o CC enhance_reg.o CC compfilter_reg.o CC dna_reg.o CC expand_reg.o CC dwalinear.3.o CC findcorners_reg.o CC colormorph_reg.o CC colorseg_reg.o CC dither_reg.o CC coloring_reg.o CC findpattern_reg.o CC graymorph1_reg.o CC colorize_reg.o CC fpix1_reg.o CC genfonts_reg.o CC fpix2_reg.o CC compare_reg.o CC grayquant_reg.o CC conncomp_reg.o CC colorquant_reg.o CC colorspace_reg.o CC conversion_reg.o CC convolve_reg.o CC dewarp_reg.o CC distance_reg.o CC label_reg.o CC pnmio_reg.o CC insert_reg.o CC mtiff_reg.o CC multitype_reg.o CC ioformats_reg.o CC jpegio_reg.o CC jbclass_reg.o CC kernel_reg.o CC lineremoval_reg.o CC newspaper_reg.o CC overlap_reg.o CC pageseg_reg.o CC pixadisp_reg.o CC paintmask_reg.o CC paint_reg.o CC pixa2_reg.o CC pdfseg_reg.o CC projective_reg.o CC psio_reg.o CC pixserial_reg.o CC pixcomp_reg.o CC hardlight_reg.o CC maze_reg.o CC pngio_reg.o CC nearline_reg.o CC logicops_reg.o CC psioseg_reg.o CC projection_reg.o CC pta_reg.o CC rank_reg.o CC rankhisto_reg.o CC rasteropip_reg.o CC rankbin_reg.o CC rotate1_reg.o CC seedspread_reg.o CC rotate2_reg.o CC rotateorth_reg.o CC scale_reg.o CC shear1_reg.o CC selio_reg.o CC shear2_reg.o CC splitcomp_reg.o CC skew_reg.o CC subpixel_reg.o CC alltests_reg.o CC texturefill_reg.o CC threshnorm_reg.o CC warper_reg.o CC translate_reg.o CC xformbox_reg.o CC writetext_reg.o CC binmorph1_reg.o CC bilateral1_reg.o CC adaptnorm_reg.o CC binmorph4_reg.o CC binmorph2_reg.o CC binmorph3_reg.o CC binmorph5_reg.o CC flipdetect_reg.o CC dwamorph2_reg.o CC boxa2_reg.o CC extrema_reg.o CC fhmtauto_reg.o CC files_reg.o CC equal_reg.o CC fmorphauto_reg.o CC grayfill_reg.o CC heap_reg.o CC locminmax_reg.o CC numa1_reg.o CC morphseq_reg.o CC lowaccess_reg.o CC pixtile_reg.o CC pixa1_reg.o CC pixalloc_reg.o CC pixmem_reg.o CC numa2_reg.o CC rasterop_reg.o CC ptra1_reg.o CC ptra2_reg.o CC smoothedge_reg.o CC string_reg.o CC wordboxes_reg.o CC smallpix_reg.o CC adaptmap_dark.o CC arabic_lines.o CC autogentest1.o CC autogentest2.o CC autogen.137.o CC arithtest.o CC bincompare.o CC barcodetest.o CC binarize_set.o CC binarizefiles.o CC blendcmaptest.o CC cleanpdf.o CC ccbordtest.o CC byteatest.o CC cctest1.o CC colorsegtest.o CC comparepages.o CC comparepixa.o CC cornertest.o CC comparetest.o CC concatpdf.o CC contrasttest.o CC buffertest.o CC converttogray.o CC dewarprules.o CC croptext.o CC corrupttest.o CC croptest.o CC dewarptest1.o CC dewarptest2.o CC digitprep1.o CC dewarptest4.o CC dewarptest3.o CC dewarptest5.o CC displayboxes_on_pixa.o CC displaypix.o CC displayboxa.o CC falsecolortest.o CC dwalineargen.o CC fcombautogen.o CC findbinding.o CC fmorphautogen.o CC find_colorregions.o CC findpattern3.o CC findpattern2.o CC displaypixa.o CC flipselgen.o CC fhmtautogen.o CC findpattern1.o CC fpixcontours.o CC htmlviewer.o CC gammatest.o CC gifio_leaktest.o CC graphicstest.o CC graymorphtest.o CC hashtest.o CC histotest.o CC jbwords.o CC iotest.o CC italictest.o CC jbcorrelation.o CC jbrankhaus.o CC listtest.o CC livre_adapt.o CC livre_hmt.o CC misctest1.o CC livre_makefigs.o CC livre_orient.o CC maptest.o CC livre_tophat.o CC livre_seedgen.o CC maketile.o CC otsutest2.o CC morphtest1.o CC livre_pageseg.o CC numaranktest.o CC modifyhuesat.o CC otsutest1.o CC pagesegtest1.o CC pixaatest.o CC percolatetest.o CC pdfiotest.o CC partitiontest.o CC plottest.o CC quadtreetest.o CC pagesegtest2.o CC rbtreetest.o CC pixafileinfo.o CC recogtest2.o CC recog_bootnum.o CC recogtest1.o CC recogsort.o CC recogtest3.o CC reducetest.o CC recogtest4.o CC recogtest5.o CC recogtest6.o CC renderfonts.o CC removecmap.o CC rotatefastalt.o CC runlengthtest.o CC rotateorthtest1.o CC rotatetest1.o CC scaletest2.o CC scaleandtile.o CC seedfilltest.o CC scaletest1.o CC settest.o CC showedges.o CC sheartest.o CC sharptest.o CC sudokutest.o CC skewtest.o CC snapcolortest.o CC sorttest.o CC wordsinorder.o CC trctest.o CC warpertest.o CC watershedtest.o CC writemtiff.o CC yuvtest.o CCLD converttops CCLD fileinfo CCLD convertfilestops CCLD printtiff CCLD converttopdf CCLD printsplitimage CCLD dither_reg CCLD bilateral2_reg CCLD fpix2_reg CCLD rasteropip_reg CCLD printimage CCLD convertfilestopdf CCLD colormorph_reg CCLD convertsegfilestops CCLD cmapquant_reg CCLD convertsegfilestopdf CCLD edge_reg CCLD blend4_reg CCLD baseline_reg CCLD blackwhite_reg CCLD lineremoval_reg CCLD colorseg_reg CCLD pageseg_reg CCLD colorcontent_reg CCLD conncomp_reg CCLD heap_reg CCLD rankbin_reg CCLD splitimage2pdf CCLD distance_reg CCLD psioseg_reg CCLD pixserial_reg CCLD compare_reg CCLD dna_reg CCLD findpattern_reg CCLD genfonts_reg CCLD graymorph2_reg CCLD hardlight_reg CCLD newspaper_reg CCLD pixadisp_reg CCLD pnmio_reg CCLD projection_reg CCLD pta_reg CCLD psio_reg CCLD rotateorth_reg CCLD selio_reg CCLD skew_reg CCLD splitcomp_reg CCLD subpixel_reg CCLD texturefill_reg CCLD threshnorm_reg CCLD warper_reg CCLD alltests_reg CCLD writetext_reg CCLD translate_reg CCLD adaptnorm_reg CCLD bilateral1_reg CCLD binmorph2_reg CCLD binmorph5_reg CCLD boxa2_reg CCLD equal_reg CCLD extrema_reg CCLD fhmtauto_reg CCLD flipdetect_reg CCLD locminmax_reg CCLD fmorphauto_reg CCLD grayfill_reg CCLD morphseq_reg CCLD pixalloc_reg CCLD pixa1_reg CCLD pixtile_reg CCLD ptra2_reg CCLD pixmem_reg CCLD rasterop_reg CCLD string_reg CCLD smallpix_reg CCLD smoothedge_reg CCLD wordboxes_reg CCLD arithtest CCLD arabic_lines CCLD adaptmap_dark CCLD barcodetest CCLD autogentest2 CCLD autogentest1 CCLD binarizefiles CCLD binarize_set CCLD bincompare CCLD buffertest CCLD blendcmaptest CCLD byteatest CCLD cleanpdf CCLD comparetest CCLD ccbordtest CCLD comparepages CCLD cctest1 CCLD comparepixa CCLD colorsegtest CCLD contrasttest CCLD concatpdf CCLD converttogray CCLD cornertest CCLD corrupttest CCLD dewarptest4 CCLD croptest CCLD dewarptest5 CCLD dewarptest2 CCLD croptext CCLD dewarprules CCLD dewarptest1 CCLD dewarptest3 CCLD digitprep1 CCLD displayboxa CCLD displayboxes_on_pixa CCLD displaypix CCLD displaypixa CCLD dwalineargen CCLD falsecolortest CCLD fhmtautogen CCLD findpattern2 CCLD findpattern3 CCLD gammatest CCLD fmorphautogen CCLD find_colorregions CCLD findbinding CCLD findpattern1 CCLD fpixcontours CCLD fcombautogen CCLD flipselgen CCLD graphicstest CCLD graymorphtest CCLD gifio_leaktest CCLD histotest CCLD listtest CCLD htmlviewer CCLD italictest CCLD jbcorrelation CCLD jbwords CCLD jbrankhaus CCLD iotest CCLD livre_adapt CCLD livre_hmt CCLD livre_orient CCLD modifyhuesat CCLD livre_seedgen CCLD livre_tophat CCLD maketile CCLD misctest1 CCLD livre_makefigs CCLD otsutest1 CCLD numaranktest CCLD pagesegtest1 CCLD morphtest1 CCLD pixaatest CCLD pagesegtest2 CCLD otsutest2 CCLD partitiontest CCLD pixafileinfo CCLD percolatetest CCLD plottest CCLD quadtreetest CCLD recogsort CCLD recogtest1 CCLD rbtreetest CCLD recogtest3 CCLD recogtest2 CCLD recog_bootnum CCLD removecmap CCLD recogtest6 CCLD renderfonts CCLD recogtest4 CCLD reducetest CCLD recogtest5 CCLD rotateorthtest1 CCLD scaletest2 CCLD rotatetest1 CCLD scaleandtile CCLD scaletest1 CCLD runlengthtest CCLD seedfilltest CCLD settest CCLD sorttest CCLD showedges CCLD sheartest CCLD sharptest CCLD skewtest CCLD snapcolortest CCLD writemtiff CCLD wordsinorder CCLD sudokutest CCLD trctest CCLD warpertest CCLD yuvtest CCLD watershedtest CCLD alphaxform_reg CCLD bilinear_reg CCLD adaptmap_reg CCLD convertformat CCLD alphaops_reg CCLD xtractprotos CCLD affine_reg CCLD binarize_reg CCLD blend3_reg CCLD coloring_reg CCLD ccthin1_reg CCLD blend2_reg CCLD ccthin2_reg CCLD colorize_reg CCLD blend1_reg CCLD boxa1_reg CCLD enhance_reg CCLD compfilter_reg CCLD dewarp_reg CCLD colormask_reg CCLD colorspace_reg CCLD colorquant_reg CCLD graymorph1_reg CCLD findcorners_reg CCLD conversion_reg CCLD expand_reg CCLD convolve_reg CCLD fpix1_reg CCLD grayquant_reg CCLD kernel_reg CCLD label_reg CCLD jbclass_reg CCLD insert_reg CCLD logicops_reg CCLD maze_reg CCLD paint_reg CCLD mtiff_reg CCLD nearline_reg CCLD jpegio_reg CCLD paintmask_reg CCLD pdfseg_reg CCLD overlap_reg CCLD rotate1_reg CCLD pixa2_reg CCLD pngio_reg CCLD shear2_reg CCLD projective_reg CCLD rankhisto_reg CCLD seedspread_reg CCLD rotate2_reg CCLD pixcomp_reg CCLD shear1_reg CCLD rank_reg CCLD scale_reg CCLD binmorph1_reg CCLD xformbox_reg CCLD binmorph3_reg CCLD binmorph4_reg CCLD files_reg CCLD lowaccess_reg CCLD maptest CCLD hashtest CCLD numa1_reg CCLD livre_pageseg CCLD pdfiotest CCLD rotatefastalt CCLD ptra1_reg CCLD numa2_reg CCLD multitype_reg CCLD ioformats_reg CCLD dwamorph1_reg CCLD dwamorph2_reg make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ sudo make install Making install in src make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' /bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c liblept.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/liblept.so.5.0.1 /usr/local/lib/liblept.so.5.0.1 libtool: install: (cd /usr/local/lib && { ln -s -f liblept.so.5.0.1 liblept.so.5 || { rm -f liblept.so.5 && ln -s liblept.so.5.0.1 liblept.so.5; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f liblept.so.5.0.1 liblept.so || { rm -f liblept.so && ln -s liblept.so.5.0.1 liblept.so; }; }) libtool: install: /usr/bin/install -c .libs/liblept.lai /usr/local/lib/liblept.la libtool: install: /usr/bin/install -c .libs/liblept.a /usr/local/lib/liblept.a libtool: install: chmod 644 /usr/local/lib/liblept.a libtool: install: ranlib /usr/local/lib/liblept.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/mkdir -p '/usr/local/include/leptonica' /usr/bin/install -c -m 644 allheaders.h alltypes.h array.h arrayaccess.h bbuffer.h bilateral.h bmf.h bmfdata.h bmp.h ccbord.h dewarp.h endianness.h environ.h gplot.h heap.h imageio.h jbclass.h leptwin.h list.h morph.h pix.h ptra.h queue.h rbtree.h readbarcode.h recog.h regutils.h stack.h stringcode.h sudoku.h watershed.h '/usr/local/include/leptonica' make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/src' Making install in prog make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' /bin/mkdir -p '/usr/local/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c convertfilestopdf convertfilestops convertformat convertsegfilestopdf convertsegfilestops converttopdf converttops fileinfo printimage printsplitimage printtiff splitimage2pdf xtractprotos '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/convertfilestopdf /usr/local/bin/convertfilestopdf libtool: install: /usr/bin/install -c .libs/convertfilestops /usr/local/bin/convertfilestops libtool: install: /usr/bin/install -c .libs/convertformat /usr/local/bin/convertformat libtool: install: /usr/bin/install -c .libs/convertsegfilestopdf /usr/local/bin/convertsegfilestopdf libtool: install: /usr/bin/install -c .libs/convertsegfilestops /usr/local/bin/convertsegfilestops libtool: install: /usr/bin/install -c .libs/converttopdf /usr/local/bin/converttopdf libtool: install: /usr/bin/install -c .libs/converttops /usr/local/bin/converttops libtool: install: /usr/bin/install -c .libs/fileinfo /usr/local/bin/fileinfo libtool: install: /usr/bin/install -c .libs/printimage /usr/local/bin/printimage libtool: install: /usr/bin/install -c .libs/printsplitimage /usr/local/bin/printsplitimage libtool: install: /usr/bin/install -c .libs/printtiff /usr/local/bin/printtiff libtool: install: /usr/bin/install -c .libs/splitimage2pdf /usr/local/bin/splitimage2pdf libtool: install: /usr/bin/install -c .libs/xtractprotos /usr/local/bin/xtractprotos make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4/prog' make[1]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[2]: Entering directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 lept.pc '/usr/local/lib/pkgconfig' make[2]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' make[1]: Leaving directory '/home/dan9er/Projects/tesseract/leptonica-1.74.4' dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ sudo ldconfig dan9er@Inspiron-530s:~/Projects/tesseract/leptonica-1.74.4$ ```
I'm not going to read every line, but it's probably ok now.
Thank you, I'll reopen this if Tesseract doesn't recognize Leptonica.
Tring to build 1.74.4 with autoconfig, stuck on the first step: