vagrant@php7dev:~/php-src$ ./configure --enable-gcov --prefix=/usr/local/php70-gcov
gives, eventually:
configure: error: To enable code coverage reporting you must have LTP installed
apt-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'.
?
Goot insight.