Check attached build log.
Created attachment 175242 [details] Build log
Created attachment 175400 [details, diff] proposed patch phpdbg-client-2.15.5-gcc43.patch
The proposed patch fails still with the PATH_MAX error. Probably glibc-2.8 related: dbgbase_globals.cpp:158: error: ‘PATH_MAX’ was not declared in this scope dbgbase_globals.cpp:160: error: ‘buf’ was not declared in this scope [etc] Diego's log contains the same error.
Created attachment 194604 [details, diff] patch to add limits.h This patch adds limits.h to a few files. When combined with the patch in c#2, phpdbg-client compiles successfully for me.
*** Bug 227697 has been marked as a duplicate of this bug. ***
Removed.
Created attachment 219981 [details] complete patched and working tar.gz sorry, but I've spend hour to find the solution and patch it, I'm attaching complete patched and working file