Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184057 - net-analyzer/cacti requires php be built with USE=pcre
Summary: net-analyzer/cacti requires php be built with USE=pcre
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-03 06:35 UTC by Andrew Ross (RETIRED)
Modified: 2007-07-03 10:33 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 Andrew Ross (RETIRED) gentoo-dev 2007-07-03 06:35:10 UTC
If php is built without USE=pcre, cacti fails with "Fatal error: Call to undefined function preg_match() in .../cacti/lib/data_query.php on line 116"

I've only tested this with net-analyzer/cacti-0.8.6j-r5, but previous versions are probably also affected.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2007-07-03 10:33:30 UTC
Thank you for report, Andrew. Fixed in cacti-0.8.6j-r6 (no revision bump since cacti does not work at all if they are disabled and besides pcre and session are upstream suggested USE flags). BTW, I've also checked and found that besides pcre cacti requires session USE flag which was added too.