首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >需要帮助来解决此错误:Scons

需要帮助来解决此错误:Scons
EN

Stack Overflow用户
提问于 2012-12-09 13:27:57
回答 1查看 346关注 0票数 1
代码语言:javascript
复制
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/poly/Downloads/ascend/ascend-0.9.5.116/SConstruct", line 12, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable()    function instead.
File "/home/poly/Downloads/ascend/ascend-0.9.5.116/SConstruct", line 130, in <module>

scons: warning: The ListOption() function is deprecated; use the ListVariable() function instead.
File "/home/poly/Downloads/ascend/ascend-0.9.5.116/SConstruct", line 168, in <module>

scons: warning: The PackageOption() function is deprecated; use the PackageVariable() function instead.
File "/home/poly/Downloads/ascend/ascend-0.9.5.116/SConstruct", line 253, in <module>

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/poly/Downloads/ascend/ascend-0.9.5.116/scons/graphviz.py", line 43, in generate
Package libagraph was not found in the pkg-config search path.
Perhaps you should add the directory containing `libagraph.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libagraph' found
TCL= /usr
TCL_CPPPATH = $TCL/include
TCL_LIBPATH = $TCL/lib
TCL_LIB = tcl8.5
CC = gcc
CXX = g++
FORTRAN= gfortran
ABSOLUTE PATHS = True
INSTALL_ASCDATA = $INSTALL_SHARE/ascend
INSTALL_PREFIX = /usr/local
INSTALL_MODELS = $INSTALL_ASCDATA/models
INSTALL_SOLVERS = $INSTALL_ASCDATA/solvers
DEFAULT_ASCENDLIBRARY = $INSTALL_MODELS
DEFAULT_ASCENDSOLVERS = $INSTALL_SOLVERS
Scons version is not OK. Please try version 0.96.92 or 0.96.93,
or consult the developers in the case of newer versions. Modify
the function 'sconsversioncheck' in the file SConstruct if you
want to *force* SCons to continue.

我不知道发生了什么。我正在尝试安装ascend,但在此之前我需要scons。我用以下命令安装了scons

代码语言:javascript
复制
yum install scons subversion tk-devel flex bison gcc-gfortran gcc-c++ python-devel sundials-devel graphviz-devel swig

请帮助我在fedora 15 32位上安装ascend 0.9.8

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-12-09 13:39:46

正如消息所说,包管理器中的SCons版本太旧了。

SCons的依赖项相对较少,直接从源码安装即可。安装说明here,下载here

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

https://stackoverflow.com/questions/13784926

复制
相关文章

相似问题

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