82 Star 620 Fork 227

yeszao / dnmp

 / 详情

ERROR: g++-9.2.0-r4: package mentioned in index not found (try 'apk update')

待办的
创建于  
2020-03-21 18:31

---------- Install swoole ----------
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... no
checking for gcc... no
configure: error: in /tmp/extensions/swoole': configure: error: no acceptable C compiler found in $PATH See config.log' for more details
error: 'swoole' does not exist

usage: /usr/local/bin/docker-php-ext-enable [options] module-name [module-name ...]
ie: /usr/local/bin/docker-php-ext-enable gd mysqli
/usr/local/bin/docker-php-ext-enable pdo pdo_mysql
/usr/local/bin/docker-php-ext-enable --ini-name 0-apc.ini apcu apc

Possible values for module-name:
opcache.so sodium.so

Some of the above modules are already compiled into PHP; please check
the output of "php -i" to see which modules are already loaded.
---------- Install zip ----------
fetch http://mirrors.aliyun.com/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://mirrors.aliyun.com/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/8) Installing libgcc (9.2.0-r4)
ERROR: libgcc-9.2.0-r4: package mentioned in index not found (try 'apk update')
(2/8) Installing libstdc++ (9.2.0-r4)
ERROR: libstdc++-9.2.0-r4: package mentioned in index not found (try 'apk update')
(3/8) Installing libgomp (9.2.0-r4)
ERROR: libgomp-9.2.0-r4: package mentioned in index not found (try 'apk update')
(4/8) Installing libatomic (9.2.0-r4)
ERROR: libatomic-9.2.0-r4: package mentioned in index not found (try 'apk update')
(5/8) Installing gcc (9.2.0-r4)
ERROR: gcc-9.2.0-r4: package mentioned in index not found (try 'apk update')
(6/8) Installing g++ (9.2.0-r4)
ERROR: g++-9.2.0-r4: package mentioned in index not found (try 'apk update')
(7/8) Installing libzip (1.5.2-r0)
(8/8) Installing libzip-dev (1.5.2-r0)
6 errors; 111 MiB in 76 packages
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... no
checking for gcc... no
configure: error: in /usr/src/php/ext/zip': configure: error: no acceptable C compiler found in $PATH See config.log' for more details
WARNING: Ignoring APKINDEX.811644a4.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.2dee45f2.tar.gz: No such file or directory
ERROR: unsatisfiable constraints:
so:libgcc_s.so.1 (missing):
required by: re2c-1.3-r0[so:libgcc_s.so.1]
so:libstdc++.so.6 (missing):
required by: re2c-1.3-r0[so:libstdc++.so.6]
g++ (missing):
required by: .phpize-deps-20200321.102302[g++]
gcc (missing):
required by: .phpize-deps-20200321.102302[gcc]
ERROR: Service 'php' failed to build: The command '/bin/sh -c chmod +x install.sh && sh install.sh && rm -rf /tmp/extensions' returned a non-zero code: 6

评论 (0)

xiaoxiyue 创建了任务
xiaoxiyue 关联仓库设置为yeszao/dnmp
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
Docker
1
https://gitee.com/yeszao/dnmp.git
git@gitee.com:yeszao/dnmp.git
yeszao
dnmp
dnmp

搜索帮助