首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装POV-Ray:配置错误

安装POV-Ray:配置错误
EN

Stack Overflow用户
提问于 2014-02-13 05:07:31
回答 1查看 582关注 0票数 2

我正在尝试安装POV-Ray 3.7稳定版本。我从github repo下载了源代码。

我遵循了README file中描述的unix系统的说明。

不幸的是,当我运行configure命令时,我得到了错误信息。

代码语言:javascript
复制
./configure COMPILED_BY="your name <email@address>" 

第一个错误是它找不到1.37或更高版本的boost库,所以我安装了这些库。

代码语言:javascript
复制
sudo apt-get install libboost-all-dev

现在我可以找到它们,如下所示:

代码语言:javascript
复制
/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_python-py33.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0

我尝试再次运行配置,错误消息如下所示。

代码语言:javascript
复制
...
checking for boostlib >= 1.37... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
checking whether the boost thread library is usable... no
configure: error: in `/usr/local/povray-3.7-stable':
configure: error: cannot link with the boost thread library
See `config.log' for more details

所以我添加了额外的选项--with-boost-libdir=/usr/lib/x86_64-linux-gnu/,但它也没有成功。

谁能告诉我我错过了什么?

EN

回答 1

Stack Overflow用户

发布于 2014-02-13 06:09:38

我找到了。

配置脚本无法找到正确的库链接。我正在写这篇文章,以防有人有同样的问题。

代码语言:javascript
复制
./configure COMPILED_BY="name <email>" LIBS="-lboost_system -lboost_thread"

这解决了我的问题,这里有一些其他的解决方案。POV-Ray新闻组

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21739626

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档