php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58152 Compilation problem in 5.2.5
Submitted: 2008-04-10 15:46 UTC Modified: 2008-05-04 12:48 UTC
From: polone at townnews dot com Assigned:
Status: Not a bug Package: xmlReader (PECL)
PHP Version: 5.2.5 OS:
Private report: No CVE-ID: None
 [2008-04-10 15:46 UTC] polone at townnews dot com
Description:
------------
The package doesn't compile using the pecl command-line tool. It appears to be a compilation. Something might have changed in the Zend API that is causing this issue.

Reproduce code:
---------------
pecl install xmlreader

Expected result:
----------------
It compiles.

Actual result:
--------------
pecl install xmlreader
downloading xmlreader-1.0.1.tgz ...
Starting to download xmlreader-1.0.1.tgz (11,831 bytes)
.....done: 11,831 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
 1. Include XMLReader support? : autodetect

1-1, 'all', 'abort', or Enter to continue:
building in /var/tmp/pear-build-root/xmlreader-1.0.1
running: /tmp/pear/cache/xmlreader-1.0.1/configure --with-xmlreader
checking for egrep... 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 ANSI C... none needed
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/local
checking for PHP includes... -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
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for XMLReader support... yes, shared
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... 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

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /var/tmp/pear-build-root/xmlreader-1.0.1/libtool --mode=compile gcc  -I. -I/tmp/pear/cache/xmlreader-1.0.1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/xmlreader-1.0.1/include -I/var/tmp/pear-build-root/xmlreader-1.0.1/main -I/tmp/pear/cache/xmlreader-1.0.1 -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/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/cache/xmlreader-1.0.1/php_xmlreader.c -o php_xmlreader.lo
mkdir .libs
 gcc -I. -I/tmp/pear/cache/xmlreader-1.0.1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/xmlreader-1.0.1/include -I/var/tmp/pear-build-root/xmlreader-1.0.1/main -I/tmp/pear/cache/xmlreader-1.0.1 -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/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/cache/xmlreader-1.0.1/php_xmlreader.c  -fPIC -DPIC -o .libs/php_xmlreader.o
/tmp/pear/cache/xmlreader-1.0.1/php_xmlreader.c: In function 'xmlreader_objects_new':
/tmp/pear/cache/xmlreader-1.0.1/php_xmlreader.c:349: error: 'zend_object' has no member named 'in_get'
/tmp/pear/cache/xmlreader-1.0.1/php_xmlreader.c:350: error: 'zend_object' has no member named 'in_set'
make: *** [php_xmlreader.lo] Error 1
ERROR: `make' failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-04 12:48 UTC] rrichards@php.net
Use the version of xmlreader included with PHP
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC