zoukankan      html  css  js  c++  java
  • ceph 源码安装 configure: error: "Can't find boost spirit headers"

    问题:configure: error: "Can't find boost spirit headers"

    解决:

    推荐:sudo apt-get install libboost-dev

    1.下载boost_1_65_1.tar.gz,

    链接地址:http://www.boost.org/users/history/version_1_65_1.html

    2.编译:

    sudo tar -xf boost_1_65_1.tar.gz

    cd boost_1_65_1

    sudo ./booststrap.sh --prefix=/usr/local/lib/boost

     1 greatwall@greatwall-os:/media/raid/boost_1_65_1$ sudo ./bootstrap.sh --prefix=/usr/local/lib/boost
     2 Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxarm/b2
     3 Detecting Python version... 2.7
     4 Detecting Python root... /usr
     5 Unicode/ICU support for Boost.Regex?... not found.
     6 Backing up existing Boost.Build configuration in project-config.jam.1
     7 Generating Boost.Build configuration in project-config.jam...
     8 
     9 Bootstrapping is done. To build, run:
    10 
    11     ./b2
    12     
    13 To adjust configuration, edit 'project-config.jam'.
    14 Further information:
    15 
    16    - Command line help:
    17      ./b2 --help
    18      
    19    - Getting started guide: 
    20      http://www.boost.org/more/getting_started/unix-variants.html
    21      
    22    - Boost.Build documentation:
    23      http://www.boost.org/build/doc/html/index.html
    24 
    25 greatwall@greatwall-os:/media/raid/boost_1_65_1$ 

    3.开始安装:

    ./b2 install

  • 相关阅读:
    Ajax笔记(三)
    Ajax笔记(二)
    org.apache.commons.lang.StringUtils中常用的方法
    数位dp poj1850
    二分图 最小点覆盖 poj 3041
    poj 1789 prime
    c++三种进制格式
    c++面向行的输入getline()和get()
    最小生成树 prime算法 UVALive
    最短路 poj1125
  • 原文地址:https://www.cnblogs.com/wangjq19920210/p/10712462.html
Copyright © 2011-2022 走看看