Re: PHP with openssl
| From: | Evan Nemerson | Date: | Wed, 30 Apr 2003 20:40:21 +0000 |
| Subject: | Re: PHP with openssl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145857@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Try this patch by Vlad Krupin <vlad@php.net>. It will patch the config.m4 in
ext/openssl to add a --with-kerberos configuration option
After you patch, you will need to ./buildconf before you ./configure
You may need to tinker with it a bit to get it to work.
On Wednesday 30 April 2003 11:45 am, Felderi Santiago wrote:
> Thank you Jason for your input, I truly appreciate it. After searching on
> the nt and Redhat Bugzilla, I found a bug for this problem.
>
> http://bugzilla.redhat.com/bugzilla/long_list.cgi?buglist=84331
>
> It happens to deal with the fact that krb5.h is not being linked correctly
> by openssl. Therefore I need to add the directory to C_FLAGS when
> compiling.
>
> Now I really don't know how to do that. I have to add this:
> -I/usr/kerberos/include into CFLAGS
>
> Can anyone help me please?
>
> Thanks again to all those that have helped me narrow the problems!
>
> Fel.
>
> On Wed, 30 Apr 2003, Jason Wong wrote:
> > On Wednesday 30 April 2003 06:54, Felderi Santiago wrote:
> > > I am trying to now give openssl support to php and I am having
> > > problems.
> > >
> > >
> > > './configure' '--with-mysql'
> > > '--with-apxs2=/usr/sbin/apxs'
> > > '--enable-track-vars' '--enable-force-cgi-redirect'
> > > '--with-gettext'
> > > --with-curl --with-ssl --with-xml --with-imap --with-imap-ssl
> > > --with-kerberos --with-openssl
> > >
> > >
> > > SSL:
> > > openssl-devel-0.9.7a-5
> > > openssl-0.9.7a-5
> > >
> > >
> > > Error:
> > >
> > > In file included from /usr/include/openssl/ssl.h:179,
> > > from main/internal_functions.c:35:
> > > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
> >
> > You need to install the kerberos development package as well -- on a
> > RH7.X system this would be "krb5-devel".
> >
> > As I said in a previous post, you need to install all the devel packages
> > corresponding to the libraries/packages that you're using.
> >
> > --
> > Jason Wong -> Gremlins Associates -> www.gremlins.biz
> > Open Source Software Systems Integrators
> > * Web Design & Hosting * Internet & Intranet Applications Development *
> > ------------------------------------------
> > Search the list archives before you post
> > http://marc.theaimsgroup.com/?l=php-general
> > ------------------------------------------
> > /*
> > There's always free cheese in a mousetrap.
> > */
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+sDTt/rncFku1MdIRAqj8AJ9ED/rsGRhTC2qQD88duVx1xOthJQCfcKE1
CKlv5hNP4WlsnIzp0JAo0rE=
=w2w3
-----END PGP SIGNATURE-----
Attachment: [text/x-diff] RH9-OpenSSL-Kerberos-Hack.diff
Attachment: [text/x-diff] RH9-OpenSSL-Kerberos-Hack.diff