【问题标题】:Installing POV-Ray: configuration error安装 POV-Ray:配置错误
【发布时间】:2014-02-12 21:07:30
【问题描述】:

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

我按照README file中描述的unix系统说明进行操作。

不幸的是,我在运行配置命令时收到错误消息。

./configure COMPILED_BY="your name <email@address>" 

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

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

我又尝试运行configure,报错信息是这样的。

...
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/,但它也没有成功。

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

【问题讨论】:

    标签: linux boost installation povray


    【解决方案1】:

    我找到了。

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

    ./configure COMPILED_BY="name <email>" LIBS="-lboost_system -lboost_thread"
    

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

    【讨论】:

      猜你喜欢
      • 2018-09-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-02
      相关资源
      最近更新 更多