make failed, could not install pthreads via pecl
razonyang opened this issue · 1 comments
razonyang commented
If you know how to write phpt tests, please open a PR with environment information, and your test, this will cause CI to test your issue before a human is able to look
Environment
- PHP:
PHP 7.2.10 (cli) (built: Sep 23 2018 23:56:09) ( ZTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.10, Copyright (c) 1999-2018, by Zend Technologies
- pthreads:
- OS: Gentoo
Reproducing Code
pecl install pthreads
Expected Output
pthreads installed
Actual Output
...
running: make
/bin/sh /tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pthreads -DPHP_ATOM_INC -I/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/include -I/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/main -I/tmp/pthreads -I/usr/lib64/php7.2/include/php -I/usr/lib64/php7.2/include/php/main -I/usr/lib64/php7.2/include/php/TSRM -I/usr/lib64/php7.2/include/php/Zend -I/usr/lib64/php7.2/include/php/ext -I/usr/lib64/php7.2/include/php/ext/date/lib -I/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/. -DHAVE_CONFIG_H -g -O2 -c /tmp/pthreads/php_pthreads.c -o php_pthreads.lo
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 934: X--mode=compile: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1101: *** Warning: inferring the mode of operation is deprecated.: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1102: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: Xcc: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I.: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/tmp/pthreads: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-DPHP_ATOM_INC: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/include: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/main: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/tmp/pthreads: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/usr/lib64/php7.2/include/php: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/usr/lib64/php7.2/include/php/main: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/usr/lib64/php7.2/include/php/TSRM: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/usr/lib64/php7.2/include/php/Zend: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/usr/lib64/php7.2/include/php/ext: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/usr/lib64/php7.2/include/php/ext/date/lib: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-I/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/.: No such file or directory
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-DHAVE_CONFIG_H: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-g: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-O2: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1245: X-c: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1298: Xphp_pthreads.lo: command not found
/tmp/pear-build-rootWpVxWM/pthreads-3.1.6/libtool: line 1303: libtool: compile: cannot determine name of library object from `': command not found
make: *** [Makefile:196: php_pthreads.lo] Error 1
ERROR: `make' failed
razonyang commented
Sorry, I've installed pthreads successfully from master branch. Sorry.