ports/146630: Piwik requirements missing
freebsd at unicycle.net
Sun May 16 11:10:01 UTC 2010
>Synopsis: Piwik requirements missing
>Arrival-Date: Sun May 16 11:10:01 UTC 2010
>Originator: Leo Vandewoestijne
FreeBSD stats.unicycle.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Jan 21 18:28:15 UTC 2010 root at srv22.ams1.unicycle.net:/usr/obj/usr/src/sys/UNIXCYCLE amd64
Out of two fresh installs I've observed the Piwik port didn't work without the PHP cli option enabled.
The Piwik port did not check wether the cli version of PHP is installed.
If you use the crontab method to generate the output (in large environments prefered over at-visit-generated), then you certainly would need it.
Further php5-session is also required, when it's missing you'll end up with a fatal error, even before any authentication is setup.
And 3th: php5-json is needed to come to the full result.
on a system without any PHP yet,
install PHP with CLI disabled,
then install the Piwik port.
It's easy to fix manually if you're aware of the issue.
However, I think it's strange to have halfworking ports while they can be better.
I don't know how ports are made.
But it should somehow do a check to see if PHP works in the shell.
For the other two problems, -I asume- in the Makefile, the line:
USE_PHP= mysql gd pdo pdo_mysql zlib iconv dom
USE_PHP= mysql gd pdo pdo_mysql zlib iconv dom session json
More information about the freebsd-ports-bugs