Problem installing IMagick

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Problem installing IMagick

Postby _gent » 07. February 2011 15:26

German Version

Hello,

I'm running into some problems while trying to install Imagick for XAMPP. I'm running XAMPP 1.7.2a on Tiger (10.4.11).
I successfully installed imagemagick.

I have hardly any experience compiling stuff on my own, but I followed this tutorial here.

So I ran
Code: Select all
# pecl download imagick

He writes
Then I edited “config.m4″ and modified the line specifying the location of ImageMagick wand. I change this value to /opt/local to ensure that it would look for ImageMagick in the correct place. Now with imagic properly configured, I compiled the package:

but I wasn't sure what line to edit, so instead I ran
Code: Select all
# phpize
# ./configure --with-imagick=/opt/local --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config-5.3.0
# make
# sudo make install


Here is what I get:
Code: Select all
$ ./configure --with-imagick=/opt/local --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config-5.3.0
checking build system type... i686-apple-darwin8.11.1
checking host system type... i686-apple-darwin8.11.1
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
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 and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... no
checking for PHP prefix... /Applications/XAMPP/xamppfiles
checking for PHP includes... -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0 -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/main -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/TSRM -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext/date/lib -I/Applications/XAMPP/xamppfiles/include
checking for PHP extension directory... /Applications/XAMPP/xamppfiles/lib/php/php-5.3.0/extensions/no-debug-non-zts-20090626
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
./configure: line 4362: syntax error near unexpected token `ext/imagick,'
./configure: line 4362: `  PHP_INSTALL_HEADERS(ext/imagick, php_imagick.h php_imagick_defs.h php_imagick_shared.h php_imagick_config.h)'

I always get this error, no matter whether or not I run configure with or without any flags.
Code: Select all
./configure: line 4362: syntax error near unexpected token `ext/imagick,'
./configure: line 4362: `  PHP_INSTALL_HEADERS(ext/imagick, php_imagick.h php_imagick_defs.h php_imagick_shared.h php_imagick_config.h)'

In case of interest, configure reads:
Code: Select all
4359    BUILD_DIR="$BUILD_DIR $ext_builddir"
4360
4361
4362    PHP_INSTALL_HEADERS(ext/imagick, php_imagick.h php_imagick_defs.h php_imagick_shared.h php_imagick_config.h)
4363    fi


I'm completely lost as what to do now. Obviously, running make throws errors as there is no makefile generated.

I also tried to install with pecl directly, which leads to other problems. First I get this:
Code: Select all
philip-ullrichs-computer:/Developer/imagick-3.0.1/imagick-3.0.1 philipullrich$ sudo pecl install imagick
downloading imagick-3.0.1.tar ...
Starting to download imagick-3.0.1.tar (Unknown size)
.........................done: 665,088 bytes
13 source files, building
running: phpize
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/main/php.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
configure.in:3: warning: prefer named diversions
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:3555: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:5606: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5605: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4641: _LT_AC_TAGCONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:3: warning: prefer named diversions
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:3555: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:5606: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5605: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4641: _LT_AC_TAGCONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
Please provide the prefix of Imagemagick installation [autodetect] :

I then provided /opt/local and Imagemagick is indeed found, but at a certain point the errors begin:
Code: Select all
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/var/tmp/pear-build-root/imagick-3.0.1/libtool --mode=compile cc  -I. -I/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/imagick-3.0.1/include -I/private/var/tmp/pear-build-root/imagick-3.0.1/main -I/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0 -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/main -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/TSRM -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext/date/lib -I/Applications/XAMPP/xamppfiles/include -I/opt/local/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c -o imagick_class.lo
mkdir .libs
 cc -I. -I/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/imagick-3.0.1/include -I/private/var/tmp/pear-build-root/imagick-3.0.1/main -I/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0 -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/main -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/TSRM -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext/date/lib -I/Applications/XAMPP/xamppfiles/include -I/opt/local/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c  -fno-common -DPIC -o .libs/imagick_class.o
In file included from /Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:21:
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:40:17: error: php.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:59:34: error: Zend/zend_exceptions.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:60:34: error: Zend/zend_interfaces.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:61:37: error: ext/standard/php_string.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:62:31: error: ext/standard/info.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:63:39: error: ext/standard/php_filestat.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:64:21: error: php_ini.h: No such file or directory
In file included from /Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:21:
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:69: error: parse error before 'imagick_module_entry'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick.h:69: warning: data definition has no type or storage class
In file included from /Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:22:
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:36: error: parse error before 'zend_bool'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:36: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:37: error: parse error before 'progress_monitor'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:37: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:46: error: parse error before 'ZEND_EXTERN_MODULE_GLOBALS'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h: In function 'ZEND_EXTERN_MODULE_GLOBALS':
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:71: error: parse error before 'zend_object'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:71: warning: no semicolon at end of struct or union
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:75: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:74: error: declaration for parameter 'next_out_of_bound' but no such parameter
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:73: error: declaration for parameter 'progress_monitor_name' but no such parameter
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:72: error: declaration for parameter 'magick_wand' but no such parameter
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:79: error: 'zend_object' undeclared (first use in this function)
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:79: error: (Each undeclared identifier is reported only once
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:79: error: for each function it appears in.)
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h: At top level:
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:81: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:85: error: parse error before 'zend_object'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:85: warning: no semicolon at end of struct or union
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:93: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:93: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:97: error: parse error before 'zend_object'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:97: warning: no semicolon at end of struct or union
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:100: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:100: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:104: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:105: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:106: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:111: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:112: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:113: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:114: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:115: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:117: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:119: error: parse error before 'php_imagick_thumbnail_dimensions'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:119: error: parse error before 'zend_bool'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:119: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:120: error: parse error before 'php_imagick_resize_bounding_box'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:120: error: parse error before 'zend_bool'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:120: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:122: error: parse error before 'crop_thumbnail_image'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:122: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:122: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:123: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:124: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:125: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:126: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:129: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:130: error: parse error before 'php_imagick_validate_map'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:130: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:130: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:132: error: parse error before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:177: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:177: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:178: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:178: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:179: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:179: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:180: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:180: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:181: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:181: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:182: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:182: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:183: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:183: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:184: error: parse error before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:184: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:190: warning: parameter names (without types) in function declaration
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:190: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:191: warning: parameter names (without types) in function declaration
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:191: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:192: warning: parameter names (without types) in function declaration
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/php_imagick_defs.h:192: warning: data definition has no type or storage class

[... tons more of similar errors ... then:]

/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: conflicting types for 'description'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:1443: error: previous definition of 'description' was here
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: initialization makes integer from pointer without a cast
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: conflicting types for 'description'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:1443: error: previous definition of 'description' was here
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: initialization makes integer from pointer without a cast
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: conflicting types for 'description'
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:1443: error: previous definition of 'description' was here
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: initialization makes integer from pointer without a cast
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: parse error before '->' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: conflicting types for 'MagickClearException'
/opt/local/include/ImageMagick/wand/MagickWand.h:152: error: previous declaration of 'MagickClearException' was here
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9673: error: parse error before '}' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9675: warning: data definition has no type or storage class
/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/imagick_class.c:9676: error: parse error before '}' token
make: *** [imagick_class.lo] Error 1
ERROR: `make' failed


As I said, I'm very new at this stuff. I tried google, but it was not help so far. Most people seem to be able to compile without problems.
If anyone has an idea about how to proceed, I'd be very grateful.

Thanks,
Philip
_gent
 
Posts: 2
Joined: 07. February 2011 15:01

Re: Problem installing IMagick

Postby Tyna » 13. May 2011 16:40

Hi Philip,

have you been able to solve your problem? I followed the same tutorial and also had some problems, see here: https://www.imagemagick.org/discourse-server/viewtopic.php?f=18&t=18737.

While researching have you maybe found some other tutorials? I've been reading so much now and still haven't found any solution. I'd like to read a good documentaion about this and not only the small parts I find via google.

Thanks,
Tina
Tyna
 
Posts: 5
Joined: 29. September 2010 10:02


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 14 guests