Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305965 - dev-php5/ZendOptimizer-3.3.9 doesnt work with apache SAPI and threads
Summary: dev-php5/ZendOptimizer-3.3.9 doesnt work with apache SAPI and threads
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-19 23:10 UTC by Thilo Bangert (RETIRED) (RETIRED)
Modified: 2010-06-22 21:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-02-19 23:10:31 UTC
Hi,

trying to install dev-php5/ZendOptimizer with USE="apache threads" turned on for PHP doesnt work. The library wont be installed as the TS version of ZendOptimizer seemingly isnt being shipped anymore. copying the lib manully doesn work, since its not thread safe.

disabling threads (USE="-threads" for both php and apache) made everything work.

Conclusion: from where i am standing right now, it looks to me like ZendOptimizer should depend on dev-lang/php[-threads].
thanks.
Comment 1 Doktor Notor 2010-02-20 08:03:27 UTC
ZTS gone on Linux according to docs as well... only for Windows. :/ 

http://www.zend.com/topics/Zend-Optimizer-User-Guide-v330-new.pdf
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-02-20 08:51:11 UTC
ah - yeah. the doc isnt distributed with the source anymore.

Index: ZendOptimizer-3.3.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild,v
retrieving revision 1.1
diff -u -b -B -r1.1 ZendOptimizer-3.3.9.ebuild
--- ZendOptimizer-3.3.9.ebuild  9 Dec 2009 08:37:26 -0000       1.1
+++ ZendOptimizer-3.3.9.ebuild  20 Feb 2010 08:50:35 -0000
@@ -72,7 +72,7 @@
        php-ext-base-r1_addtoinifiles "zend_optimizer.enable_loader" "1"
        php-ext-base-r1_addtoinifiles "zend_optimizer.disable_licensing" "0"

-       dodoc-php README-${PN} data/doc/Zend_Optimizer_User_Guide.pdf
+       dodoc-php README-${PN}
 }

 pkg_postinst() {
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2010-06-22 21:27:44 UTC
I've committed ZendOptimizer-3.3.9-r1 which fixes the doc issue and depends on php[-threads,-debug] as stated in the usermanual. Thanks!