From:             phpbr at ecartz dot com
Operating system: Red Hat 9.0
PHP version:      4.3.10
PHP Bug Type:     Compile Failure
Bug description:  configure does not put Kerberos header location in Makefile

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 bug report at http://bugs.php.net/?id=31101&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31101&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31101&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31101&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31101&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31101&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31101&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31101&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31101&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31101&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31101&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31101&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31101&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31101&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31101&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31101&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31101&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31101&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31101&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31101&r=mysqlcfg

Reply via email to