View Issue Details

IDProjectCategoryView StatusLast Update
0000576XdebugInstallationpublic2010-05-09 15:19
ReporterGrimSage Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.1.0RC1 
Summary0000576: Can not compile
Description

Tried to use SVN build to compile against php 5.3 svn dev build and receive errors upon compile. I also tried the rc release of xdebug if there is other information you need let me know.

OS X 10.6.3
XCode Version 3.2.2

Additional Information

sh-3.2# ./configure --with-php-config=/Applications/MEMP/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -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... i386-apple-darwin10.3.0
checking host system type... i386-apple-darwin10.3.0
checking target system type... i386-apple-darwin10.3.0
checking for PHP prefix... /Applications/MEMP
checking for PHP includes... -I/Applications/MEMP/include/php -I/Applications/MEMP/include/php/main -I/Applications/MEMP/include/php/TSRM -I/Applications/MEMP/include/php/Zend -I/Applications/MEMP/include/php/ext -I/Applications/MEMP/include/php/ext/date/lib
checking for PHP extension directory... /Applications/MEMP/lib/php/extensions/no-debug-non-zts-20100409
checking for PHP installed headers prefix... /Applications/MEMP/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... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking for gettimeofday... yes
checking for cos in -lm... yes
checking for ld used by cc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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... 196608
checking command to parse /usr/bin/nm output from cc object... rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.3.0 dyld
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
config.status: config.h is unchanged
sh-3.2# make
/bin/sh /Users/USERHOME/src/xdebug/libtool --mode=compile cc -I. -I/Users/USERHOME/src/xdebug -DPHP_ATOM_INC -I/Users/USERHOME/src/xdebug/include -I/Users/USERHOME/src/xdebug/main -I/Users/USERHOME/src/xdebug -I/Applications/MEMP/include/php -I/Applications/MEMP/include/php/main -I/Applications/MEMP/include/php/TSRM -I/Applications/MEMP/include/php/Zend -I/Applications/MEMP/include/php/ext -I/Applications/MEMP/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /Users/USERHOME/src/xdebug/xdebug.c -o xdebug.lo
mkdir .libs
cc -I. -I/Users/USERHOME/src/xdebug -DPHP_ATOM_INC -I/Users/USERHOME/src/xdebug/include -I/Users/USERHOME/src/xdebug/main -I/Users/USERHOME/src/xdebug -I/Applications/MEMP/include/php -I/Applications/MEMP/include/php/main -I/Applications/MEMP/include/php/TSRM -I/Applications/MEMP/include/php/Zend -I/Applications/MEMP/include/php/ext -I/Applications/MEMP/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /Users/USERHOME/src/xdebug/xdebug.c -fno-common -DPIC -o .libs/xdebug.o
/Users/USERHOME/src/xdebug/xdebug.c: In function ‘xdebug_include_or_eval_handler’:
/Users/USERHOME/src/xdebug/xdebug.c:448: error: ‘znode_op’ has no member named ‘u’
/Users/USERHOME/src/xdebug/xdebug.c:454: warning: passing argument 2 of ‘xdebug_get_zval’ from incompatible pointer type
/Users/USERHOME/src/xdebug/xdebug.c: In function ‘add_used_variables’:
/Users/USERHOME/src/xdebug/xdebug.c:940: error: ‘znode_op’ has no member named ‘op_type’
/Users/USERHOME/src/xdebug/xdebug.c:941: error: ‘znode_op’ has no member named ‘u’
/Users/USERHOME/src/xdebug/xdebug.c:944: error: ‘znode_op’ has no member named ‘op_type’
/Users/USERHOME/src/xdebug/xdebug.c:945: error: ‘znode_op’ has no member named ‘u’
/Users/USERHOME/src/xdebug/xdebug.c: In function ‘xdebug_execute_internal’:
/Users/USERHOME/src/xdebug/xdebug.c:1352: warning: passing argument 1 of ‘xdebug_zval_ptr’ from incompatible pointer type
make: *** [xdebug.lo] Error 1

TagsNo tags attached.
Operating System
PHP Version5.3-dev

Activities

derick

2010-05-09 15:19

administrator   ~0001474

You're not compiling against 5.3dev, but against PHP trunk. Which has some new additions that Xdebug doesn't compile with yet. Once trunk gets more stable, I'll look at this.

Issue History

Date Modified Username Field Change
2010-05-07 23:52 GrimSage New Issue
2010-05-07 23:52 GrimSage PHP Version => 5.3-dev
2010-05-07 23:52 GrimSage Xdebug Version => 2.1.0-dev
2010-05-09 15:19 derick Note Added: 0001474
2010-05-09 15:19 derick Status new => resolved
2010-05-09 15:19 derick Resolution open => no change required
2010-05-09 15:19 derick Assigned To => derick