Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273703 - sys-cluster/ganglia: should require dev-lang/php with pcre enabled
Summary: sys-cluster/ganglia: should require dev-lang/php with pcre enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 10:18 UTC by Martin Mokrejš
Modified: 2010-09-10 19:01 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 Martin Mokrejš 2009-06-11 10:18:07 UTC
After installing ganglia and startup of gmetad I was receiving the following message when accessing the php pages run by apache:

Fatal error: Call to undefined function preg_match() in /var/www/localhost/htdocs/ganglia/class.TemplatePower.inc.php on line 169

based on the similar issues:
http://www.michiknows.com/2007/02/27/fatal-error-call-to-undefined-function-preg_match/

I have checked how my php package was compiled ... without pcre. I enabled USE=pcre for php and recompiled it, restarted apache2 and everything works now.
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2009-06-20 16:03:26 UTC
Fixed in cvs, thanks for reporting.