pschella/k3match — Issue #1: Install fails due to missing k3match_config.h
Author: jdswinbank
Created: 2011-12-15 11:06:51+00:00
State: open

```
$ git clone https://github.com/pschella/k3match.git
Cloning into 'k3match'...
remote: Counting objects: 305, done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 305 (delta 169), reused 195 (delta 59)
Receiving objects: 100% (305/305), 130.08 KiB, done.
Resolving deltas: 100% (169/169), done.
$ mkdir -p k3match/build
$ cd k3match/build/
$ cmake .. -DCMAKE_INSTALL_PREFIX=/tmp/k3match
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /opt/local/bin/gcc
-- Check for working C compiler: /opt/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /opt/local/bin/c++
-- Check for working CXX compiler: /opt/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jds/tmp/k3match/build
[jds@jackdaw build]$ make
Scanning dependencies of target k3match
[ 25%] Building C object k3match/CMakeFiles/k3match.dir/3dtree.c.o
[ 50%] Building C object k3match/CMakeFiles/k3match.dir/brute.c.o
[ 75%] Building C object k3match/CMakeFiles/k3match.dir/median.c.o
[100%] Building C object k3match/CMakeFiles/k3match.dir/point.c.o
Linking C shared library libk3match.dylib
[100%] Built target k3match
[jds@jackdaw build]$ make install
[100%] Built target k3match
Install the project...
-- Install configuration: ""
-- Installing: /tmp/k3match/include/k3match.h
CMake Error at cmake_install.cmake:31 (FILE):
file INSTALL cannot find "/Users/jds/tmp/k3match/build/k3match_config.h".

make: *** [install] Error 1
```