View Issue Details

IDProjectCategoryView StatusLast Update
0001175XdebugInstallationpublic2015-10-23 08:31
ReportersurajAssigned Toderick 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
PlatformOSubuntuOS Version12.04 32 bit
Product Version2.3.3 
Target VersionFixed in Version 
Summary0001175: Xdebug installation issue
DescriptionI have downloaded from here ,https://github.com/derickr/xdebug

root@user19-desktop:~# cd Downloads
root@user19-desktop:~/Downloads# tar -xzf xdebug-2.2.x.tgz
tar (child): xdebug-2.2.x.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@user19-desktop:~/Downloads# tar -xzf xdebug-master.zip
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@user19-desktop:~/Downloads# cd xdebug-master
root@user19-desktop:~/Downloads/xdebug-master# sudo apt-get install php5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  php5-cli php5-common
Suggested packages:
  php5-suhosin
The following packages will be upgraded:
  php5-cli php5-common php5-dev
3 upgraded, 0 newly installed, 0 to remove and 572 not upgraded.
Need to get 3,670 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-cli i386 5.3.10-1ubuntu3.19 [3,086 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-common i386 5.3.10-1ubuntu3.19 [161 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-dev i386 5.3.10-1ubuntu3.19 [423 kB]
Fetched 3,670 kB in 11s (310 kB/s)
(Reading database ... 179959 files and directories currently installed.)
Preparing to replace php5-cli 5.3.10-1ubuntu3.15 (using .../php5-cli_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-cli ...
Preparing to replace php5-common 5.3.10-1ubuntu3.15 (using .../php5-common_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-common ...
Preparing to replace php5-dev 5.3.10-1ubuntu3.15 (using .../php5-dev_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-dev ...
Processing triggers for man-db ...
Setting up php5-common (5.3.10-1ubuntu3.19) ...
Setting up php5-cli (5.3.10-1ubuntu3.19) ...
Setting up php5-dev (5.3.10-1ubuntu3.19) ...
root@user19-desktop:~/Downloads/xdebug-master# Run phpize: phpize
Run: command not found
root@user19-desktop:~/Downloads/xdebug-master# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
root@user19-desktop:~/Downloads/xdebug-master# Run phpize
Run: command not found
root@user19-desktop:~/Downloads/xdebug-master# ./configure --enable-xdebug
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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... 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/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20090626+lfs
checking for PHP installed headers prefix... /usr/include/php5
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... nawk
checking if nawk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking Check for supported PHP versions... supported (5.3.10-1ubuntu3.19)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc 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
root@user19-desktop:~/Downloads/xdebug-master# make
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:27:0:
/home/user19/Downloads/xdebug-master/xdebug_compat.h:27:36: error: unknown type name 'znode_op'
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:59:0:
/home/user19/Downloads/xdebug-master/xdebug_var.h:69:64: error: unknown type name 'znode_op'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_include_or_eval_handler':
/home/user19/Downloads/xdebug-master/xdebug.c:532:54: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_startup_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: note: each undeclared identifier is reported only once for each function it appears in
/home/user19/Downloads/xdebug-master/xdebug.c:690:3: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:691:3: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_shutdown_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:814:33: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:842:33: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:843:33: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'add_used_variables':
/home/user19/Downloads/xdebug-master/xdebug.c:1296:27: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1297:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c:1300:27: error: 'zend_op' has no member named 'op2_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1301:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_execute_internal':
/home/user19/Downloads/xdebug-master/xdebug.c:1810:42: error: 'zend_op' has no member named 'result_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_compile_file':
/home/user19/Downloads/xdebug-master/xdebug.c:1849:81: error: 'ZEND_ACC_DONE_PASS_TWO' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# make install
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:27:0:
/home/user19/Downloads/xdebug-master/xdebug_compat.h:27:36: error: unknown type name 'znode_op'
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:59:0:
/home/user19/Downloads/xdebug-master/xdebug_var.h:69:64: error: unknown type name 'znode_op'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_include_or_eval_handler':
/home/user19/Downloads/xdebug-master/xdebug.c:532:54: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_startup_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: note: each undeclared identifier is reported only once for each function it appears in
/home/user19/Downloads/xdebug-master/xdebug.c:690:3: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:691:3: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_shutdown_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:814:33: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:842:33: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:843:33: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'add_used_variables':
/home/user19/Downloads/xdebug-master/xdebug.c:1296:27: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1297:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c:1300:27: error: 'zend_op' has no member named 'op2_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1301:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_execute_internal':
/home/user19/Downloads/xdebug-master/xdebug.c:1810:42: error: 'zend_op' has no member named 'result_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_compile_file':
/home/user19/Downloads/xdebug-master/xdebug.c:1849:81: error: 'ZEND_ACC_DONE_PASS_TWO' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# ./configure --enable-xdebug --with-php-config=/opt/lampp/bin/php-config
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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /opt/lampp
checking for PHP includes... -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib
checking for PHP extension directory... /opt/lampp/lib/php/extensions/no-debug-non-zts-20100525
checking for PHP installed headers prefix... /opt/lampp/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... nawk
checking if nawk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking Check for supported PHP versions... supported (5.4.7)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc 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: config.h is unchanged
config.status: executing libtool commands
root@user19-desktop:~/Downloads/xdebug-master# make
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/home/user19/Downloads/xdebug-master/xdebug.c:25:17: fatal error: php.h: No such file or directory
compilation terminated.
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# make install/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/home/user19/Downloads/xdebug-master/xdebug.c:25:17: fatal error: php.h: No such file or directory
compilation terminated.
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# xdebug
No command 'xdebug' found, did you mean:
 Command 'rxdebug' from package 'openafs-client' (universe)
 Command 'udebug' from package 'openafs-client' (universe)
xdebug: command not found
root@user19-desktop:~/Downloads/xdebug-master# /opt/lampp/lampp restart
Stopping XAMPP for Linux 1.8.1...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
Starting XAMPP for Linux 1.8.1...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Steps To Reproduceroot@user19-desktop:~# cd Downloads
root@user19-desktop:~/Downloads# tar -xzf xdebug-2.2.x.tgz
tar (child): xdebug-2.2.x.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@user19-desktop:~/Downloads# tar -xzf xdebug-master.zip
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@user19-desktop:~/Downloads# cd xdebug-master
root@user19-desktop:~/Downloads/xdebug-master# sudo apt-get install php5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  php5-cli php5-common
Suggested packages:
  php5-suhosin
The following packages will be upgraded:
  php5-cli php5-common php5-dev
3 upgraded, 0 newly installed, 0 to remove and 572 not upgraded.
Need to get 3,670 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-cli i386 5.3.10-1ubuntu3.19 [3,086 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-common i386 5.3.10-1ubuntu3.19 [161 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-dev i386 5.3.10-1ubuntu3.19 [423 kB]
Fetched 3,670 kB in 11s (310 kB/s)
(Reading database ... 179959 files and directories currently installed.)
Preparing to replace php5-cli 5.3.10-1ubuntu3.15 (using .../php5-cli_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-cli ...
Preparing to replace php5-common 5.3.10-1ubuntu3.15 (using .../php5-common_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-common ...
Preparing to replace php5-dev 5.3.10-1ubuntu3.15 (using .../php5-dev_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-dev ...
Processing triggers for man-db ...
Setting up php5-common (5.3.10-1ubuntu3.19) ...
Setting up php5-cli (5.3.10-1ubuntu3.19) ...
Setting up php5-dev (5.3.10-1ubuntu3.19) ...
root@user19-desktop:~/Downloads/xdebug-master# Run phpize: phpize
Run: command not found
root@user19-desktop:~/Downloads/xdebug-master# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
root@user19-desktop:~/Downloads/xdebug-master# Run phpize
Run: command not found
root@user19-desktop:~/Downloads/xdebug-master# ./configure --enable-xdebug
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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... 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/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20090626+lfs
checking for PHP installed headers prefix... /usr/include/php5
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... nawk
checking if nawk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking Check for supported PHP versions... supported (5.3.10-1ubuntu3.19)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc 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
root@user19-desktop:~/Downloads/xdebug-master# make
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:27:0:
/home/user19/Downloads/xdebug-master/xdebug_compat.h:27:36: error: unknown type name 'znode_op'
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:59:0:
/home/user19/Downloads/xdebug-master/xdebug_var.h:69:64: error: unknown type name 'znode_op'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_include_or_eval_handler':
/home/user19/Downloads/xdebug-master/xdebug.c:532:54: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_startup_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: note: each undeclared identifier is reported only once for each function it appears in
/home/user19/Downloads/xdebug-master/xdebug.c:690:3: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:691:3: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_shutdown_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:814:33: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:842:33: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:843:33: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'add_used_variables':
/home/user19/Downloads/xdebug-master/xdebug.c:1296:27: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1297:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c:1300:27: error: 'zend_op' has no member named 'op2_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1301:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_execute_internal':
/home/user19/Downloads/xdebug-master/xdebug.c:1810:42: error: 'zend_op' has no member named 'result_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_compile_file':
/home/user19/Downloads/xdebug-master/xdebug.c:1849:81: error: 'ZEND_ACC_DONE_PASS_TWO' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# make install
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:27:0:
/home/user19/Downloads/xdebug-master/xdebug_compat.h:27:36: error: unknown type name 'znode_op'
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:59:0:
/home/user19/Downloads/xdebug-master/xdebug_var.h:69:64: error: unknown type name 'znode_op'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_include_or_eval_handler':
/home/user19/Downloads/xdebug-master/xdebug.c:532:54: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_startup_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: note: each undeclared identifier is reported only once for each function it appears in
/home/user19/Downloads/xdebug-master/xdebug.c:690:3: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:691:3: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_shutdown_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:814:33: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:842:33: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:843:33: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'add_used_variables':
/home/user19/Downloads/xdebug-master/xdebug.c:1296:27: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1297:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c:1300:27: error: 'zend_op' has no member named 'op2_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1301:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_execute_internal':
/home/user19/Downloads/xdebug-master/xdebug.c:1810:42: error: 'zend_op' has no member named 'result_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_compile_file':
/home/user19/Downloads/xdebug-master/xdebug.c:1849:81: error: 'ZEND_ACC_DONE_PASS_TWO' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# ./configure --enable-xdebug --with-php-config=/opt/lampp/bin/php-config
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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /opt/lampp
checking for PHP includes... -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib
checking for PHP extension directory... /opt/lampp/lib/php/extensions/no-debug-non-zts-20100525
checking for PHP installed headers prefix... /opt/lampp/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... nawk
checking if nawk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking Check for supported PHP versions... supported (5.4.7)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc 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: config.h is unchanged
config.status: executing libtool commands
root@user19-desktop:~/Downloads/xdebug-master# make
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/home/user19/Downloads/xdebug-master/xdebug.c:25:17: fatal error: php.h: No such file or directory
compilation terminated.
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# make install/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/home/user19/Downloads/xdebug-master/xdebug.c:25:17: fatal error: php.h: No such file or directory
compilation terminated.
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# xdebug
No command 'xdebug' found, did you mean:
 Command 'rxdebug' from package 'openafs-client' (universe)
 Command 'udebug' from package 'openafs-client' (universe)
xdebug: command not found
root@user19-desktop:~/Downloads/xdebug-master# /opt/lampp/lampp restart
Stopping XAMPP for Linux 1.8.1...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
Starting XAMPP for Linux 1.8.1...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Additional Informationroot@user19-desktop:~# cd Downloads
root@user19-desktop:~/Downloads# tar -xzf xdebug-2.2.x.tgz
tar (child): xdebug-2.2.x.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@user19-desktop:~/Downloads# tar -xzf xdebug-master.zip
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@user19-desktop:~/Downloads# cd xdebug-master
root@user19-desktop:~/Downloads/xdebug-master# sudo apt-get install php5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  php5-cli php5-common
Suggested packages:
  php5-suhosin
The following packages will be upgraded:
  php5-cli php5-common php5-dev
3 upgraded, 0 newly installed, 0 to remove and 572 not upgraded.
Need to get 3,670 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-cli i386 5.3.10-1ubuntu3.19 [3,086 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-common i386 5.3.10-1ubuntu3.19 [161 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-dev i386 5.3.10-1ubuntu3.19 [423 kB]
Fetched 3,670 kB in 11s (310 kB/s)
(Reading database ... 179959 files and directories currently installed.)
Preparing to replace php5-cli 5.3.10-1ubuntu3.15 (using .../php5-cli_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-cli ...
Preparing to replace php5-common 5.3.10-1ubuntu3.15 (using .../php5-common_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-common ...
Preparing to replace php5-dev 5.3.10-1ubuntu3.15 (using .../php5-dev_5.3.10-1ubuntu3.19_i386.deb) ...
Unpacking replacement php5-dev ...
Processing triggers for man-db ...
Setting up php5-common (5.3.10-1ubuntu3.19) ...
Setting up php5-cli (5.3.10-1ubuntu3.19) ...
Setting up php5-dev (5.3.10-1ubuntu3.19) ...
root@user19-desktop:~/Downloads/xdebug-master# Run phpize: phpize
Run: command not found
root@user19-desktop:~/Downloads/xdebug-master# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
root@user19-desktop:~/Downloads/xdebug-master# Run phpize
Run: command not found
root@user19-desktop:~/Downloads/xdebug-master# ./configure --enable-xdebug
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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... 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/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20090626+lfs
checking for PHP installed headers prefix... /usr/include/php5
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... nawk
checking if nawk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking Check for supported PHP versions... supported (5.3.10-1ubuntu3.19)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc 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
root@user19-desktop:~/Downloads/xdebug-master# make
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:27:0:
/home/user19/Downloads/xdebug-master/xdebug_compat.h:27:36: error: unknown type name 'znode_op'
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:59:0:
/home/user19/Downloads/xdebug-master/xdebug_var.h:69:64: error: unknown type name 'znode_op'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_include_or_eval_handler':
/home/user19/Downloads/xdebug-master/xdebug.c:532:54: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_startup_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: note: each undeclared identifier is reported only once for each function it appears in
/home/user19/Downloads/xdebug-master/xdebug.c:690:3: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:691:3: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_shutdown_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:814:33: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:842:33: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:843:33: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'add_used_variables':
/home/user19/Downloads/xdebug-master/xdebug.c:1296:27: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1297:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c:1300:27: error: 'zend_op' has no member named 'op2_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1301:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_execute_internal':
/home/user19/Downloads/xdebug-master/xdebug.c:1810:42: error: 'zend_op' has no member named 'result_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_compile_file':
/home/user19/Downloads/xdebug-master/xdebug.c:1849:81: error: 'ZEND_ACC_DONE_PASS_TWO' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# make install
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:27:0:
/home/user19/Downloads/xdebug-master/xdebug_compat.h:27:36: error: unknown type name 'znode_op'
In file included from /home/user19/Downloads/xdebug-master/xdebug.c:59:0:
/home/user19/Downloads/xdebug-master/xdebug_var.h:69:64: error: unknown type name 'znode_op'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_include_or_eval_handler':
/home/user19/Downloads/xdebug-master/xdebug.c:532:54: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_startup_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:662:3: note: each undeclared identifier is reported only once for each function it appears in
/home/user19/Downloads/xdebug-master/xdebug.c:690:3: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:691:3: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'zm_shutdown_xdebug':
/home/user19/Downloads/xdebug-master/xdebug.c:814:33: error: 'ZEND_RETURN_BY_REF' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:842:33: error: 'ZEND_ADD_TRAIT' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c:843:33: error: 'ZEND_BIND_TRAITS' undeclared (first use in this function)
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'add_used_variables':
/home/user19/Downloads/xdebug-master/xdebug.c:1296:27: error: 'zend_op' has no member named 'op1_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1297:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c:1300:27: error: 'zend_op' has no member named 'op2_type'
/home/user19/Downloads/xdebug-master/xdebug.c:1301:84: error: 'znode' has no member named 'var'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_execute_internal':
/home/user19/Downloads/xdebug-master/xdebug.c:1810:42: error: 'zend_op' has no member named 'result_type'
/home/user19/Downloads/xdebug-master/xdebug.c: In function 'xdebug_compile_file':
/home/user19/Downloads/xdebug-master/xdebug.c:1849:81: error: 'ZEND_ACC_DONE_PASS_TWO' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# ./configure --enable-xdebug --with-php-config=/opt/lampp/bin/php-config
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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /opt/lampp
checking for PHP includes... -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib
checking for PHP extension directory... /opt/lampp/lib/php/extensions/no-debug-non-zts-20100525
checking for PHP installed headers prefix... /opt/lampp/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... nawk
checking if nawk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking Check for supported PHP versions... supported (5.4.7)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc 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: config.h is unchanged
config.status: executing libtool commands
root@user19-desktop:~/Downloads/xdebug-master# make
/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/home/user19/Downloads/xdebug-master/xdebug.c:25:17: fatal error: php.h: No such file or directory
compilation terminated.
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# make install/bin/bash /home/user19/Downloads/xdebug-master/libtool --mode=compile cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -o xdebug.lo
libtool: compile: cc -I. -I/home/user19/Downloads/xdebug-master -DPHP_ATOM_INC -I/home/user19/Downloads/xdebug-master/include -I/home/user19/Downloads/xdebug-master/main -I/home/user19/Downloads/xdebug-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user19/Downloads/xdebug-master/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/home/user19/Downloads/xdebug-master/xdebug.c:25:17: fatal error: php.h: No such file or directory
compilation terminated.
make: *** [xdebug.lo] Error 1
root@user19-desktop:~/Downloads/xdebug-master# xdebug
No command 'xdebug' found, did you mean:
 Command 'rxdebug' from package 'openafs-client' (universe)
 Command 'udebug' from package 'openafs-client' (universe)
xdebug: command not found
root@user19-desktop:~/Downloads/xdebug-master# /opt/lampp/lampp restart
Stopping XAMPP for Linux 1.8.1...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
Starting XAMPP for Linux 1.8.1...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
TagsNo tags attached.
Operating System
PHP Version5.4.6

Activities

derick

2015-10-23 08:31

administrator   ~0003190

You're trying to compile the latest version with PHP 5.3. Xdebug 2.3 and later don't support PHP 5.2 and PHP 5.3 anymore.

Issue History

Date Modified Username Field Change
2015-07-22 06:14 suraj New Issue
2015-10-23 08:31 derick Note Added: 0003190
2015-10-23 08:31 derick Status new => resolved
2015-10-23 08:31 derick Resolution open => won't fix
2015-10-23 08:31 derick Assigned To => derick