Is anyone using DBG Debugger on OS X ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Has anyone successfully compiled/used DBG debugger with OS X and PHPEclipse ?
I am getting pretty cryptic compile errors as I am not a unix guru.

many thanks to the brighter folks who have been down this road.....

I have:
OS X 10.4.7
PHP 5.1.4 www.entropy.ch Release 5 (Universal Binary)
Eclipse 3.1
PHPEclipse [newest update from within Eclipse]


I downloaded dbg-cli-2.13.1-src and.....
./configure appears to finish without errors
'make' produces the below erros

make all-recursive
Making all in pcre
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLINK_SIZE=2 - DPOSIX_MALLOC_THRESHOLD=10 -g -O2 -c chartables.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLINK_SIZE=2 - DPOSIX_MALLOC_THRESHOLD=10 -g -O2 -c pcre.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLINK_SIZE=2 - DPOSIX_MALLOC_THRESHOLD=10 -g -O2 -c pcreposix.c
rm -f libpcre_1.a
ar cru libpcre_1.a chartables.o pcre.o pcreposix.o
ranlib libpcre_1.a
Making all in dbgbase
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre -I../ -DDBG_USE_STDALLOCA - g -O2 -c dbg_net.c c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre -I../ -DDBG_USE_STDALLOCA - g -O2 -c DbgSess.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre -I../ -DDBG_USE_STDALLOCA - g -O2 -c DbgSpawn.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre -I../ -DDBG_USE_STDALLOCA - g -O2 -c ListenerBase.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre -I../ -DDBG_USE_STDALLOCA - g -O2 -c dbgbase_globals.cpp dbgbase_globals.cpp: In function 'int dbh_check_new_client_connect (int, sockaddr*, int)': dbgbase_globals.cpp:709: error: invalid conversion from 'int*' to 'socklen_t*' dbgbase_globals.cpp:709: error: initializing argument 3 of 'int accept (int, sockaddr*, socklen_t*)'
make[2]: *** [dbgbase_globals.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Some have suggested that you are supposed to roll your own PHP from source. As I am using Marc Lyniages Entropy PHP package 5.1.4, does anyone recommend the correct PHP tar to download for DBG

any help is appreciated

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux