#31101 [Opn->Asn]: configure does not put Kerberos header location in Makefile
| From: | sniper@php.net | Date: | Thu, 23 Dec 2004 13:02:33 +0000 |
| Subject: | #31101 [Opn->Asn]: configure does not put Kerberos header location in Makefile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70972@lists.php.net to get a copy of this message | ||
ID: 31101
Updated by: sniper@php.net
Reported By: phpbr at ecartz dot com
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
-Operating System: Red Hat 9.0
+Operating System: *
-PHP Version: 4.3.10
+PHP Version: 4CVS, 5CVS (2004-12-23)
-Assigned To:
+Assigned To: sniper
New Comment:
Thank you for the excellent information (finally :).
I will look into this issue next year, if not already after christmas.
:)
Previous Comments:
------------------------------------------------------------------------
[2004-12-23 08:38:28] phpbr at ecartz dot com
Red Hat has suggested configure.in (may need to be
ext/openssl/config0.m4 in your case) script changes for this at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82369
Note: if you want to duplicate this, you would first need to compile
OpenSSL with Kerberos support.
In the meantime, for anyone else who might encounter this problem, the
indicated work around seems to be to run
export CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
before running make (at least the first time; if you run make multiple
times, it should still be there; you can check with
echo $CPPFLAGS
; it should return something that contains -I/usr/kerberos/include).
------------------------------------------------------------------------
[2004-12-23 08:37:48] phpbr at ecartz dot com
I took it another step down to
./configure --with-openssl
make clean && make
and still get the same error (even without the --with-kerberos).
I read http://us4.php.net/function.fsockopen to
indicate that
--with-openssl is needed for full functionality of fsockopen in PHP
4.3. At least that's what I'm guessing "if you have compiled in
OpenSSL support" means.
It seems to me that the current configure script only checks kerberos
in relation to IMAP (the kerberos checking code is inside the IMAP
checking code). However, OpenSSL also seems to require kerberos, at
least in my install. For this reason, I would like it if the
--with-kerberos added the necessary -I/usr/kerberos/include regardless
of whether --with-imap is included. I am not sure how many others
would be affected by this.
------------------------------------------------------------------------
[2004-12-23 07:03:19] phpbr at ecartz dot com
Just to make sure that I didn't have cruft left from previous
configurations, I renamed my php-4.3.10 directory to php-old and
extracted a fresh copy from the tarball and get the originally observed
behavior with just
./configure --with-openssl --with-kerberos
make
------------------------------------------------------------------------
[2004-12-23 06:50:39] phpbr at ecartz dot com
Sorry, it's --with-openssl no - between open and ssl
Right now,
./configure --with-kerberos --with-openssl
is my full configure line. I tried adding --with-imap since the
kerberos checking is inside the IMAP checking, but I get a malformed
Makefile when I do that: Missing separator error. Anyway, the error
is with just the above command and
make clean && make
------------------------------------------------------------------------
[2004-12-23 06:33:14] sniper@php.net
works fine for me. You're doing something wrong and not giving enought
information. (the full configure line you use would be nice start..)
btw. There is NO such configure option as '--with-open-ssl'.
------------------------------------------------------------------------
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/31101
--
Edit this bug report at http://bugs.php.net/?id=31101&edit=1