Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222079 - www-misc/zoneminder missing dependency on php sockets USE flag
Summary: www-misc/zoneminder missing dependency on php sockets USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL: http://www.zoneminder.com/forums/view...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 13:19 UTC by Denis Cheong
Modified: 2008-05-17 07:40 UTC (History)
0 users

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 Denis Cheong 2008-05-14 13:19:45 UTC
Zoneminder utilises the socket_create PHP function which is only available if PHP is emerged with the "sockets" USE flag.  Without this flag, Pan/Tilt/Zoom (PTZ) functions within the application do not work (a silent failure unless PHP logging is turned on)

This flag should be added as a dependency or at least a postinstall warning included that PTZ functionality will not work if PHP is not re-emerged with this USE flag enabled.

Incidentally, Zoneminder also requires PHP be emerged with the "apache2" USE flag but that's far more obvious than the sockets flag.

Reproducible: Always

Steps to Reproduce:
1. Emerge PHP without the sockets USE flag (note: This is the default in 2008.0)
2. Emerge zoneminder
3. Configure zoneminder
4. Attempt to control a PTZ camera and check PHP logging

Actual Results:  
[14-May-2008 22:14:41] PHP Fatal error:  Call to undefined function socket_create() in /var/www/zoneminder/htdocs/zm_actions.php on line 845
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2008-05-17 07:40:03 UTC
Thanks! in cvs.