Bug #72443 [Com]: Installing shared extensions: cp: cannot stat 'modules/*': No such file or dire
Edit report at https://bugs.php.net/bug.php?id=72443&edit=1
ID: 72443
Comment by: swen dot zanon at geoglis dot de
Reported by: eugenekurilov at gmail dot com
Summary: Installing shared extensions: cp: cannot stat
'modules/*': No such file or dire
Status: Open
Type: Bug
Package: Compile Failure
Operating System: centos
PHP Version: 7.0.7
Block user comment: N
Private report: N
New Comment:
I have the same issue with php version 7.0.8
Previous Comments:
------------------------------------------------------------------------
[2016-06-17 15:24:45] eugenekurilov at gmail dot com
Description:
------------
I created a new extension by "ext_skel".
[root@localhost ext]# ./ext_skel --extname=eugene
Creating directory eugene
Creating basic files: config.m4 config.w32 .gitignore eugene.c php_eugene.h CREDITS EXPERIMENTAL
tests/001.phpt eugene.php [done].
To use your new extension, you will have to execute the following steps:
1. $ cd ..
2. $ vi ext/eugene/config.m4
3. $ ./buildconf
4. $ ./configure --[with|enable]-eugene
5. $ make
6. $ ./sapi/cli/php -f ext/eugene/eugene.php
7. $ vi ext/eugene/eugene.c
8. $ make
In this case I can't use /buildconf.
Test script:
---------------
I used phpize instead buildconf
[root@localhost eugene]# phpize
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
[root@localhost eugene]# ./configure
.....
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
[root@localhost eugene]# make
Build complete.
Don't forget to run 'make test'.
[root@localhost eugene]# make test
Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /usr/local/bin/php
PHP_SAPI : cli
PHP_VERSION : 7.0.7
ZEND_VERSION: 3.0.0
PHP_OS : Linux - Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57
UTC 2015 x86_64
INI actual : /root/php-7.0.7/ext/eugene/tmp-php.ini
More .INIs :
CWD : /root/php-7.0.7/ext/eugene
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2016-06-15 20:05:35
=====================================================================
SKIP Check for eugene presence [tests/001.phpt]
=====================================================================
TIME END 2016-06-15 20:05:35
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 32
---------------------------------------------------------------------
Number of tests : 1 0
Tests skipped : 1 (100.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 0 seconds
=====================================================================
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it. You can then email it to qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]: n
[root@localhost eugene]# make install
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/
cp: cannot stat 'modules/*': No such file or directory
make: *** [install-modules] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72443&edit=1
Thread (4 messages)