[pcre-dev] CMake Error: File pcre.h.generic does not exist

Top Page
Delete this message
Author: Tim Gerundt
Date:  
To: pcre-dev
Subject: [pcre-dev] CMake Error: File pcre.h.generic does not exist
Hello list,

I tried to configure PCRE with CMake under Windows XP and got the
following error: "CMake Error: File pcre.h.generic does not exist."

The file NON-UNIX-USE talks also from pcre.h.generic ("Copy or rename
the file pcre.h.generic as pcre.h.") but I don't find the file. But
there are the file "pcre.h.in"!

If I change "pcre.h.generic" to "pcre.h.in" in CMakeLists.txt everything
works fine!

Is this a bug, or do I something wrong?

Greetings,
Tim Gerundt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt    (revision 346)
+++ CMakeLists.txt    (working copy)
@@ -236,7 +236,7 @@
                ${CMAKE_BINARY_DIR}/config.h
                @ONLY)


-CONFIGURE_FILE(pcre.h.generic
+CONFIGURE_FILE(pcre.h.in
                ${CMAKE_BINARY_DIR}/pcre.h
                COPYONLY)


Index: NON-UNIX-USE
===================================================================
--- NON-UNIX-USE    (revision 346)
+++ NON-UNIX-USE    (working copy)
@@ -63,7 +63,7 @@
      you are strongly advised to review config.h.generic before re-using what
      you had previously.


- (2) Copy or rename the file pcre.h.generic as pcre.h.
+ (2) Copy or rename the file pcre.h.in as pcre.h.

  (3) EITHER:
        Copy or rename file pcre_chartables.c.dist as pcre_chartables.c.