Page 1 of 1

Errors installing2.1.0RC3

Posted: 2008-01-31T15:32:42-07:00
by flashape
I am trying to compile the imagick extension and hitting an error when running make:

Code: Select all

# make
/bin/sh /usr/lib64/php/modules/imagick-2.1.0RC3/libtool --mode=compile gcc  -I. -I/usr/lib64/php/modules/imagick-2.1.0RC3 -DPHP_ATOM_INC -I/usr/lib64/php/modules/imagick-2.1.0RC3/include -I/usr/lib64/php/modules/imagick-2.1.0RC3/main -I/usr/lib64/php/modules/imagick-2.1.0RC3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext  -DHAVE_CONFIG_H  -g -O2   -c /usr/lib64/php/modules/imagick-2.1.0RC3/imagick.c -o imagick.lo 
 gcc -I. -I/usr/lib64/php/modules/imagick-2.1.0RC3 -DPHP_ATOM_INC -I/usr/lib64/php/modules/imagick-2.1.0RC3/include -I/usr/lib64/php/modules/imagick-2.1.0RC3/main -I/usr/lib64/php/modules/imagick-2.1.0RC3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/lib64/php/modules/imagick-2.1.0RC3/imagick.c  -fPIC -DPIC -o .libs/imagick.o
/usr/lib64/php/modules/imagick-2.1.0RC3/imagick.c: In function 'PHP_GINIT_FUNCTION':
/usr/lib64/php/modules/imagick-2.1.0RC3/imagick.c:18536: error: invalid type argument of '->'
make: *** [imagick.lo] Error 1
I get the same error with RC2 as well...any idea what is wrong? My setup is :
CentO 5.1 (x86_64)
PHP 5.1.6
ImageMagick 6.3.8

I also have the magickwand php extension installed.

Re: Errors installing2.1.0RC3

Posted: 2008-02-02T08:31:14-07:00
by mkoppanen
Fixed in CVS. Upgrading your PHP to 5.2 would not hurt thou.