Home  >  Q&A  >  body text

An error occurs when compiling nginx and executing make

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中文网2736 days ago549

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-16 17:23:48

    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.

    reply
    0
  • Cancelreply