Not the answer you need?
Register and ask your own question!

About Cmake error

CalipsoCalipso EntrantLegacy User Role Beginner
i try to install Percona XtraBackup.

I have follow this KB, it's a CentOS minimal 6.6 clean.

After run "yum install" with all package i have send this command:

cmake -DBUILD_CONFIG=xtrabackup_release && make -j4

The output is
CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt.

I've located my installation CMakeLists.txt, and the output is
[[email protected] ~]# locate CMakeLists.txt

Now i've run my command in /usr/share/cmake/Modules/FortranCInterface/ & /usr/share/cmake/Modules/IntelVSImplicitPath/ and the ouput is
[[email protected] IntelVSImplicitPath]# cmake -DBUILD_CONFIG=xtrabackup_release && make -j4
-- The Fortran compiler identification is unknown
CMake Error: your Fortran compiler: "CMAKE_Fortran_COMPILER-NOTFOUND" was not found. Please set CMAKE_Fortran_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
See also "/usr/share/cmake/Modules/IntelVSImplicitPath/CMakeFiles/CMakeOutput.log".
See also "/usr/share/cmake/Modules/IntelVSImplicitPath/CMakeFiles/CMakeError.log".

How can solve this issue?


  • jriverajrivera Percona Support Engineer Percona Staff Role
    What is the purpose of compiling Xtrabackup? You can install the package with yum install and should work on CentOS 6.6 without any problems.

    In any case, did you download the source code from launchpad as instructed on the manual?

    Can you provide the directory listing of xtrabackup source directory on your server.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.