ID: 23180 Comment by: [EMAIL PROTECTED] Reported By: alietss at yahoo dot com Status: Bogus Bug Type: Compile Failure Operating System: Linux RedHat 9.0 PHP Version: 4.3.2-RC New Comment:
I can duplicate this bug on RedHat 9.0, with the following command line: ./configure --prefix=/usr/local/apache --with-apxs2=/usr/local/apache/bin/apxs --with-openssl=/usr This command line results in build failures, due to the process not including /usr/kerberos/include in the proceedings. However, the following change doesn't work either, ./configure ... --with-kerberos=/usr/kerberos So on RedHat, it might be valuable to instruct autoconf to actually include the files that apparently don't depend on kerberos everywhere and probe to include that -- failing with a suggestion to use a (fixed) --with-kerberos= line if it can't detect it. Previous Comments: ------------------------------------------------------------------------ [2003-04-29 16:59:27] alietss at yahoo dot com Hi Guys: Wow at last, I built it, all you have to do to workaround this on RedHat 9.0, if you're gonna build it on console type the command export CPPFLAGS=-I/usr/kerberos/include, and with a spec file to build a RPMS add before the configure this CPPFLAGS="-I/usr/kerberos/include"; export CPPFLAGS. With this you are going to build it ok, Ah important don't build php with his mysql builtin support, this will fail on Redhat 9.0, rather build it with your extern mysql headers, ex --with-mysql=/usr. Thank's hewei, it works ------------------------------------------------------------------------ [2003-04-29 08:16:34] hewei at ied dot org dot cn can export CPPFLAGS=-I/usr/kerberos/include before ./configure as a walkaround. How about adding a 'with-kerberos-dir=DIR' option? ------------------------------------------------------------------------ [2003-04-28 18:05:20] [EMAIL PROTECTED] This is some RH 9.0 bug with their openssl packages. Not PHP problem. ------------------------------------------------------------------------ [2003-04-28 12:37:32] alietss at yahoo dot com Hi Snipper: Hey I tested with latest snapshot and the error persists in the make.... Here my openssl and rpms related on RedHat 9.0 openssl-0.9.7a-5 openssl-devel-0.9.7a-5 openssl-perl-0.9.7a-5 krb5-libs-1.2.7-14 pam_krb5-1.60-1 krb5-server-1.2.7-14 krb5-workstation-1.2.7-14 krb5-devel-1.2.7-14 Regards ------------------------------------------------------------------------ [2003-04-28 10:28:14] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Some configure stuff is fixed now. Also, what Openssl version is this?? Did you install it from RPM or compile yourself? If RPM, did you install the development RPM too? (openssl-dev or something like that) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23180 -- Edit this bug report at http://bugs.php.net/?id=23180&edit=1