2

POV-Ray 3.7 安定バ​​ージョンをインストールしようとしています。github repoからソースコードをダウンロードしました。

README ファイルに記載されている unix システムの指示に従いました。

残念ながら、configure コマンドを実行するとエラー メッセージが表示されます。

./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/たが、それも成功しませんでした。

私が欠けているものを誰か教えてもらえますか?

4

1 に答える 1

1

見つけた。

configure スクリプトは、ライブラリ リンクを適切に見つけることができませんでした。同じように悩んでいる人がいたらと思って書いておきます。

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

これで私の問題は解決しました。他の解決策を次に示します。[POV-Rayニュースグループ]

于 2014-02-12T22:09:38.473 に答える