#31101 [Opn->Fbk]: configure does not put Kerberos header location in Makefile
| From: | sniper@php.net | Date: | Thu, 16 Dec 2004 11:40:27 +0000 |
| Subject: | #31101 [Opn->Fbk]: configure does not put Kerberos header location in Makefile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70337@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: Feedback
Bug Type: Compile Failure
Operating System: Red Hat 9.0
PHP Version: 4.3.10
New Comment:
Works fine for me. You only need --with-kerberos btw..no paths are
necessary since the default location is used.
Previous Comments:
------------------------------------------------------------------------
[2004-12-15 19:41:23] phpbr at ecartz dot com
Description:
------------
I ran configure with --with-kerberos=/usr/kerberos which correctly
added the proper -L switch (see bug 6211) but failed to add
-I/usr/kerberos/include to the INCLUDES assignment. I originally saw
this in 4.3.9 and upgraded to 4.3.10 to see if it was fixed. Note that
this is a different bug from 6211 (albeit similar). Note further that
this would only happen if /usr/kerberos/include is not in the default
include path for the compiler. Not sure how common this is.
Reproduce code:
---------------
./configure --with-kerberos=/usr/kerberos # I had more --with-*, but I
don't think that they matter here
# I will try to verify this later
make
Expected result:
----------------
The configure script should append -I/usr/kerberos/include to the
INCLUDES assignment (around line 85 of my Makefile) when it produces
Makefile, e.g.
INCLUDES = -I$(top_builddir)/Zend -I/usr/kerberos/include
Manually adding -I/usr/kerberos/include to the EXTRA_INCLUDES = line in
Makefile allows the compile to proceed.
Actual result:
--------------
make throws an error about not being able to find krb5.h
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31101&edit=1