# About Cmake error

**URL:** <https://forums.percona.com/t/about-cmake-error/4259>\
**Category:** Percona XtraBackup\
**Created:** [June 11, 2015, 4:55am UTC](https://forums.percona.com/t/about-cmake-error/4259 "2015-06-11T04:55:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Calipso](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@Calipso](https://forums.percona.com/u/Calipso)\
**Post date:** [June 11, 2015, 4:55am UTC](https://forums.percona.com/t/about-cmake-error/4259/1 "2015-06-11T04:55:25Z")

</div>

Hello,  
i try to install Percona XtraBackup.

I have follow this KB [https://www.percona.com/doc/percona-xtrabackup/2.2/installation/compiling\_xtrabackup.html#compiling-with-cmake](https://www.percona.com/doc/percona-xtrabackup/2.2/installation/compiling_xtrabackup.html#compiling-with-cmake), 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

> [@](#):
>
> [root@backvm ~]# locate CMakeLists.txt  
> /usr/share/cmake/Modules/FortranCInterface/CMakeLists.txt  
> /usr/share/cmake/Modules/FortranCInterface/Verify/CMakeLists.txt  
> /usr/share/cmake/Modules/IntelVSImplicitPath/CMakeLists.txt  
> /usr/share/doc/cmake-2.8.12.2/Example/CMakeLists.txt  
> /usr/share/doc/cmake-2.8.12.2/Example/Demo/CMakeLists.txt  
> /usr/share/doc/cmake-2.8.12.2/Example/Hello/CMakeLists.txt

Now i’ve run my command in /usr/share/cmake/Modules/FortranCInterface/ & /usr/share/cmake/Modules/IntelVSImplicitPath/ and the ouput is

> [@](#):
>
> [root@backvm 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?

---

<div class="post-metadata">

**Author:** ![jrivera](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jrivera/32/13_2.png) [@jrivera](https://forums.percona.com/u/jrivera)\
**Post date:** [June 14, 2015, 4:53pm UTC](https://forums.percona.com/t/about-cmake-error/4259/2 "2015-06-14T16:53:02Z")

</div>

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.
