Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install on Centos 5 #8

Open
xteo007 opened this issue Jan 18, 2014 · 5 comments
Open

How to install on Centos 5 #8

xteo007 opened this issue Jan 18, 2014 · 5 comments

Comments

@xteo007
Copy link

xteo007 commented Jan 18, 2014

[root@sr1 php-zbarcode-master]# ./configure --with-php-config=/usr/local/php5/bin/php-config
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php5
checking for PHP includes... -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php5/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable the zbarcode extension... yes, shared
checking path to ImageMagick library... yes, shared
checking whether to disable zbarcode Imagick support... yes
checking whether to disable zbarcode GD Imagick support... yes
checking for zbar.h header... found in /usr/local/include/zbar.h
checking for zbar_image_scanner_create in -lzbar... yes
checking for zbar_symbol_get_quality in -lzbar... yes
checking ImageMagick MagickWand API configuration program... found in /usr/bin/Wand-config
checking for MagickExportImagePixels... no
configure: error: not found

@mkoppanen
Copy link
Owner

What version of ImageMagick? Can you post config.log to gist.github.com and link?

@mkoppanen
Copy link
Owner

(my guess is that ImageMagick is simply too old)

@xteo007
Copy link
Author

xteo007 commented Jan 18, 2014

@xteo007
Copy link
Author

xteo007 commented Jan 18, 2014

[root@sr1 php-zbarcode-master]# convert --version
Version: ImageMagick 6.2.8 05/07/12 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC

@xteo007
Copy link
Author

xteo007 commented Jan 18, 2014

[root@sr1 php-zbarcode-master]# zbarimg ../invoice.png
CODE-128:DOC00004
scanned 1 barcode symbols from 1 images in 0.35 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants