2012-12-09 55 views
1
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. 

我不知道發生了什麼。我試圖安裝升入但在此之前,我需要scons的。我使用需要幫助解決此錯誤:使用SCons

yum install scons subversion tk-devel flex bison gcc-gfortran gcc-c++ python-devel sundials-devel graphviz-devel swig 

Plaese幫助 I M在Fedora 15的32位

回答

1

消息稱一樣,使用SCons在你的包管理器的版本太舊安裝升入0.9.8安裝scons的。

SCons的數量相對較少的依賴,剛剛從源代碼安裝它。安裝說明here,下載here