[php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Soenke Ruempler
soenke at jimdo.com
Mon Aug 11 22:19:36 UTC 2008
Package: php5-dev
Version: 5.2.0-8+etch11
Severity: normal
Compiling phar with "pecl install phar" fails with the following error
message:
/bin/sh /var/tmp/pear-build-root/phar-1.2.3/libtool --mode=compile gcc
-I. -I/tmp/pear/temp/phar -DPHP_ATOM_INC
-I/var/tmp/pear-build-root/phar-1.2.3/include
-I/var/tmp/pear-build-root/phar-1.2.3/main -I/tmp/pear/temp/phar
-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/temp/phar/phar.c -o phar.lo
mkdir .libs
gcc -I. -I/tmp/pear/temp/phar -DPHP_ATOM_INC
-I/var/tmp/pear-build-root/phar-1.2.3/include
-I/var/tmp/pear-build-root/phar-1.2.3/main -I/tmp/pear/temp/phar
-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/temp/phar/phar.c -fPIC -DPIC -o .libs/phar.o
In file included from /tmp/pear/temp/phar/phar.c:23:
/tmp/pear/temp/phar/phar_internal.h:46:31: error: ext/spl/spl_array.h:
No such file or directory
/tmp/pear/temp/phar/phar_internal.h:47:35: error:
ext/spl/spl_directory.h: No such file or directory
/tmp/pear/temp/phar/phar_internal.h:48:32: error: ext/spl/spl_engine.h:
No such file or directory
/tmp/pear/temp/phar/phar_internal.h:49:36: error:
ext/spl/spl_exceptions.h: No such file or directory
/tmp/pear/temp/phar/phar_internal.h:50:35: error:
ext/spl/spl_iterators.h: No such file or directory
In file included from /tmp/pear/temp/phar/phar.c:23:
/tmp/pear/temp/phar/phar_internal.h:212: error: expected
specifier-qualifier-list before 'spl_filesystem_object'
/tmp/pear/temp/phar/phar_internal.h:224: error: expected
specifier-qualifier-list before 'spl_filesystem_object'
make: *** [phar.lo] Error 1
ERROR: `make' failed
Is it possible to include those files into the php5-dev package?
Thank you!
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages php5-dev depends on:
ii autoconf 2.61-4 automatic configure script builder
ii automake1.4 1:1.4-p6-12 A tool for generating GNU Standard
ii libssl-dev 0.9.8g-12 SSL development libraries, header
ii libtool 1.5.22-4 Generic library support script
ii php5-common 5.2.0-8+etch11 Common files for packages built fr
ii shtool 2.0.1-2 portable shell tool from the GNU p
php5-dev recommends no packages.
-- no debconf information
More information about the pkg-php-maint
mailing list