From: [EMAIL PROTECTED] Operating system: Heavily modified Red Hat 6.2 PHP version: 4.2.1 PHP Bug Type: Compile Failure Bug description: Compile problems with ICAP extension.
I'm having problems compiling PHP 4 with the ICAP extension enabled. I have the latest version on MCAL installed on my system (0.6). 'ext/icap/php_icap.c' attempts to #INCLUDE 'cal.h'--however, MCAL has no header file called 'cal.h'. It does have 'cal_misc.h' and 'mcal.h', but not 'cal.h'. In /usr/local/include/mcal, I symlinked 'cal.h' to 'cal_misc.h', and ran 'make' again. This time compilation of 'ext/icap/php_icap.c' successed. However, a few files later, it tried to compile something with '-licap'. MCAL no longer has a seperate libicap. I found that '-licap' was coming from $ICAP_SHARED_LIBADD in 'config_vars.mk'. I changed '-licap' to '-lmcal' and this second file compiled without errors. I think this generally means that the ICAP extension must be pretty out of date. Maybe somebody should do some work on it. -- Edit bug report at http://bugs.php.net/?id=17521&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17521&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17521&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17521&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17521&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17521&r=support Expected behavior: http://bugs.php.net/fix.php?id=17521&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17521&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17521&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17521&r=globals
