adsr / phpspy

low-overhead sampling profiler for PHP 7+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build on FreeBSD

tuaris opened this issue · comments

Trying to build on FreeBSD 12.0-RELEASE using the provided instructions results in:

make: "/usr/home/Development/phpspy/Makefile" line 22: Need an operator
make: "/usr/home/Development/phpspy/Makefile" line 24: Need an operator
make: "/usr/home/Development/phpspy/Makefile" line 25: Missing dependency operator
make: "/usr/home/Development/phpspy/Makefile" line 28: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/home/Development/phpspy
commented

Hi @tuaris. phpspy only supports Linux at the moment as it currently relies on a Linux-only system call, process_vm_readv. If you'd like to take a shot at porting it, using gmake might unblock you at this point. Thanks.