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

Bug 105981

Summary: php-5.0.5 does not require cyrus-sasl when use flag "sasl" is set
Product: Gentoo Linux Reporter: Gunnar Wrobel (RETIRED) <wrobel>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 60440    

Description Gunnar Wrobel (RETIRED) gentoo-dev 2005-09-14 10:48:37 UTC
I did not have cyrus-sasl installed but activated the "sasl" use-flag for
php-5.0.5. This resulted in a failure in configure

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
checking for ldap_parse_result... yes
checking for ldap_parse_reference... yes
checking for ldap_start_tls_s... yes
configure: error: sasl.h not found!

!!! ERROR: dev-lang/php-5.0.5 failed.
!!! Function php5_0-sapi_src_compile, Line 496, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Something like this should be added to the eclass:

sasl? ( dev-libs/cyrus-sasl )
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-09-16 13:17:31 UTC
Hi, thanks for signaling this.
The "sasl? ( dev-libs/cyrus-sasl )" DEPEND was fixed in the PHP Overlay [1].
Now it will correctly require cyrus-sasl.
Best regards, CHTEKK.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-17 09:23:12 UTC
Closing, will be soon fixed in portage as well.