vagrant@php7dev:~/php-src$ ./configure --enable-gcov --prefix=/usr/local/php70-gcovgives, eventually:
configure: error: To enable code coverage reporting you must have LTP installedapt-get install ltp doesn't work. So then
vagrant@php7dev:~$ mkdir ~/ltp
vagrant@php7dev:~$ cd ~/ltp
vagrant@php7dev:~/ltp$ wget https://github.com/linux-test-project/ltp/archive/20150119.tar.gz
vagrant@php7dev:~/ltp$ tar -zxvf ./20150119.tar.gz
vagrant@php7dev:~/ltp$ cd ltp-20150119/
vagrant@php7dev:~/ltp/ltp-20150119$ ./configure
vagrant@php7dev:~/ltp/ltp-20150119$ make all
vagrant@php7dev:~/ltp/ltp-20150119$ make install
Now that appears to do something (there's lots in /opt/ltp) but ./configure --enable-gcov --prefix=/usr/local/php70-gcov still says 'you must have LTP installed'.
?
Updated from config.log:
and then
in the list of variable.