mkoppanen / php-zbarcode

PHP extension for reading barcodes. Uses ImageMagick(http://www.imagemagick.org/) for image support and zbar(http://zbar.sourceforge.net/) for scanning the barcodes.
http://valokuva.org
383 stars 131 forks source link

New Install #7

Closed melaniedunford closed 11 years ago

melaniedunford commented 11 years ago

Trying to run an install and running into error .

checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 ISO C89... 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 checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20090626 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) 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/local/bin/MagickWand-config checking for MagickExportImagePixels... yes checking php_imagick_shared.h header file... configure: error: not found. Run with --disable-zbarcode-imagick to disable this feature

Any ideas? All dependencies should be installed.

Thanks

melaniedunford commented 11 years ago

I found it is actually an issue with the install of imagick. You have to change the config file before installing. Closing this issue.