Re: cmake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I always run cmake from a build directory which is not the root, usually "build" in the root, so my minimal invocation would be "mkdir build; cd build; cmake ../src"--I'd at least try that, though I wouldn't have thought build location could affect something this basic (and it would be a bug).

Matt

----- Original Message -----
> From: "Pete Zaitcev" <zaitcev@xxxxxxxxxx>
> To: ceph-devel@xxxxxxxxxxxxxxx
> Sent: Thursday, December 3, 2015 5:24:36 PM
> Subject: cmake
> 
> Dear All:
> 
> I'm trying to run cmake, in order to make sure my patches do not break it
> (in particular WIP 5073 added source files). Result looks like this:
> 
> [zaitcev@lembas ceph-tip]$ cmake src
> -- The C compiler identification is GNU 5.1.1
> -- The CXX compiler identification is GNU 5.1.1
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> CMake Error at CMakeLists.txt:1 (include):
>   include could not find load file:
> 
>     GetGitRevisionDescription
> 
> 
> -- The ASM compiler identification is GNU
> -- Found assembler: /usr/bin/cc
> CMake Warning (dev) at CMakeLists.txt:11 (add_definitions):
>   Policy CMP0005 is not set: Preprocessor definition values are now escaped
>   automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
>   the cmake_policy command to set the policy and suppress this warning.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> CMake Warning (dev) at CMakeLists.txt:12 (add_definitions):
>   Policy CMP0005 is not set: Preprocessor definition values are now escaped
>   automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
>   the cmake_policy command to set the policy and suppress this warning.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> --  we do not have a modern/working yasm
> -- Performing Test COMPILER_SUPPORTS_CXX11
> -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
> CMake Error at CMakeLists.txt:95 (get_git_head_revision):
>   Unknown CMake command "get_git_head_revision".
> 
> 
> CMake Warning (dev) in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such as
> 
>     cmake_minimum_required(VERSION 3.3)
> 
>   should be added at the top of the file.  The version specified may be lower
>   if you wish to support older CMake versions for this project.  For more
>   information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> -- Configuring incomplete, errors occurred!
> See also "/q/zaitcev/ceph/ceph-tip/CMakeFiles/CMakeOutput.log".
> [zaitcev@lembas ceph-tip]$ rpm -qa | grep -i cmake
> extra-cmake-modules-5.16.0-1.fc23.noarch
> cmake-3.3.2-1.fc23.x86_64
> [zaitcev@lembas ceph-tip]$
> 
> Is this expected? Is my cmake incantation wrong?
> 
> Thanks,
> -- Pete
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
-- 
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-707-0660
fax.  734-769-8938
cel.  734-216-5309
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux