build update_versions pains, Zend, phpize, imagick

Status
Not open for further replies.

ukrppf

Verified User
Joined
Dec 8, 2009
Messages
49
I did a ./build update_versions
trying a few updates, including PHP 5.3.*

The Zend was updated to 3.3.3 and I think this may be causing my present problem. I did try to "update" PHP back to 5.2.14, but am still getting errors when I try to "phpize" imagick-3.0.0. I am trying to reinstall the php-imagick, because it got broken on the update_versions.

Here is what spits out, when I try to phpize:

Code:
PHP Api Version:         20070116
Zend Module Api No:      20070729
Zend Extension Api No:   320070729
configure.in:3: warning: prefer named diversions
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
autoconf/general.m4:2025: AC_CACHE_VAL is expanded from...
autoconf/general.m4:2038: AC_CACHE_CHECK is expanded from...
aclocal.m4:3556: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5568: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5463: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:3080: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2938: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2918: AC_PROG_LIBTOOL is expanded from...
configure.in:77: the top level
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3519: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:8090: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:6520: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5576: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4708: _LT_AC_TAGCONFIG is expanded from...
configure.in:3: warning: prefer named diversions
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
autoconf/general.m4:2025: AC_CACHE_VAL is expanded from...
autoconf/general.m4:2038: AC_CACHE_CHECK is expanded from...
aclocal.m4:3556: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5568: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5463: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:3080: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2938: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2918: AC_PROG_LIBTOOL is expanded from...
configure.in:77: the top level
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3519: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:8090: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:6520: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5576: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4708: _LT_AC_TAGCONFIG is expanded from...

Please, if someone can help ASAP, I would appreciate it. ...I still have to try to restore apc and uploadprogress too. What a pain.
 
/usr/local/php5/bin/phpize

I should also mention that I have tried to phpize, by going into the untarred imagick and using:

/usr/local/php5/bin/phpize

I get the following:

Code:
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions

Then when I try to do the following:

./configure —with-imagick=/usr/local

and then "make", I get:

Code:
/bin/sh //imagick-3.0.0/libtool --mode=compile cc  -I. -I//imagick-3.0.0 -DPHP_ATOM_INC -I//imagick-3.0.0/include -I//imagick-3.0.0/main -I//imagick-3.0.0 -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 -I/usr/local/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c //imagick-3.0.0/imagick_class.c -o imagick_class.lo 
mkdir .libs
 cc -I. -I//imagick-3.0.0 -DPHP_ATOM_INC -I//imagick-3.0.0/include -I//imagick-3.0.0/main -I//imagick-3.0.0 -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 -I/usr/local/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c //imagick-3.0.0/imagick_class.c  -fPIC -DPIC -o .libs/imagick_class.o
In file included from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend.h:224:28: error: unicode/utypes.h: No such file or directory
In file included from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend.h:228: error: expected specifier-qualifier-list before ‘UChar’
In file included from /usr/local/include/php/Zend/zend.h:233,
                 from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_alloc.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/Zend/zend_alloc.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/Zend/zend_alloc.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/Zend/zend_alloc.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/local/include/php/Zend/zend.h:276,
                 from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_hash.h:55: error: expected specifier-qualifier-list before ‘UChar’
In file included from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend.h:321: error: expected specifier-qualifier-list before ‘UChar’
In file included from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend.h:484: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend.h:485: error: expected ‘;’ before ‘int’
/usr/local/include/php/Zend/zend.h:633: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend.h:634: error: expected ‘)’ before ‘*’ token
In file included from /usr/local/include/php/Zend/zend_operators.h:32,
                 from /usr/local/include/php/Zend/zend.h:771,
                 from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_strtod.h:31: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from /usr/local/include/php/Zend/zend_operators.h:33,
                 from /usr/local/include/php/Zend/zend.h:771,
                 from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_unicode.h:24:28: error: unicode/uclean.h: No such file or directory
/usr/local/include/php/Zend/zend_unicode.h:25:29: error: unicode/ustring.h: No such file or directory
/usr/local/include/php/Zend/zend_unicode.h:26:26: error: unicode/ucnv.h: No such file or directory
/usr/local/include/php/Zend/zend_unicode.h:27:28: error: unicode/ustdio.h: No such file or directory
/usr/local/include/php/Zend/zend_unicode.h:28:27: error: unicode/uchar.h: No such file or directory
/usr/local/include/php/Zend/zend_unicode.h:29:26: error: unicode/uloc.h: No such file or directory
/usr/local/include/php/Zend/zend_unicode.h:30:26: error: unicode/ucol.h: No such file or directory
In file included from /usr/local/include/php/Zend/zend_operators.h:33,
                 from /usr/local/include/php/Zend/zend.h:771,
                 from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_unicode.h:53: error: expected specifier-qualifier-list before ‘UCollator’
/usr/local/include/php/Zend/zend_unicode.h:63: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:64: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:65: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:68: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:74: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:75: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:77: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:78: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:79: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:80: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:82: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/Zend/zend_unicode.h:84: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/Zend/zend_unicode.h:87: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:88: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:90: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:92: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:93: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_unicode.h:95: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/Zend/zend_unicode.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘zend_get_codepoint_at’
/usr/local/include/php/Zend/zend_unicode.h:118: error: expected ‘)’ before ‘codepoint’
/usr/local/include/php/Zend/zend_unicode.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/local/include/php/Zend/zend.h:771,
                 from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_operators.h:76: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:77: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:78: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:150: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:222: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:276: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/Zend/zend_operators.h:278: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/Zend/zend_operators.h:327: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:328: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:329: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_operators.h:330: error: expected ‘)’ before ‘*’ token
In file included from /usr/local/include/php/main/php.h:34,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend.h: In function ‘ZEND_U_CASE_EQUAL’:
/usr/local/include/php/Zend/zend.h:785: error: ‘zstr’ has no member named ‘u’
/usr/local/include/php/Zend/zend.h:786: error: ‘zstr’ has no member named ‘u’
/usr/local/include/php/Zend/zend.h:786: error: ‘zstr’ has no member named ‘u’
/usr/local/include/php/Zend/zend.h:791: error: ‘zstr’ has no member named ‘v’
In file included from /usr/local/include/php/Zend/zend_compile.h:323,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:26,
                 from /usr/local/include/php/main/php.h:38,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_globals.h:40:29: error: unicode/usearch.h: No such file or directory
In file included from /usr/local/include/php/Zend/zend_compile.h:323,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:26,
                 from /usr/local/include/php/main/php.h:38,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_globals.h: At top level:
/usr/local/include/php/Zend/zend_globals.h:266: error: expected specifier-qualifier-list before ‘UConverter’
/usr/local/include/php/Zend/zend_globals.h:279: error: expected specifier-qualifier-list before ‘UConverter’
In file included from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:26,
                 from /usr/local/include/php/main/php.h:38,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_compile.h:350: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/Zend/zend_compile.h:552: error: expected declaration specifiers or ‘...’ before ‘UConverter’
In file included from /usr/local/include/php/Zend/zend_API.h:30,
                 from /usr/local/include/php/main/php.h:38,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_execute.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_main’
/usr/local/include/php/Zend/zend_execute.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_return’
/usr/local/include/php/Zend/zend_execute.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_semicolon’
/usr/local/include/php/Zend/zend_execute.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_doublecolon’
/usr/local/include/php/Zend/zend_execute.h: In function ‘i_zend_is_true’:
/usr/local/include/php/Zend/zend_execute.h:112: error: ‘struct <anonymous>’ has no member named ‘len’
/usr/local/include/php/Zend/zend_execute.h:113: error: ‘struct <anonymous>’ has no member named ‘len’
/usr/local/include/php/Zend/zend_execute.h:113: error: ‘struct <anonymous>’ has no member named ‘val’
In file included from /usr/local/include/php/main/php.h:38,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_API.h: At top level:
/usr/local/include/php/Zend/zend_API.h:273: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/Zend/zend_API.h:274: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/Zend/zend_API.h:302: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/Zend/zend_API.h:303: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/Zend/zend_API.h:1461: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/Zend/zend_API.h:1462: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/Zend/zend_API.h:1476: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/Zend/zend_API.h:1477: error: expected declaration specifiers or ‘...’ before ‘UChar’
In file included from /usr/local/include/php/main/php.h:230,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/main/spprintf.h:45: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/main/spprintf.h:46: error: expected ‘)’ before ‘*’ token
In file included from /usr/local/include/php/main/php.h:372,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/main/php_output.h:152: error: expected specifier-qualifier-list before ‘UConverter’
/usr/local/include/php/main/php_output.h:211: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/main/php_output.h:211: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/main/php_output.h:212: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from /usr/local/include/php/main/php_streams.h:106,
                 from /usr/local/include/php/main/php.h:375,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/main/streams/php_stream_filter_api.h:73: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/main/streams/php_stream_filter_api.h:81: error: expected declaration specifiers or ‘...’ before ‘UConverter’
/usr/local/include/php/main/streams/php_stream_filter_api.h:163: error: expected declaration specifiers or ‘...’ before ‘uint16_t’
/usr/local/include/php/main/streams/php_stream_filter_api.h:163: error: expected declaration specifiers or ‘...’ before ‘UChar’
In file included from /usr/local/include/php/main/php.h:375,
                 from //imagick-3.0.0/php_imagick.h:40,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/main/php_streams.h:161: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/main/php_streams.h:163: error: expected ‘;’ before ‘int’
/usr/local/include/php/main/php_streams.h:300: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/main/php_streams.h:304: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/main/php_streams.h:311: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/main/php_streams.h:343: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/main/php_streams.h:346: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/main/php_streams.h:388: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/php/main/php_streams.h:394: error: expected declaration specifiers or ‘...’ before ‘UChar’
/usr/local/include/php/main/php_streams.h: In function ‘_php_stream_path_param_encode’:
/usr/local/include/php/main/php_streams.h:412: error: ‘struct <anonymous>’ has no member named ‘val’
/usr/local/include/php/main/php_streams.h:412: error: ‘struct <anonymous>’ has no member named ‘len’
In file included from //imagick-3.0.0/php_imagick.h:60,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/Zend/zend_interfaces.h: In function ‘zend_call_method’:
/usr/local/include/php/Zend/zend_interfaces.h:54: error: cast to union type from type not present in union
In file included from //imagick-3.0.0/php_imagick.h:61,
                 from //imagick-3.0.0/imagick_class.c:21:
/usr/local/include/php/ext/standard/php_string.h: At top level:
/usr/local/include/php/ext/standard/php_string.h:119: error: expected ‘)’ before ‘const’
/usr/local/include/php/ext/standard/php_string.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:136: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:138: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:140: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:142: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:144: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:146: error: expected ‘)’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/standard/php_string.h:154: error: expected ‘)’ before ‘*’ token
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_getimagematte’:
//imagick-3.0.0/imagick_class.c:268: warning: ‘MagickGetImageMatte’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:82)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_paintfloodfillimage’:
//imagick-3.0.0/imagick_class.c:1016: warning: ‘MagickPaintFloodfillImage’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:95)
//imagick-3.0.0/imagick_class.c:1019: warning: ‘MagickPaintFloodfillImage’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:95)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_recolorimage’:
//imagick-3.0.0/imagick_class.c:1394: warning: ‘MagickRecolorImage’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:104)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_setfont’:
//imagick-3.0.0/imagick_class.c:1434: error: ‘struct _php_core_globals’ has no member named ‘safe_mode’
//imagick-3.0.0/imagick_class.c:1434: error: ‘CHECKUID_CHECK_FILE_AND_DIR’ undeclared (first use in this function)
//imagick-3.0.0/imagick_class.c:1434: error: (Each undeclared identifier is reported only once
//imagick-3.0.0/imagick_class.c:1434: error: for each function it appears in.)
//imagick-3.0.0/imagick_class.c:1434: error: ‘CHECKUID_NO_ERRORS’ undeclared (first use in this function)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_colorfloodfillimage’:
//imagick-3.0.0/imagick_class.c:3388: warning: ‘MagickColorFloodfillImage’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:77)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_mapimage’:
//imagick-3.0.0/imagick_class.c:3722: warning: ‘MagickMapImage’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:87)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_mattefloodfillimage’:
//imagick-3.0.0/imagick_class.c:3755: warning: ‘MagickMatteFloodfillImage’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:90)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_paintopaqueimage’:
//imagick-3.0.0/imagick_class.c:3845: warning: ‘MagickPaintOpaqueImageChannel’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:100)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_painttransparentimage’:
//imagick-3.0.0/imagick_class.c:3908: warning: ‘MagickPaintTransparentImage’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:102)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_getimageattribute’:
//imagick-3.0.0/imagick_class.c:5052: warning: ‘MagickGetImageAttribute’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:60)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_getimagechannelextrema’:
//imagick-3.0.0/imagick_class.c:5237: warning: ‘MagickGetImageChannelExtrema’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:79)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_getimageextrema’:
//imagick-3.0.0/imagick_class.c:5490: warning: ‘MagickGetImageExtrema’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:81)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_getimageindex’:
//imagick-3.0.0/imagick_class.c:6328: warning: ‘MagickGetImageIndex’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_setimageindex’:
//imagick-3.0.0/imagick_class.c:6353: warning: ‘MagickSetImageIndex’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:108)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_getimagesize’:
//imagick-3.0.0/imagick_class.c:6431: warning: ‘MagickGetImageSize’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:134)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_identifyimage’:
//imagick-3.0.0/imagick_class.c:6615: warning: passing argument 1 of ‘php_explode’ from incompatible pointer type
//imagick-3.0.0/imagick_class.c:6615: warning: passing argument 2 of ‘php_explode’ makes integer from pointer without a cast
//imagick-3.0.0/imagick_class.c:6615: warning: passing argument 3 of ‘php_explode’ from incompatible pointer type
//imagick-3.0.0/imagick_class.c:6615: error: too few arguments to function ‘php_explode’
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_setimageattribute’:
//imagick-3.0.0/imagick_class.c:6780: warning: ‘MagickSetImageAttribute’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:106)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_flattenimages’:
//imagick-3.0.0/imagick_class.c:7027: warning: ‘MagickFlattenImages’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:126)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_averageimages’:
//imagick-3.0.0/imagick_class.c:8063: warning: ‘MagickAverageImages’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:125)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_mosaicimages’:
//imagick-3.0.0/imagick_class.c:8500: warning: ‘MagickMosaicImages’ is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:129)
//imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_setimageprogressmonitor’:
//imagick-3.0.0/imagick_class.c:9518: error: ‘struct _php_core_globals’ has no member named ‘safe_mode’
//imagick-3.0.0/imagick_class.c:9518: error: ‘CHECKUID_CHECK_FILE_AND_DIR’ undeclared (first use in this function)
//imagick-3.0.0/imagick_class.c:9518: error: ‘CHECKUID_NO_ERRORS’ undeclared (first use in this function)
make: *** [imagick_class.lo] Error 1
 
Is everything really messed up now or what?

Is everything really messed up now or what? Please assist.
 
Firstly, Zend Optimizer does not support PHP 5.3 yet. The problem might be related to the latest version of autoconf. Please send me your server details if you'd like me to take a look at your problem.
 
What to do?

Firstly, Zend Optimizer does not support PHP 5.3 yet. The problem might be related to the latest version of autoconf. Please send me your server details if you'd like me to take a look at your problem.

Should I uninstall the Zend Optimizer then? I am presently back to PHP 5.3 because when I upgraded from 5.2.14, it broke the adodb on one of my sites. So, I upgrade the adodb to adodb5's most current version and then the site worked again. So, now if I am degrading back to 5.2.14, it will break again (already tested and it does break), so I will need to downgrade the adodb as well.

I realize if you log on to the system, you will probably figure out things quickly, but I am hoping you will offer help without this. ...Is there some sort of patch or should I try to rebuild things??
 
server details

I think you probably meant login and password, for server details, but maybe not. So, here are details about the server:

using: cat /proc/cpuinfo

Code:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
stepping        : 2
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy misalignsse
bogomips        : 2009.47
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
stepping        : 2
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy misalignsse
bogomips        : 2009.47
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps
 
Zend off

I tried rebuilding with Zend off in the options.conf. I was wanting to try to install eAccelerator. The phpize still is not working and I cannot install eAccelerator. It does seem to be an autoconf issue, but how to fix that?
 
smtalk meant that if you contact him privately with login information he'd be happy to look into your specific server. You might want to contact him privately so you may determine if that's a reasonable solution for you; he's good at what he does :).

Jeff
 
thanks

smtalk meant that if you contact him privately with login information he'd be happy to look into your specific server. You might want to contact him privately so you may determine if that's a reasonable solution for you; he's good at what he does :).

Jeff

Thanks, Jeff! I assumed that's what he meant. ...I know, he is a genius with servers. ...The problem is, I am not at liberty to give out that login information. I would need troubleshooting through the forums here. Also, it would probably help others more, with the troubleshooting being discussed here. ...Do you have any idea what I should check on, to get the phpize going again?
 
Generally if you have a problem with versions that don't work with each other you can go back to the last common denominator that does work.

Jeff
 
configure warning

Jeff, thanks.

I did wipe the custombuild and reinstalled it, with version 1.2, setting the php to cgi for PHP 5.3.3 and using suphp.

The phpize seems to be working better now. (By the way, Zend is set to no, I deleted the php.ini that was pointing to Zend and copied back the bak copy that Zend made.)

However, I am still getting the following, when trying to phpize imagick php:

Code:
[root@myuser imagick-3.0.0]# phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions

Can you suggest how to resolve this? Thanks.
 
okay, I am rolling

Okay, I am really rolling now, which is awesome. Still some issues and would LOVE some help!

I still ultimately am wanting the php_xsl.so and php_curl.so working, since I still get error messages on those (they are not commented out in my php.ini yet because I am just trying to get them fixed).

How do I get php-common and php-xml installed with php-xsl ? Doing the --with-xsl is obviously not enough, in the configure.php5 file, if everything is not installed.
 
all I can find is rpm and yum

All I can find through google is rpm and yum for php-common. Where do you even get the source for installation?

It's one thing to require to do things the DA way; it's another to make it easier for us who have to search on these packages. I think there should be a wiki page or something with a link to where to get packages for all of the php modules.
 
I'm not sure what else I can help you with; perhaps someone else can. php-common is the name of an rpm package; you won't find it by that name anywhere else.

What specific files do you need? Perhaps someone else will take the time to look; I just don't have time to figure it out right now :(.

Jeff
 
thank you

Jeff, thank you for your honest answer. And you may very well be right about it being the name of an rpm. But then how to get it done the DA way is the question.

I did as floyd recommended and uninstalled the php modules which were installed by rpm. This included:

php-common x86_64 5.1.6-27.el5 installed 397 k
php-gd x86_64 5.1.6-27.el5 installed 333 k
php-xml x86_64 5.1.6-27.el5 installed 241 k

The goal is to get php xsl installed. I need it for a drupal module that imports html. And it is useful for other drupal modules as well.

I had gone to a lot of work to begin with, to get the right and compatible rpm's. Now, as I understand from floyd, it is a no-no. So, then I need to know where to get the source packages for installation, as floyd said is required.

Am I completely on the wrong track? Can someone help? Thanks!
 
So, then I need to know where to get the source packages for installation

You already have the source for php. Look in /usr/local/directadmin/custombuild
 
Now I have done it. xsl is not set in php.ini either. There is no php_xsl.so. I know how to do it now with custombuild.
 
cd /usr/local/directadmin/custombuild
./build clean
./build update

add --with-xsl to configure/ap2/configure.php5

./build php

I answered yes to everything.
 
configure.php5

Could you do me the favor of copying what you have inside your configure.php5 and pasting it here in this thread? I did follow those simple directions and I still do not see the following, in my phpinfo.php:

http://sitepointstatic.com/graphics/php41_xslt.gif
 

Attachments

  • php41_xslt.gif
    php41_xslt.gif
    1.2 KB · Views: 184
Status
Not open for further replies.
Back
Top