/bin/bash /home/rodion/pib/php-7.3.0beta2/libtool --silent --preserve-dup-deps --mode=compile /home/rodion/emsdk/emscripten/1.38.12/emcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/home/rodion/pib/php-7.3.0beta2/Zend/ -DPHP_ATOM_INC -I/home/rodion/pib/php-7.3.0beta2/include -I/home/rodion/pib/php-7.3.0beta2/main -I/home/rodion/pib/php-7.3.0beta2 -I/home/rodion/pib/php-7.3.0beta2/ext/date/lib -I/home/rodion/pib/php-7.3.0beta2/TSRM -I/home/rodion/pib/php-7.3.0beta2/Zend -fvisibility=hidden -DZEND_SIGNALS -c /home/rodion/pib/php-7.3.0beta2/Zend/zend_string.c -o Zend/zend_string.lo
/home/rodion/pib/php-7.3.0beta2/Zend/zend_string.c:23:11: fatal error: 'valgrind/callgrind.h' file not found
# include "valgrind/callgrind.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
Makefile:787: recipe for target 'Zend/zend_string.lo' failed
make: *** [Zend/zend_string.lo] Error 1
mkdir: cannot create directory ‘out’: File exists
ERROR:root:libs/libphp7.a: No such file or directory ("libs/libphp7.a" was expected to be an input file, based on the commandline arguments provided)
cp: cannot stat 'out/php.wasm': No such file or directory
cp: cannot stat 'out/php.js': No such file or directory
cp: cannot stat 'out/php.data': No such file or directory
Done
After running
bash build.sh
I'm get this error:emcc 1.38.12 OS: Ubuntu 18.04
Thanks