fedora 8 安装 scilab

从源码下的最新的scilab,然后在fc8上编译,遇到不少问题,逐一解决
./configure

1.hdf5 Could not find hdf5.
yum install hdf5-devel

2.configure: error: Could not find or use the Java package/jar jhdf5 used by HDF5 Java library (looking for package ncsa.hdf.hdf5lib.HDF5Constants)
去网上下了个 jhdf5
https://wiki-bsse.ethz.ch/display/JHDF5/Download+Page
然后放到scilab目录下:cp ~/jhdf5-8.10.0.jar  scilab/thirdparty/

3.configure: error: Cannot find headers (fftw3.h) of the library fftw. Please install the dev package (Debian : libfftw3-dev)
于是我试着用 yum install libfftw*, 结果找不到包。然后我又运行 yum install fftw*
于是安装了
 fftw.i386 0:3.1.2-5.fc8                 fftw-devel.i386 0:3.1.2-5.fc8       
  fftw-static.i386 0:3.1.2-5.fc8          fftw2.i386 0:2.1.5-15.fc8           
  fftw2-devel.i386 0:2.1.5-15.fc8 

4. configure: error: Unable to find pvmgetarch in PVM_ROOT/lib or PATH
查询一下系统中有没有pvm
rpm -ql pvm > a
发现pvm 在/usr/share/pvm3/lib/pvmgetarch中,于是添加环境变量:
vim /etc/profile
export PATH= $PATH:/usr/share/pvm3/lib

5. configure: error: Cannot find headers (umfpack.h) of the library UMFPACK. Please install the dev package (Debian : libsuitesparse-dev)
yum install suitesparse-devel

6.configure: error: Unable to find pcre-config in the path. Please check your installation of pcre (example : libpcre3 & libpcre3-dev with Debian)
yum install pcre-devel

7.checking for header file tcl.h... configure: error: no header file tcl.h found for 8.4* or 8.5*. Please install the dev library of tcl 8.4 or 8.5
yum install tcl-devel

8.checking for header file tk.h... configure: error: no header file tk.h found for 8.4* or 8.5*. Please install the dev library of tk 8.4 or 8.5
yum install tk-devel

9. checking for MATIO... configure: error: Package requirements (matio >= 1.3.3) were not met:
./configure --without-matio

然后就可以make && make install

出现了关于hdf5的错误。所以我又重新运行
#./configure --without-hdf5 --without-mation
#make && make install

OK!
ps: 一些包找不到怎么办?All needed packages to compile Scilab under Linux can be found in Scilab SVN pre-requirements directory。

so:

svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/
Linux/bin scilab/bin
svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/
Linux/thirdparty scilab/thirdparty

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值