[Bug 1469708] Re: cmake does not find wait.h using the "check_include_files"-statement

Lazalatin chris.parnitzke at googlemail.com
Mon Jun 29 12:32:52 UTC 2015


** Description changed:

  Ubuntu Version: 15.04
  CMake Version: 3.0.2
  
- 
- This specific issue was only caused by finding the (existing) wait.h header file while building a CMakeLists file
+ This specific issue was only caused by finding the (existing) wait.h
+ header file while building a CMakeLists.txt file
  
  Whilst using this statement causes no errors on Arch or Debian Linux, it
  seems that under Ubuntu existing files are totally ignored.
  
  Using the following checks only caused an error message on wait.h:
  
+ Include(CheckIncludeFiles)
+ 
+ ...
+ 
  check_include_files( wait.h HAVE_SYS_WAIT_H )
  if( NOT HAVE_SYS_WAIT_H )
- 	message( FATAL_ERROR "Did not find sys/wait.h" )
+  message( FATAL_ERROR "Did not find sys/wait.h" )
  endif()
  
  check_include_files( unistd.h HAVE_UNISTD_H )
  if( NOT HAVE_UNISTD_H )
- 	message( FATAL_ERROR "Did not find unistd.h" )
+  message( FATAL_ERROR "Did not find unistd.h" )
  endif()
  
  While unistd.h is detected, the wait.h header-file is not. (Although it
  exists in /usr/include)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: cmake 3.0.2-1ubuntu2
  ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
  Uname: Linux 3.19.0-21-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Jun 29 13:44:57 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-02-19 (494 days ago)
  InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
  SourcePackage: cmake
  UpgradeStatus: Upgraded to vivid on 2015-06-23 (5 days ago)

** Description changed:

  Ubuntu Version: 15.04
  CMake Version: 3.0.2
  
  This specific issue was only caused by finding the (existing) wait.h
  header file while building a CMakeLists.txt file
  
  Whilst using this statement causes no errors on Arch or Debian Linux, it
  seems that under Ubuntu existing files are totally ignored.
  
  Using the following checks only caused an error message on wait.h:
  
  Include(CheckIncludeFiles)
  
  ...
  
- check_include_files( wait.h HAVE_SYS_WAIT_H )
- if( NOT HAVE_SYS_WAIT_H )
-  message( FATAL_ERROR "Did not find sys/wait.h" )
+ check_include_files( wait.h HAVE_WAIT_H )
+ if( NOT HAVE_WAIT_H )
+  message( FATAL_ERROR "Did not find wait.h" )
  endif()
  
  check_include_files( unistd.h HAVE_UNISTD_H )
  if( NOT HAVE_UNISTD_H )
   message( FATAL_ERROR "Did not find unistd.h" )
  endif()
  
  While unistd.h is detected, the wait.h header-file is not. (Although it
  exists in /usr/include)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: cmake 3.0.2-1ubuntu2
  ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
  Uname: Linux 3.19.0-21-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Jun 29 13:44:57 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-02-19 (494 days ago)
  InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
  SourcePackage: cmake
  UpgradeStatus: Upgraded to vivid on 2015-06-23 (5 days ago)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1469708

Title:
  cmake does not find wait.h using the "check_include_files"-statement

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1469708/+subscriptions




More information about the kubuntu-bugs mailing list