我正在尝试安装POV-Ray 3.7稳定版本。我从github repo下载了源代码。
我遵循了README file中描述的unix系统的说明。
不幸的是,当我运行configure命令时,我得到了错误信息。
./configure COMPILED_BY="your name <email@address>" 第一个错误是它找不到1.37或更高版本的boost库,所以我安装了这些库。
sudo apt-get install libboost-all-dev现在我可以找到它们,如下所示:
/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我尝试再次运行配置,错误消息如下所示。
...
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/,但它也没有成功。
谁能告诉我我错过了什么?
发布于 2014-02-13 06:09:38
我找到了。
配置脚本无法找到正确的库链接。我正在写这篇文章,以防有人有同样的问题。
./configure COMPILED_BY="name <email>" LIBS="-lboost_system -lboost_thread"这解决了我的问题,这里有一些其他的解决方案。POV-Ray新闻组
https://stackoverflow.com/questions/21739626
复制相似问题