setup brotli on centos 8 / apache #316

Open
opened 2026-01-29 20:41:54 +00:00 by claunia · 4 comments
Owner

Originally created by @yas9999 on GitHub (May 3, 2020).

Hello,

I am enable to install brotli in my server: centos 8, apache v 2.4.37
while i run this command "./bootstrap-vcpkg.sh"
i got this errors :
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "/usr/local/src/brotli/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/brotli/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeError.log".

  • CMakeOutput.log contain :
    The system is: Linux - 4.18.0-147.5.1.el8_1.x86_64 - x86_64

  • CMakeError.log contain :
    Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
    Compiler: CMAKE_CXX_COMPILER-NOTFOUND
    Build flags:
    Id flags:

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:

The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++

The output was:
No such file or directory

Thank you

Originally created by @yas9999 on GitHub (May 3, 2020). Hello, I am enable to install brotli in my server: centos 8, apache v 2.4.37 while i run this command "./bootstrap-vcpkg.sh" i got this errors : -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:3 (project): No CMAKE_CXX_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. -- Configuring incomplete, errors occurred! See also "/usr/local/src/brotli/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeOutput.log". See also "/usr/local/src/brotli/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeError.log". ------------------------------------------------------------ - CMakeOutput.log contain : The system is: Linux - 4.18.0-147.5.1.el8_1.x86_64 - x86_64 - CMakeError.log contain : Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: -c The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: --c++ The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: --c++ The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: --ec++ The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: -c The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: --c++ The output was: No such file or directory Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: CMAKE_CXX_COMPILER-NOTFOUND Build flags: Id flags: --ec++ The output was: No such file or directory ------------- Thank you
Author
Owner

@eustas commented on GitHub (Jul 2, 2020):

Hello. What is bootstrap-vcpkg.sh?

@eustas commented on GitHub (Jul 2, 2020): Hello. What is `bootstrap-vcpkg.sh`?
Author
Owner

@eustas commented on GitHub (Jul 2, 2020):

Oh, I see, it is in build instructions. Let me check.

@eustas commented on GitHub (Jul 2, 2020): Oh, I see, it is in build instructions. Let me check.
Author
Owner

@eustas commented on GitHub (Jul 2, 2020):

@atkawa7 @ras0219-msft @JackBoosY hey, do you know what could be the source of the problems?
Thanks in advance for your assistance.

@eustas commented on GitHub (Jul 2, 2020): @atkawa7 @ras0219-msft @JackBoosY hey, do you know what could be the source of the problems? Thanks in advance for your assistance.
Author
Owner

@ras0219-msft commented on GitHub (Jul 2, 2020):

@yas9999 Could you first ensure you've pulled the latest vcpkg and then try setting up your environment as follows:

yum install centos-release-scl
yum install devtoolset-8
scl enable devtoolset-8 bash
./bootstrap-vcpkg.sh

See also https://github.com/microsoft/vcpkg/pull/12201 for more information

@ras0219-msft commented on GitHub (Jul 2, 2020): @yas9999 Could you first ensure you've pulled the latest vcpkg and then try setting up your environment as follows: ``` yum install centos-release-scl yum install devtoolset-8 scl enable devtoolset-8 bash ./bootstrap-vcpkg.sh ``` See also https://github.com/microsoft/vcpkg/pull/12201 for more information
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#316