On Tue, Aug 11, 2015 at 01:41:40AM +0100 I heard the voice of
Aaron Sloman, and lo! it spake thus:
> 
>     CMake Warning at cmake_files/handle_manual.cmake:192 (message):
>       Can't build manpage, and no prebuilt version available.  You won't get 
> one.

I'm not sure what's up with this; if you're building from the snapshot
tarball you should have the prebuilt version.  Is doc/ctwm.1 not
there?


> ++  CMake Error at cmake_files/ctwm_install.cmake:34 (string):
> ++    string does not recognize sub-command CONCAT
> ++  Call Stack (most recent call first):
> ++    CMakeLists.txt:152 (include)

Mmph.  A little web poking suggests SL6 may be shipping cmake 2.6?  We
[allegedly] support that (though I used 2.8 for the initial port, and
never tried anything older.  Or that old, since newer versions came
out), and string(CONCAT) only came in with 3.0.


Following patch should get around that:


=== modified file 'cmake_files/ctwm_install.cmake'
--- cmake_files/ctwm_install.cmake      2015-07-23 13:14:03 +0000
+++ cmake_files/ctwm_install.cmake      2015-08-11 04:41:10 +0000
@@ -31,9 +31,9 @@
 # If we don't have the manpage, that's pretty exceptional, so give a
 # warning about it.
 if(NOT HAS_MAN)
-       string(CONCAT NOMANWARN "No manpage to install: recheck config "
-               "if this is unexpected.")
-       install(CODE "message(WARNING \"${NOMANWARN}\")")
+       # STRING(CONCAT x y z) could build this message, but requires cmake
+       # 3.0 which we aren't yet willing to require.
+       install(CODE "message(WARNING \"No manpage to install: recheck config 
if this is unexpected.\")")
 else()
        install(FILES ${INSTMAN}
                DESTINATION ${MAN1PATH}



-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

Reply via email to