An error occurs when compiling nginx and executing make
PHP中文网
PHP中文网 2017-05-16 17:21:48
0
1
502

1).
sudo ./configure --prefix=/usr/local/nginx --with-pcre=/usr/local/src/pcre2-10.10
No error is reported in this step

2).
sudo make reports an error, the error screenshot is as follows

May I ask what is the reason behind this

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
左手右手慢动作

It went to /usr/local/src/pcre2-10.10 to look for the header filepcre.h, ​​but it was not found, and then an error was reported.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!