Re: Re: [PHP] PHP with openssl

From: Date: Wed, 30 Apr 2003 19:58:49 +0000
Subject: Re: Re: [PHP] PHP with openssl
Groups: php.general 
Request: Send a blank email to php-general+get-145846@lists.php.net to get a copy of this message
Hi, it should be sufficient to add -I/usr/kerberos/include to the CFLAGS environment variable prior to executing configure. You can do that by executing export CFLAGS="-I/usr/kerberos/include" (bash shell). You might need to use setenv instead of export if you're using another shell. Regards, Thomas =============================================== Thomas Sinka mobil: +49 163 3 23 12 72 mailto: thomas.sinka@it-choice.de An: php-general@lists.php.net Kopie: Blindkopie: Thema: Re: [PHP] PHP with openssl @ 30.04.2003 14:45 AST <font size=-1></font> 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#145846) next »