Cannot build OpenLiteSpeed in Rocky Linux 8

#1
I run build in Rocky Linux with full openssl lib but i receive this error

Bash:
[root@localhost openlitespeed-1.7.16]# ./build.sh
OS is Linux, APP_MGR_CMD is dnf.
Last metadata expiration check: 0:53:44 ago on Mon 13 Feb 2023 12:08:31 AM +07.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:53:45 ago on Mon 13 Feb 2023 12:08:31 AM +07.
Package epel-release-8-18.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Rocky Linux release 8.7 (Green Obsidian)
Last metadata expiration check: 0:53:47 ago on Mon 13 Feb 2023 12:08:31 AM +07.
Dependencies resolved.
====================================================================================================
 Package                Architecture          Version                  Repository              Size
====================================================================================================
Installing Groups:
 Development Tools

Transaction Summary
====================================================================================================

Complete!
Last metadata expiration check: 0:53:49 ago on Mon 13 Feb 2023 12:08:31 AM +07.
Package git-2.31.1-3.el8_7.x86_64 is already installed.
Package cmake-3.20.2-4.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:53:50 ago on Mon 13 Feb 2023 12:08:31 AM +07.
Package git-2.31.1-3.el8_7.x86_64 is already installed.
Package cmake-3.20.2-4.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
cmake installed.
Last metadata expiration check: 0:53:51 ago on Mon 13 Feb 2023 12:08:31 AM +07.
Package libtool-2.4.6-25.el8.x86_64 is already installed.
Package autoconf-2.69-29.el8.noarch is already installed.
No match for argument: autoheader
Package automake-1.16.1-7.el8.noarch is already installed.
Package wget-1.19.5-10.el8.x86_64 is already installed.
Package patch-2.7.6-11.el8.x86_64 is already installed.
Error: Unable to find a match: autoheader
liblsquic
Need to git download the submodule ...
Cloning into 'lsquic'...
remote: Enumerating objects: 7354, done.
remote: Counting objects: 100% (525/525), done.
remote: Compressing objects: 100% (394/394), done.
remote: Total 7354 (delta 176), reused 407 (delta 130), pack-reused 6829
Receiving objects: 100% (7354/7354), 8.79 MiB | 9.25 MiB/s, done.
Resolving deltas: 100% (5448/5448), done.
LIBQUICVER is 3bbf683f25ab84826951350c57ae226c88c54422
Note: switching to '3bbf683f25ab84826951350c57ae226c88c54422'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 3bbf683 Release 3.2.0
Submodule 'src/liblsquic/ls-qpack' (https://github.com/litespeedtech/ls-qpack) registered for path 'src/liblsquic/ls-qpack'
Submodule 'src/lshpack' (https://github.com/litespeedtech/ls-hpack) registered for path 'src/lshpack'
Cloning into '/root/openlitespeed-1.7.16/lsquic/src/liblsquic/ls-qpack'...
Cloning into '/root/openlitespeed-1.7.16/lsquic/src/lshpack'...
Submodule path 'src/liblsquic/ls-qpack': checked out '5c1d58268b05dc47b7adf74dca5e677169710258'
Submodule path 'src/lshpack': checked out '14bec45020023db299b0a2c12a0c9ac90fbed49b'
./build.sh: line 466: ../third-party/psol-1.11.33.4/include/pagespeed/kernel/base/scoped_ptr.h: No such file or directory
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at CMakeModules/common.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:5 (INCLUDE)


CMake Deprecation Warning at src/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/adns/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/edio/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at CMakeModules/common.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  src/edio/CMakeLists.txt:2 (INCLUDE)


CMake Deprecation Warning at src/extensions/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/extensions/fcgi/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/extensions/cgi/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/extensions/jk/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/extensions/proxy/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/extensions/registry/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/extensions/lsapi/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/http/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/log4cxx/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/lsiapi/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/lsr/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/main/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/modules/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/modules/modgzip/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/modules/cache/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/modules/modreqparser/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/modules/modinspector/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/modules/uploadprogress/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/modules/pagespeed/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/quic/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/shm/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/socket/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at CMakeModules/common.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  src/socket/CMakeLists.txt:2 (INCLUDE)


CMake Deprecation Warning at src/spdy/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/sslpp/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/ssi/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/thread/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/util/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/h2/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Configuring done
-- Generating done
-- Build files have been written to: /root/openlitespeed-1.7.16/build
Consolidate compiler generated dependencies of target adns
Consolidate compiler generated dependencies of target log4cxx
Consolidate compiler generated dependencies of target h2
Consolidate compiler generated dependencies of target jk
Consolidate compiler generated dependencies of target lsshm
Consolidate compiler generated dependencies of target fcgi
Consolidate compiler generated dependencies of target registry
Consolidate compiler generated dependencies of target edio
Consolidate compiler generated dependencies of target cgi
Consolidate compiler generated dependencies of target proxy
Consolidate compiler generated dependencies of target modgzip
Consolidate compiler generated dependencies of target lsapi
Consolidate compiler generated dependencies of target extensions
Consolidate compiler generated dependencies of target lsr
Consolidate compiler generated dependencies of target quic
Consolidate compiler generated dependencies of target lsiapi
Consolidate compiler generated dependencies of target socket
Consolidate compiler generated dependencies of target cache
Consolidate compiler generated dependencies of target main
Consolidate compiler generated dependencies of target util
Consolidate compiler generated dependencies of target spdy
Consolidate compiler generated dependencies of target lsquic
Consolidate compiler generated dependencies of target sslpp
[  0%] Built target adns
[  3%] Built target jk
[  3%] Built target lsshm
Consolidate compiler generated dependencies of target http
[  7%] Built target h2
[  8%] Built target log4cxx
[  9%] Built target fcgi
[ 13%] Built target cgi
[ 13%] Built target proxy
[ 14%] Built target registry
[ 17%] Built target extensions
[ 22%] Built target edio
[ 22%] Built target modgzip
[ 23%] Built target lsapi
[ 23%] Building C object src/lsr/CMakeFiles/lsr.dir/ls_pcreg.c.o
[ 25%] Built target socket
[ 25%] Building CXX object src/modules/cache/CMakeFiles/cache.dir/cachemanager.cpp.o
[ 26%] Building CXX object src/lsiapi/CMakeFiles/lsiapi.dir/lsiapilib.cpp.o
[ 28%] Built target main
[ 28%] Building CXX object src/modules/cache/CMakeFiles/cache.dir/cachestore.cpp.o
[ 29%] Building CXX object src/modules/cache/CMakeFiles/cache.dir/shmcachemanager.cpp.o
[ 29%] Built target quic
[ 30%] Building CXX object src/modules/cache/CMakeFiles/cache.dir/dirhashcachestore.cpp.o
[ 30%] Building CXX object src/modules/cache/CMakeFiles/cache.dir/cacheconfig.cpp.o
[ 30%] Building CXX object src/modules/cache/CMakeFiles/cache.dir/cache.cpp.o
Consolidate compiler generated dependencies of target modreqparser
[ 31%] Built target spdy
Consolidate compiler generated dependencies of target ssi
Consolidate compiler generated dependencies of target modinspector
Consolidate compiler generated dependencies of target thread
Consolidate compiler generated dependencies of target uploadprogress
Consolidate compiler generated dependencies of target modpagespeed
[ 31%] Building CXX object src/util/CMakeFiles/util.dir/filtermatch.cpp.o
[ 31%] Building CXX object src/util/CMakeFiles/util.dir/pcregex.cpp.o
[ 32%] Built target modreqparser
[ 34%] Built target sslpp
[ 35%] Built target modinspector
[ 35%] Built target uploadprogress
[ 36%] Building CXX object src/ssi/CMakeFiles/ssi.dir/ssiengine.cpp.o
[ 36%] Building CXX object src/ssi/CMakeFiles/ssi.dir/ssiruntime.cpp.o
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachemanager.h:24,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachemanager.cpp:19:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
[ 36%] Building CXX object src/ssi/CMakeFiles/ssi.dir/ssiscript.cpp.o
[ 36%] Building CXX object src/ssi/CMakeFiles/ssi.dir/__/http/requestvars.cpp.o
make[2]: *** [src/modules/cache/CMakeFiles/cache.dir/build.make:76: src/modules/cache/CMakeFiles/cache.dir/cachemanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 54%] Built target lsquic
[ 56%] Built target thread
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachemanager.h:24,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachestore.h:27,
                 from /root/openlitespeed-1.7.16/src/modules/cache/dirhashcachestore.h:22,
                 from /root/openlitespeed-1.7.16/src/modules/cache/dirhashcachestore.cpp:19:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/util/pcregex.cpp:18:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** No rule to make target '../../third-party/psol-1.11.33.4/lib/Debug/linux/x64/pagespeed_automatic.a', needed by 'src/modules/pagespeed/modpagespeed.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
In file included from /root/openlitespeed-1.7.16/src/lsr/ls_pcreg.c:22:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachemanager.h:24,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachestore.h:27,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachestore.cpp:20:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/util/CMakeFiles/util.dir/build.make:230: src/util/CMakeFiles/util.dir/pcregex.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/log_message_handler.cpp.o
make[2]: *** [src/lsr/CMakeFiles/lsr.dir/build.make:328: src/lsr/CMakeFiles/lsr.dir/ls_pcreg.c.o] Error 1
[ 57%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_server_context.cpp.o
make[1]: *** [CMakeFiles/Makefile2:1104: src/lsr/CMakeFiles/lsr.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 57%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/pagespeed.cpp.o
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/util/filtermatch.h:22,
                 from /root/openlitespeed-1.7.16/src/util/filtermatch.cpp:18:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
[ 57%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_caching_headers.cpp.o
compilation terminated.
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachemanager.h:24,
                 from /root/openlitespeed-1.7.16/src/modules/cache/shmcachemanager.h:22,
                 from /root/openlitespeed-1.7.16/src/modules/cache/shmcachemanager.cpp:19:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
[ 57%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_message_handler.cpp.o
make[2]: *** [src/modules/cache/CMakeFiles/cache.dir/build.make:132: src/modules/cache/CMakeFiles/cache.dir/cachestore.cpp.o] Error 1
make[2]: *** [src/modules/cache/CMakeFiles/cache.dir/build.make:174: src/modules/cache/CMakeFiles/cache.dir/dirhashcachestore.cpp.o] Error 1
make[2]: *** [src/util/CMakeFiles/util.dir/build.make:874: src/util/CMakeFiles/util.dir/filtermatch.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1494: src/util/CMakeFiles/util.dir/all] Error 2
[ 57%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_rewrite_driver_factory.cpp.o
[ 57%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_rewrite_options.cpp.o
[ 57%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_base_fetch.cpp.o
[ 58%] Building CXX object src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_uamatcher.cpp.o
make[2]: *** [src/modules/cache/CMakeFiles/cache.dir/build.make:90: src/modules/cache/CMakeFiles/cache.dir/shmcachemanager.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiruntime.h:22,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiruntime.cpp:18:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/ssi/CMakeFiles/ssi.dir/build.make:104: src/ssi/CMakeFiles/ssi.dir/ssiruntime.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiruntime.h:22,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiengine.cpp:22:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/ssi/CMakeFiles/ssi.dir/build.make:76: src/ssi/CMakeFiles/ssi.dir/ssiengine.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachemanager.h:24,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachestore.h:27,
                 from /root/openlitespeed-1.7.16/src/modules/cache/dirhashcachestore.h:22,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cache.cpp:22:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/modules/cache/CMakeFiles/cache.dir/build.make:216: src/modules/cache/CMakeFiles/cache.dir/cache.cpp.o] Error 1
[ 58%] Building CXX object src/http/CMakeFiles/http.dir/rewriterulelist.cpp.o
[ 59%] Building CXX object src/http/CMakeFiles/http.dir/rewriteengine.cpp.o
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiscript.cpp:26:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
[ 59%] Building CXX object src/http/CMakeFiles/http.dir/rewriterule.cpp.o
[ 59%] Building CXX object src/http/CMakeFiles/http.dir/hotlinkctrl.cpp.o
make[2]: *** [src/ssi/CMakeFiles/ssi.dir/build.make:118: src/ssi/CMakeFiles/ssi.dir/ssiscript.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachemanager.h:24,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cachestore.h:27,
                 from /root/openlitespeed-1.7.16/src/modules/cache/dirhashcachestore.h:22,
                 from /root/openlitespeed-1.7.16/src/modules/cache/cacheconfig.cpp:22:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
[ 59%] Building CXX object src/http/CMakeFiles/http.dir/urimatch.cpp.o
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.cpp:18:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:132: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_rewrite_driver_factory.cpp.o] Error 1
make[2]: *** [src/modules/cache/CMakeFiles/cache.dir/build.make:188: src/modules/cache/CMakeFiles/cache.dir/cacheconfig.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1182: src/modules/cache/CMakeFiles/cache.dir/all] Error 2
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_uamatcher.cpp:18:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_uamatcher.h:24:10: fatal error: pagespeed/kernel/http/user_agent_matcher.h: No such file or directory
 #include <pagespeed/kernel/http/user_agent_matcher.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:188: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_uamatcher.cpp.o] Error 1
[ 59%] Building CXX object src/http/CMakeFiles/http.dir/httpcontext.cpp.o
[ 59%] Building CXX object src/http/CMakeFiles/http.dir/httpvhost.cpp.o
[ 60%] Building CXX object src/http/CMakeFiles/http.dir/httpresp.cpp.o
[ 60%] Building CXX object src/http/CMakeFiles/http.dir/httpsession.cpp.o
[ 61%] Building CXX object src/http/CMakeFiles/http.dir/httpresourcemanager.cpp.o
[ 61%] Building CXX object src/http/CMakeFiles/http.dir/httpreq.cpp.o
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/log_message_handler.cpp:18:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[ 61%] Building CXX object src/http/CMakeFiles/http.dir/iptogeo2.cpp.o
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_caching_headers.cpp:19:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:90: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/log_message_handler.cpp.o] Error 1
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:146: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_caching_headers.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.cpp:21:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_message_handler.cpp:18:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:104: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_message_handler.cpp.o] Error 1
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:76: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/pagespeed.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriterule.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriterule.cpp:18:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriterule.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriterulelist.cpp:19:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:146: src/http/CMakeFiles/http.dir/rewriterulelist.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_base_fetch.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_base_fetch.cpp:19:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_options.h:21,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_options.cpp:18:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/http/urimatch.h:23,
                 from /root/openlitespeed-1.7.16/src/http/urimatch.cpp:18:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
[ 61%] Building CXX object src/http/CMakeFiles/http.dir/iptoloc.cpp.o
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:174: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_base_fetch.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiruntime.h:22,
                 from /root/openlitespeed-1.7.16/src/http/requestvars.cpp:33:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:160: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_rewrite_options.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/modules/pagespeed/pagespeed.h:25,
                 from /root/openlitespeed-1.7.16/src/modules/pagespeed/ls_server_context.cpp:18:
/root/openlitespeed-1.7.16/src/modules/pagespeed/ls_rewrite_driver_factory.h:25:10: fatal error: pagespeed/kernel/base/md5_hasher.h: No such file or directory
 #include "pagespeed/kernel/base/md5_hasher.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/modules/pagespeed/CMakeFiles/modpagespeed.dir/build.make:118: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/ls_server_context.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1286: src/modules/pagespeed/CMakeFiles/modpagespeed.dir/all] Error 2
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/http/hotlinkctrl.cpp:22:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
[ 61%] Building CXX object src/http/CMakeFiles/http.dir/hiohandlerfactory.cpp.o
compilation terminated.
[ 62%] Building CXX object src/http/CMakeFiles/http.dir/subrequest.cpp.o
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:202: src/http/CMakeFiles/http.dir/rewriterule.cpp.o] Error 1
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:258: src/http/CMakeFiles/http.dir/urimatch.cpp.o] Error 1
make[2]: *** [src/ssi/CMakeFiles/ssi.dir/build.make:132: src/ssi/CMakeFiles/ssi.dir/__/http/requestvars.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1442: src/ssi/CMakeFiles/ssi.dir/all] Error 2
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:230: src/http/CMakeFiles/http.dir/hotlinkctrl.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/util/filtermatch.h:22,
                 from /root/openlitespeed-1.7.16/src/lsiapi/lsiapilib.cpp:61:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriterule.h:23,
                 from /root/openlitespeed-1.7.16/src/http/httpcontext.cpp:29:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:748: src/http/CMakeFiles/http.dir/httpcontext.cpp.o] Error 1
make[2]: *** [src/lsiapi/CMakeFiles/lsiapi.dir/build.make:174: src/lsiapi/CMakeFiles/lsiapi.dir/lsiapilib.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1078: src/lsiapi/CMakeFiles/lsiapi.dir/all] Error 2
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriterule.h:23,
                 from /root/openlitespeed-1.7.16/src/http/httpvhost.cpp:34:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:832: src/http/CMakeFiles/http.dir/httpvhost.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriterule.h:23,
                 from /root/openlitespeed-1.7.16/src/http/rewriteengine.cpp:30:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:174: src/http/CMakeFiles/http.dir/rewriteengine.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiruntime.h:22,
                 from /root/openlitespeed-1.7.16/src/http/httpreq.cpp:47:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:986: src/http/CMakeFiles/http.dir/httpreq.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiruntime.h:22,
                 from /root/openlitespeed-1.7.16/src/http/subrequest.cpp:25:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:1182: src/http/CMakeFiles/http.dir/subrequest.cpp.o] Error 1
In file included from /root/openlitespeed-1.7.16/src/util/pcregex.h:23,
                 from /root/openlitespeed-1.7.16/src/ssi/ssiruntime.h:22,
                 from /root/openlitespeed-1.7.16/src/http/httpsession.cpp:66:
/root/openlitespeed-1.7.16/include/lsr/ls_pcreg.h:23:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:1000: src/http/CMakeFiles/http.dir/httpsession.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1000: src/http/CMakeFiles/http.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
cp: cannot stat 'build/src/openlitespeed': No such file or directory
Start to pack files.
mv: cannot stat 'dist/install.sh': No such file or directory
Building finished, please run ./install.sh for installation.
You may want to update the ols.conf to change the settings before installation.
Enjoy.
 
#2
When i run install.sh, i receive that error:
Bash:
download comamnd is wget -nv -O
INSTALL_TYPE is upgrade
Cannot find RUBY installation, remember to fix up the ruby path configuration
before you can use our easy RubyOnRails setup.

Target_Dir:/usr/local/lsws User:nobody Group:nobody
Admin:admin Password: AdminSSL:yes ADMIN_PORT:7080
LSINSTALL_DIR:/root/openlitespeed-1.7.16/dist
TEMP_DIR:/tmp/lshttpd PID_FILE:/tmp/lshttpd/lshttpd.pid

Installing, please wait...

Admin SSL enabled!
2023-02-13 01:05:53 URL:http://cyberpanel.sh/?ip [14/14] -> "/usr/local/lsws/myip" [1]
Generating a RSA private key
..+++++
.+++++
writing new private key to 'webadmin.key'
-----
SSL host is [webadmin], use adminSSL
groupadd: group 'lsadm' already exists
useradd: user 'lsadm' already exists
admin_php found and mv to admin_php.bak
2023-02-13 01:06:03 URL:http://www.litespeedtech.com/packages/lsphp5_bin/x86_64/lsphp5 [49
224] -> "/usr/local/lsws/admin/fcgi-bin/admin_php" [1]
admin_php downloaded.
[OK] lshttpd.service has been successfully installed!
Updating webcache manager, please waiting ...
Shared code library already meets minimum API version requirements.
Done!

Installation finished, Enjoy!

cp: cannot stat 'bin/openlitespeed': No such file or directory
Your webAdmin password not changed.
 
Top