Edit report at https://bugs.php.net/bug.php?id=58782&edit=1
ID: 58782 Updated by: [email protected] Reported by: mac dot komarov at gmail dot com Summary: installation from pecl failed -Status: Open +Status: Wont fix Type: Bug -Package: phar +Package: *General Issues Operating System: Linux (Fedora 11) PHP Version: 5.2.9 Block user comment: N Private report: N New Comment: PECL PHAR package is obsolete. Previous Comments: ------------------------------------------------------------------------ [2012-07-03 16:00:00] [email protected] Seeing as though 5.2.x is not supported, it seems like we can close this as "won't fix", no? ------------------------------------------------------------------------ [2009-07-31 04:20:09] mac dot komarov at gmail dot com Description: ------------ Trying to upgrade from 1.2.3 to 2.0.0. [root@mosquito php.d]# pecl upgrade phar WARNING: "pear/bz2" is deprecated in favor of "channel://http://php.net/bzip2/ext/bz2" Did not download optional dependencies: pecl/bz2, pecl/hash, use --alldeps to download automatically downloading phar-2.0.0.tgz ... Starting to download phar-2.0.0.tgz (450,821 bytes) ................................done: 450,821 bytes 28 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 building in /var/tmp/pear-build-root/phar-2.0.0 running: /var/tmp/phar/configure 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 gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking whether gcc and cc understand -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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for phar archive support... yes, shared checking for phar openssl support... no checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-root/phar-2.0.0/libtool --mode=compile gcc -I. -I/var/tmp/phar -DPHP_ATOM_INC -I/var/tmp/pear-build-root/phar-2.0.0/include -I/var/tmp/pear-build-root/phar-2.0.0/main -I/var/tmp/phar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -g -O2 -c /var/tmp/phar/util.c -o util.lo libtool: compile: gcc -I. -I/var/tmp/phar -DPHP_ATOM_INC -I/var/tmp/pear-build-root/phar-2.0.0/include -I/var/tmp/pear-build-root/phar-2.0.0/main -I/var/tmp/phar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -g -O2 -c /var/tmp/phar/util.c -fPIC -DPIC -o .libs/util.o In file included from /usr/include/php/ext/spl/spl_iterators.h:27, from /usr/include/php/ext/spl/spl_array.h:26, from /var/tmp/phar/phar_internal.h:59, from /var/tmp/phar/util.c:23: /usr/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /usr/include/php/ext/spl/spl_iterators.h:27, from /usr/include/php/ext/spl/spl_array.h:26, from /var/tmp/phar/phar_internal.h:59, from /var/tmp/phar/util.c:23: /usr/include/php/ext/pcre/php_pcre.h:45: error: expected =, ,, ;, asm or __attribute__ before * token /usr/include/php/ext/pcre/php_pcre.h:46: error: expected =, ,, ;, asm or __attribute__ before * token /usr/include/php/ext/pcre/php_pcre.h:52: error: expected specifier-qualifier-list before pcre make: *** [util.lo] Error 1 ERROR: `make' failed [root@mosquito php.d]# php-devel-5.2.9-2.fc11.i586 is installed php_pcre.h /* $Id: php_pcre.h,v 1.41.2.1.2.7 2008/12/31 11:17:41 sebastian Exp $ */ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=58782&edit=1