The installation of Nginx prompts the need for pcRE library, which needs to be specified by the parameter — with-PCRE. Check that the system has installed PCRE through the RMP-QL command, as shown in the figure below:
When configuring the nginx option with configurer, specifying the pcRE directory as /usr/share/doc/pcre-8.32 will not make an error, as shown in the question. The reason for this error is that — with-PCRE requires you to specify the source directory of the PCRE, not the installation directory, download the PCRE, unzip it, and then configurer specifies it to the unzip it, and when you run make again, it passes.
Zlib depends on libraries in the same way. Zlib is installed in the system, but the zlib specified by configurer cannot be /usr/share/doc/zlib-1.2.7.
You need to download Zlib and unzip it, specifying –with-zlib=/path/to/zlib-source at configurer
When configuring the nginx option with configurer, specifying the pcRE directory as /usr/share/doc/pcre-8.32 will not make an error, as shown in the question. The reason for this error is that — with-PCRE requires you to specify the source directory of the PCRE, not the installation directory, download the PCRE, unzip it, and then configurer specifies it to the unzip it, and when you run make again, it passes.
Zlib depends on libraries in the same way. Zlib is installed in the system, but the zlib specified by configurer cannot be /usr/share/doc/zlib-1.2.7.
You need to download Zlib and unzip it, specifying –with-zlib=/path/to/zlib-source at configurer
Read More:
- Solution / error of. Net framework 4.0 installation failure HResult 0xc8000222 solution
- TFTP: server says: file not found solution
- Solution of sidebyside error 59 / 32
- The solution of using OpenGL’s Glu Library in qt5.2 under win7
- Failed to load the JNI shared library solution
- The solution of configuring OpenGL in vs2017
- Cannot call the same level library solution in pychar
- error:could not open…jvm.cfg solution
- Solution: PIP install MySQL Python has the following problems
- Solution to prompt “error opening terminal: xterm.” when making menuconfig
- Qt5 when compiling VTK_ The solution of dir-notfound
- Adobe Photoshop CS6 download and installation and error:16 The solution of
- Solution to 800b0001 failure of Windows Update
- Solution of fileuriexposedexception for Android 7.0 behavior change
- Beatifulsoup MAC installation solution Python 3
- Anaconda installation opencv Python error solution
- Solution — windows 2012 installation Framework 3.5 in VMWare
- Opencv2.4.9 + ffmpeg1.2.12 installation configuration and problem solution under Ubuntu 14.04
- The solution of console flash in C + +
- CodeBlocks environment error the compiler could not find a solution to the problem