Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos8安装报错 #353

Closed
449134904 opened this issue Mar 21, 2021 · 6 comments
Closed

centos8安装报错 #353

449134904 opened this issue Mar 21, 2021 · 6 comments

Comments

@449134904
Copy link

checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

Package 'oniguruma', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
PHP install failed, Please Contact the author!
Killed
[root@iZt4ncn4n7x5qt8qacr49xZ ~]# Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /usr/lib/systemd/system/php-fpm.service.
Redirecting to /bin/systemctl start php-fpm.service

@449134904
Copy link
Author

centos8.1

@oneinstack
Copy link
Owner

yum -y install oniguruma-devel是否安装?

@449134904
Copy link
Author

你是不是写错了
[root@iZwz9jaz33icbqcpdld7ncZ ~]# yum -y install oniguruma-devel
Last metadata expiration check: 0:42:37 ago on Wed 24 Mar 2021 08:08:46 AM CST.
No match for argument: oniguruma-devel
Error: Unable to find a match: oniguruma-devel

@449134904
Copy link
Author

oniguruma 这个是安装过的

@449134904
Copy link
Author

这样安装可以

yum install autoconf automake libtool -y
wget https://github.com/kkos/oniguruma/archive/v6.9.4.tar.gz -O oniguruma-6.9.4.tar.gz 
tar xf oniguruma-6.9.4.tar.gz 
cd oniguruma-6.9.4/
./autogen.sh && ./configure --prefix=/usr
make && make install

@oneinstack
Copy link
Owner

你的yum源配置有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants