Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57184

Summary: mod_php-5.0.0 can't find sasl.h (even though emerge installed sasl just before mod_php)
Product: Gentoo Linux Reporter: Forza <forza>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 56963    

Description Forza 2004-07-15 07:53:52 UTC
When configure runs I come to this section:

Configuring extensions
...
<snip>
...
./configure: line 1: cd: shared: No such file or directory
checking whether build with IMAP works... yes
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for IRCG support... no
checking for LDAP support... yes, shared
checking for LDAP Cyrus SASL support... shared
checking for 3 arg ldap_set_rebind_proc... yes
checking for ldap_parse_reference... no
checking for ldap_start_tls_s... no
configure: error: sasl.h not found!

!!! ERROR: dev-php/mod_php-5.0.0 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed



Reproducible: Always
Steps to Reproduce:
1. enable USE="sasl ldap"
2. emerge mod_php


Actual Results:  
Configure could not complete. It didn't find required include file (sasl.h)

Expected Results:  
Configure should have found sasl.h.

sasl.h is available in /usr/include/sasl/sasl.h
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-07-21 09:23:24 UTC
I've committed a fix which works for me.  It should arrive on your local rsync mirror in about an hour.

Please re-emerge php, and let me know how you get on.

Best regards,
Stu
Comment 2 Dennis Schridde 2004-08-13 04:18:32 UTC
This is still valid for php-5.0.0-r1
Same error like for mod_php-5.0.0

checking for LDAP support... yes, shared
checking for LDAP Cyrus SASL support... shared
checking for 3 arg ldap_set_rebind_proc... yes
checking for ldap_parse_reference... no
checking for ldap_start_tls_s... no
configure: error: sasl.h not found!

!!! ERROR: dev-php/php-5.0.0-r1 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed