]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: update the error message for gperftools bug 17901/head
authorKefu Chai <kchai@redhat.com>
Fri, 22 Sep 2017 02:38:01 +0000 (10:38 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Sep 2017 02:40:29 +0000 (10:40 +0800)
it's a follow-up of #17788

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/BuildRocksDB.cmake

index 8c44098d6f24e161748f89451e02053604d984a4..108db6b6da81a281b84928d1e80f8bf09566edca 100644 (file)
@@ -61,8 +61,10 @@ macro(build_rocksdb)
         TCMALLOC_VERSION_STRING VERSION_GREATER 2.5 AND
         TCMALLOC_VERSION_STRING VERSION_LESS 2.6.2)
       message(SEND_ERROR
-        "Incompatible tcmalloc v${TCMALLOC_VERSION_STRING} and rocksdb v${ROCKSDB_VERSION_STRING}, "
-        "please install gperf-tools 2.5 or > 2.6.2")
+        "Incompatible tcmalloc v${TCMALLOC_VERSION_STRING} and rocksdb "
+        "v${ROCKSDB_VERSION_STRING}, please install gperf-tools 2.5 (not 2.5.93) "
+        "or >= 2.6.2, or switch to another allocator using "
+        "'cmake -DALLOCATOR=libc'.")
     endif()
   endif()
 endmacro()