Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
hihihihihi
V2EX  ›  Linux

Pacman/Yaourt 能制指定 Boost 编译的参数吗?

  •  
  •   hihihihihi · May 30, 2017 · 2364 views
    This topic created in 3298 days ago, the information mentioned may be changed or developed.
    昨天无脑 sudo pacman -Syu, 发现 boost 和 boost-libs 都升级到了 1.64.0-1

    而且貌似在我机器上,这个版本的 boost 好像不是 python3 兼容,

    在 mac 上用 brew install boost 的时候,能指定参数比如 with-python3, without-python2 之类的,

    在 linux 下用 yaourt 或者 pacman 可以吗? 难道只能我自己下载整个 boost 代码,自己指定参数编译?
    Supplement 1  ·  May 30, 2017
    已经解决!

    已经解决!

    已经解决!

    我自己的锅, 没仔细看,lib 里面是分别有 libboost_python3 和 libboost_python,
    在 cmakefile 里面指定链接就 ok 了。
    2 replies    2017-05-30 16:42:38 +08:00
    momocraft
        1
    momocraft  
       May 30, 2017
    pacman 不编译。yaourt (和 makepkg) 也许可以通过 makepkg.conf 或 PKGBUILD 来指定编译参数。
    hihihihihi
        2
    hihihihihi  
    OP
       May 30, 2017
    我自己的锅, 没仔细看,lib 里面是分别有 libboost_python3 和 libboost_python, 在 cmakefile 里面指定链接就 ok 了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3905 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 04:18 · PVG 12:18 · LAX 21:18 · JFK 00:18
    ♥ Do have faith in what you're doing.