Installation of MagickWand for PHP error
Posted: 2013-03-06T22:48:20-07:00
Hello, I have a Debian server and need to install MagickWand Extension for PHP.
I downloaded MagickWandForPHP-1.0.8 and followed the instructions in the INSTALL file.
Wand-config If I run the result is: 6.8.3 Q16
phpize is successful
./ configure runs successfully without errors
When I run make errors I get are these:
In file included from / MagickWandForPHP-1.0.8/magickwand.c: 9:
/ MagickWandForPHP-1.0.8/magickwand_inc.h: 22:29: error: wand / MagickWand.h: No such file or directory
In file included from / MagickWandForPHP-1.0.8/magickwand.c: 9:
/ MagickWandForPHP-1.0.8/magickwand_inc.h: 63: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_zend_register_resourceâ
/ MagickWandForPHP-1.0.8/magickwand_inc.h: 79: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_zend_fetch_resourceâ
/ MagickWandForPHP-1.0.8/magickwand.c: 13: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_split_filename_on_periodâ
/ MagickWandForPHP-1.0.8/magickwand.c: 105: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_read_imageâ
/ MagickWandForPHP-1.0.8/magickwand.c: 342: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_write_imageâ
/ MagickWandForPHP-1.0.8/magickwand.c: 396: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_write_imagesâ
And many more errors like these.
I changed MagickWand.h routes for
/usr/local/include/ImageMagick-6.8/wand/MagickWand.h
I reinstalled everything but still not working.
Anybody can help me?
Thank you very much.
I downloaded MagickWandForPHP-1.0.8 and followed the instructions in the INSTALL file.
Wand-config If I run the result is: 6.8.3 Q16
phpize is successful
./ configure runs successfully without errors
When I run make errors I get are these:
In file included from / MagickWandForPHP-1.0.8/magickwand.c: 9:
/ MagickWandForPHP-1.0.8/magickwand_inc.h: 22:29: error: wand / MagickWand.h: No such file or directory
In file included from / MagickWandForPHP-1.0.8/magickwand.c: 9:
/ MagickWandForPHP-1.0.8/magickwand_inc.h: 63: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_zend_register_resourceâ
/ MagickWandForPHP-1.0.8/magickwand_inc.h: 79: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_zend_fetch_resourceâ
/ MagickWandForPHP-1.0.8/magickwand.c: 13: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_split_filename_on_periodâ
/ MagickWandForPHP-1.0.8/magickwand.c: 105: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_read_imageâ
/ MagickWandForPHP-1.0.8/magickwand.c: 342: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_write_imageâ
/ MagickWandForPHP-1.0.8/magickwand.c: 396: error: expected â = â, â, â, â, â, Aasma or â__attribute__â before âMW_write_imagesâ
And many more errors like these.
I changed MagickWand.h routes for
/usr/local/include/ImageMagick-6.8/wand/MagickWand.h
I reinstalled everything but still not working.
Anybody can help me?
Thank you very much.