Re: php5 compile fails

From: Date: Mon, 28 Apr 2003 23:08:22 +0000
Subject: Re: php5 compile fails
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-1092@lists.php.net to get a copy of this message
I'm not willing to add such hacks (no more!) just because some new system has an obvious bug in it. --Jani On Mon, 28 Apr 2003, Vlad Krupin wrote: >Jani Taskinen wrote: > >> There was some bug report about this too..so is the >> answer to these "Not PHP bug, blame RH9" ? :) >> >I do not know. It depends... > >Redhat9 comes with openssl that is compiled without OPENSSL_NO_KRB5. >Hence, krb5.h is required, but it's located in /usr/kerberos/include. >They keep closing bugreports about that saying "won't fix" - they say >that your make file is responsible for making sure it knows where to >find kerberos include files. I respectfully disagree, because a file like: > >#include <openssl/ssl.h> >int main(){} > >should compile, and it doesn't. > > >As a quick fix, I just ripped some code off imap/config.m4, modified it >a bit and added to openssl/config.m4 (see patch). This fixes the problem. >However, it is kinda silly to require --with-kerberos parameter if >people are using older openssl and do not have/use kerberos. The right >way to do this is to find out whether openssl was compiled with >OPENSSL_NO_KRB5. If not, then we need to search for kerberos, like the >patch does. If it is defined, no intervention is required. I am not >quite sure what's the best way to do that, so could someone look at the >patch and fix it to check for OPENSSL_NO_KRB5 ? (I don't have time to >figure that out right this moment) > >Vlad > >P.S. This also affects 4.3.2 and will frustrate the heck out of everyone >trying to install it on a redhat9 system. > -- <- For Sale! ->

« previous php.internals (#1092) next »