ID:               31101
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to