NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Installation: OS X 10.4.8, PHP 5.2, DBG 2.15


Joined: 27 Jan 2007
Posts: 1
Reply with quote
I've found the instructions for installation on OS X at mac-os-x-installation-step-by-step-t2104.html and , but I'm still having problems.

My PHP installation is: PHP Version 5.2.0 www.entropy.ch Release 3 (Universal Binary)

I ran the configure command, which completed without a problem.
Code:

/configure --enable-dbg=shared --with-dbg-profiler \
> --with-php-config=/usr/local/php5/bin/php-config \
> --prefix=/usr/local/php5/


When I run make, I get these errors:
Code:

/Users/elford/Desktop/dbg-2.15.1/dbg_ser.c: In function 'serialize_hash':
/Users/elford/Desktop/dbg-2.15.1/dbg_ser.c:72: warning: passing argument 2 of 'zend_unmangle_property_name' makes integer from pointer without a cast
/Users/elford/Desktop/dbg-2.15.1/dbg_ser.c:72: error: too few arguments to function 'zend_unmangle_property_name'
make: *** [dbg_ser.lo] Error 1


I have a feeling this is something to do with a conflict between the entropy.ch PHP 5.2 module and DBG 2.15, but I'm not sure. Can someone tell me how to get DBG installed on this system?
View user's profileFind all posts by elfordSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
dbg 2.15.1 is not compatible with php-5.2.0 sources.
You may want to use PhpED (commercial IDE) or wait for updates to free debugger.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Apr 2007
Posts: 1
Location: San Diego
Reply with quote
You can also modify line 72 of dbg_ser.c to

zend_unmangle_property_name(key,strlen(key), &classname, &propname);

and it will compile fine. have yet to test it though.
View user's profileFind all posts by ahfSend private messageICQ Number
Installation: OS X 10.4.8, PHP 5.2, DBG 2.15
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic