![警告:未配置任何工具集](https://linux22.com/image/998180/%E8%AD%A6%E5%91%8A%EF%BC%9A%E6%9C%AA%E9%85%8D%E7%BD%AE%E4%BB%BB%E4%BD%95%E5%B7%A5%E5%85%B7%E9%9B%86.png)
我是 ubuntu 环境的新手moses
,我尝试安装moses
,boost
但是当我尝试在 moses 目录上运行以下命令时,我发现以下警告,请帮帮我,我该怎么办?
administrator@HPC-Lab-2:/home/samrawit/moses/moses/mosesdecoder$ ./bjam --with-boost=~/home/samrawit/moses/moses/boost_1_55_0 -j4
ln: failed to create symbolic link ‘CreateProbingPT2’: File exists
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
NOT BUILDING MOSES SERVER!
Performing configuration checks
- Shared Boost : yes (cached)
- Static Boost : yes (cached)
Not building Moses2
...patience...
...patience...
...found 4726 targets...
SUCCESS
答案1
您试图通过这篇文章解决的实际问题是什么?根据您提供的输出,任务似乎已成功完成。
警告通常不是错误,而是可能有助于解决潜在问题的重要消息。请参阅https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels了解 LINUX 中使用的不同日志级别的描述。
要删除警告,您应该按照消息中提供的 URL 中的说明配置编译器http://www.boost.org/build/doc/html/bbv2/overview/configuration.html