dunno if this could help :
- the $PLAT variable of the deferphpize script has this value : Darwin
- the case conditionnal of the deferphpize don't have a "Darwin" entry.
anyway, i create this entry, put the same commands as the 'linux' one in it, and finally, i get a compilation error (the same error occured if i put the 'freebsd' commands in my customized case entry):
/usr/local/php5/include/php/Zend/zend.h:80: header file 'dlfcn.h' not found
/usr/local/php5/include/php/Zend/zend.h:137: header file 'alloca.h' not found
/usr/local/php5/include/php/main/php.h:100: header file 'alloca.h' not found
/usr/local/php5/include/php/main/php.h:324: syntax error, found `+'
/usr/local/php5/include/php/main/php.h:324: illegal function definition, found `)'
/usr/local/php5/include/php/main/php.h:326: syntax error, found `+'
/usr/local/php5/include/php/main/php.h:326: illegal function definition, found `)'
/usr/local/php5/include/php/main/php.h:328: syntax error, found `+'
/usr/local/php5/include/php/main/php.h:328: illegal function definition, found `)'
/usr/local/php5/include/php/main/streams/php_stream_transport.h:81: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/streams/php_stream_transport.h:89: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/streams/php_stream_transport.h:100: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/streams/php_stream_transport.h:106: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/streams/php_stream_transport.h:131: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/streams/php_stream_transport.h:140: undefined type, found `socklen_t'
/usr/local/php5/include/php/TSRM/tsrm_config_common.h:18: header file 'alloca.h' not found
/usr/local/php5/include/php/main/php_network.h:113: header file 'sys/poll.h' not found
/usr/local/php5/include/php/main/php_network.h:231: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/php_network.h:247: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/php_network.h:256: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/php_network.h:262: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/php_network.h:288: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/php_network.h:293: undefined type, found `socklen_t'
/usr/local/php5/include/php/main/php_network.h:297: undefined type, found `socklen_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make: *** [dbg.lo] Error 1
|
as said before, my php5 distrib is the one released by marc liyanage and downloaded from entropy.ch. does the problem came from it ?
any clue on how i can fix it ?
thanx for your time ddmitrie