[xdebug-general] Re: installation XDEBUG with MAMP on OSX 10.8.5

From: Damjan Cvetko <zobo[@]scene-si.org>
Date: Tue, 8 Oct 2013 14:25:57 +0200

Hi.

 

Looks ok, just follow the other steps.

 

1. Run: ./configure
2. Run: make
3. Run: cp modules/xdebug.so
/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-201
00525
4. Edit /Applications/MAMP/bin/php/php5.4.10/conf/php.ini and add the
line
zend_extension =
/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-201
00525/xdebug.so
5. Restart the webserver

Best,

Damjan

 

From: combipaolo[@]gmail.com [mailto:combipaolo[@]gmail.com] On Behalf Of Paolo
Combi
Sent: Monday, October 07, 2013 3:05 PM
To: Damjan Cvetko
Cc: xdebug-general[@]lists.xdebug.org
Subject: Re: [xdebug-general] installation XDEBUG with MAMP on OSX 10.8.5

 

i try several time and this is the result :

"
$ ./ configure
-bash: ./: is a directory
imac-di-paolo:xdebug-2.2.3 paolocombi$ ./configure
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 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... i386-apple-darwin12.5.0
checking host system type... i386-apple-darwin12.5.0
checking target system type... i386-apple-darwin12.5.0
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/extensions/no-debug-non-zts-20090626
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... 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 Check for supported PHP versions... supported (5.3.26)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/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... 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... yes
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/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... darwin12.5.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
"

 

 

2013/10/7 Damjan Cvetko <zobo[@]scene-si.org>

I didn't investigate much into the warning, but perhaps phpize did its job
anyway. I suggest you try to run configure like in the instructions.

 

Best,

Damjan

 

From: combipaolo[@]gmail.com [mailto:combipaolo[@]gmail.com] On Behalf Of Paolo
Combi
Sent: Monday, October 07, 2013 10:46 AM
To: Damjan Cvetko
Cc: xdebug-general[@]lists.xdebug.org
Subject: Re: [xdebug-general] installation XDEBUG with MAMP on OSX 10.8.5

 

Hello Damjan,

first of all thank you so much for you reply i'm very greatfully for your
help.

i try to use the instruction from your site but for example when i start
phpize i recive this message :
"
$ phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
"

i see many tutorial but i didn't find any solution for this problem .......
( i find many blog but any REAL solution)

 

and if i try with this solution don't go :

"
$ phpize --with-php-config
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
"

 

i hope you can help me .

thank you again .

best regards

Paolo

 

2013/10/2 Damjan Cvetko <zobo[@]scene-si.org>

 

Hi Paolo

 

Lemme try a stab at this.

 

Have you tried to follow the instructions from the site? To be honest I
haven't yet compiled and installed xdebug on my mac, but it should work.
Perhaps you need to run phpize with full path (and perhaps even pass full
path to php-config).

 

Have you been able to run phpize?

 

Best,

Damjan

 

 

 
Received on Tue Oct 08 2013 - 13:26:03 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST