Seismic Unix安装错误解决方案

有些电脑会遇到make xtinstall安装错误等问题,一般是系统安装的时候缺失部分依赖包所导致,老外提供了一个解决方案,记录一下,希望对大家有用。

Seismic Unix is an open source seismic utilities package supported by the Center for Wave Phenomena (CWP) at the Colorado School of Mines (CSM). I use Centos 5.5 as my system operation. This is steps to install Seismic Unix in my computer :

  1. I want to install Seismic Unix at /opt/seisun. Copy Seismic Unix source at this directory (I use cwp_su_all_42.tgz). Extract this file with command : tar zxvf cwp_su_all_42.tgz.
  2. Export CWPROOT directory PATH. Use this command : export CWPROOT=/opt/seisun
  3. Edit Makefile.config file. Go to at src directory with command : cd srcand edit Makefile.config file.
  4. make install (to install seismic unix the basic set of codes)
  5. make xtinstall (to install seismic unix the X-toolkit applications)
  6. make finstall (to install seismic unix the Fortran codes)
  7. make mglinstall (to install seismic unix the Mesa/ Open GL items)
  8. make utils (to install seismic unix libcwputils) (nonessential)
  9. make xminstall (to install seismic unix the Motif application)
  10. make sfinstall (to install seismic unix the SFIO version of SEGDREAD)

When I try to install X seismic unix application, I get this error message and how to solve that :

  1. Xlib.h : No such file or directoryInstall libX11 and libX11-devel. Use command  yum search libX11 to get other software version.
  2. Intrinsic.h : No such file or directoryInstall libXt and libXt-devel. Use command  yum search libXt to get other software version.
  3. Cannot find -lXmuInstall libXmu and libXmu-devel. Use command yum search libXmu to get other software version.
  4. Cannot find -lXextInstall libXext and libXext-devel. Use command yum search libXext to get other software version.
  5. Cannot find -lXiInstall libXi and libXi-devel. Use command  yum search libXi to get other software version.
  6. Xm/Xm.h: No such file or directoryInstall openmotif and openmotif-devel. Use command  yum search openmotif to get other software version.

When you complete to install seismic unix, dont forget to edit your profile file.Edit /your_home/.bashrc file and add this text :

export CWPROOT=/opt/seisun
export PATH=$PATH:$CWPROOT/bin

Change CWPROOT location with your seismic unix installed. Log off from your system and type seismic unix command at konsole (surange, suaddheader, etc) to check your seismic unix installed.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值