Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [~/gocr-0.48] # ./configure --prefix=/usr/local
- checking for gcc... gcc
- checking for C compiler default output file name... a.out
- checking whether the C compiler works... yes
- checking whether we are cross compiling... no
- checking for suffix of executables...
- 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 ANSI C... none needed
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether make sets $(MAKE)... yes
- checking for library containing pnm_readpnminit... no
- * * * try option --with-netpbm=PATH
- checking how to run the C preprocessor... gcc -E
- checking for egrep... grep -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 unistd.h... (cached) yes
- checking wchar.h usability... yes
- checking wchar.h presence... yes
- checking for wchar.h... yes
- checking for an ANSI C-conforming const... yes
- checking for function prototypes... yes
- checking whether setvbuf arguments are reversed... no
- checking for wcschr... yes
- checking for wcsdup... yes
- checking for gettimeofday... yes
- checking for popen... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating src/Makefile
- config.status: creating doc/Makefile
- config.status: creating man/Makefile
- config.status: creating include/config.h
- [~/gocr-0.48] # make
- make -C src all
- make[1]: Entering directory `/root/gocr-0.48/src'
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o box.o box.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o database.o database.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c
- barcode.c: In function 'decode_code128':
- barcode.c:149: warning: comparison is always true due to limited range of data type
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o list.o list.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o output.o output.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o job.o job.c
- gcc -g -O2 -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c
- # make it conform to ld --as-needed
- #gcc -o gocr -lm gocr.o ./libPgm2asc.a
- gcc -o gocr -lm gocr.o pgm2asc.o box.o database.o detect.o barcode.o lines.o list.o ocr0.o ocr0n.o ocr1.o otsu.o output.o pixel.o unicode.o remove.o pnm.o pcx.o progress.o job.o
- if test -r gocr; then cp gocr ../bin; fi
- make[1]: Leaving directory `/root/gocr-0.48/src'
- --- for help do: make help ---
- --- for documentation do: make doc ---
- --- for examples do: make examples ---
- [~/gocr-0.48] # make install
- make -C src install
- make[1]: Entering directory `/root/gocr-0.48/src'
- #/usr/bin/install -c -d /usr/local/bin /usr/local /usr/local
- /usr/bin/install -c -d /usr/local/bin
- /usr/bin/install -c ../bin/gocr /usr/local/bin
- /usr/bin/install -c ../bin/gocr.tcl /usr/local/bin # better X11/bin?
- if test -f libPgm2asc.a; then\
- /usr/bin/install -c libPgm2asc.a /usr/local;\
- /usr/bin/install -c libPgm2asc.0.48.so /usr/local;\
- /usr/bin/install -c libPgm2asc.so /usr/local;\
- fi
- # ToDo: not sure that the link will be installed correctly
- #/usr/bin/install -c /usr/local
- make[1]: Leaving directory `/root/gocr-0.48/src'
- make -C man install
- make[1]: Entering directory `/root/gocr-0.48/man'
- /usr/bin/install -c -d /usr/local/man/man1
- /usr/bin/install -c ../man/man1/gocr.1 /usr/local/man/man1
- make[1]: Leaving directory `/root/gocr-0.48/man'
- # following steps are not needed for end users, but cost dependencies
- # therefore removed in 0.48
- # make -C doc install
- # make -C examples install
- # make -C frontend install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement