gpt4 book ai didi

python - 在 ubuntu 14.04 上安装 graph-tool 时配置错误

转载 作者:行者123 更新时间:2023-12-01 04:03:38 28 4
gpt4 key购买 nike

所以我花了一整天的时间试图找到解决方案。我正在尝试在操作系统为 14.04 的计算机上安装 graph-tool。最初我无法成功,因为我的机器上没有 gcc 5。安装后,我正在尝试以下操作:

./configure CXX='g++5'

我收到以下错误:

===========================
Using python version: 2.7.6
===========================
checking for boostlib >= 1.54.0... configure: We could not detect the boost libraries (version 1.54 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
checking whether the Boost::Python library is available... no
configure: error: No usable boost::python found

我在 graph-tool 或 stackoverflow 的邮件列表中没有看到关于此问题的解决方案。如果有人能帮助我解决这个问题,我将非常感激。

提前致谢。

最佳答案

在 Debian 中,库几乎总是分为两个包:一个包含共享对象和另一个带有“-dev”后缀的对象包含头文件。对于 cairomm,您需要安装除了 libcairomm-1.0 之外,还有 libcairomm-1.0-dev 软件包。

开罗支持可选的。如果你想禁用它,只需通过配置脚本中的 --disable-cairo 。

来源:https://lists.skewed.de/pipermail/graph-tool/2013-November/001094.html

关于python - 在 ubuntu 14.04 上安装 graph-tool 时配置错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36060512/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com