Chinaunix首页 | 论坛 | 博客
  • 博客访问: 217805
  • 博文数量: 19
  • 博客积分: 45
  • 博客等级: 民兵
  • 技术积分: 241
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-23 20:00
个人简介

如明日将死那样生活,如永远不死那样求知。

文章分类

全部博文(19)

文章存档

2018年(2)

2017年(3)

2015年(2)

2013年(11)

2012年(1)

我的朋友

分类: 大数据

2018-07-02 10:23:25

查看INSTALL,编译步骤如下

    $ mkdir build
    $ cd build
    $ cmake .. \
        -DCMAKE_INSTALL_PREFIX=$PREFIX \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo
    $ make
    $ make test
    $ make install

我们选用debug模式,并且要求线程安全,进入build目录后,最终使用以下命令

cmake ..  -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=debug -DTHREADSAFE=true

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
Enabled deflate codec
-- Found Snappy: /usr/lib64/libsnappy.so
Enabled snappy codec
-- checking for module 'liblzma'
--   package 'liblzma' not found
Disabled lzma codec. liblzma not found.
-- checking for module 'jansson>=2.3'
--   found jansson, version 2.11
-- Searching for asciidoc...
CMake Warning at docs/CMakeLists.txt:51 (message):
  asciidoc not found.  HTML documentation will *NOT* be built.







阅读(2478) | 评论(0) | 转发(0) |
0

上一篇:pip install 超时

下一篇:没有了

给主人留下些什么吧!~~