CentOS6.2 64位下安装SEISMIC UNIX
1、配置环境变量
和上面的过程一样,修改.bashrc文件,然后source .bashrc
之后用echo $CWPROOT echo $PATH 检查即可
centos的~/.bashrc在/home/tethys/目录下,直接gedit ~/.bashrc即可在弹出窗口中添加环境变量。
2、查看seismic unix所需的软件或库
在seismic unix安装包中的makefile.config配置文件中明确注明了每一步安装所需要的代码。
# make install (to install the basic set of codes)
# make xtinstall (to install the X-toolkit codes)
# make finstall (to install the Fortran codes)
# make mglinstall (to install the Mesa/ Open GL codes)**
# make xminstall (to install the X-Motif codes)*
* Note: You must have the Motif Developer's package to install these codes.
# This is not the same as the "Motif Window Manager". Many systems
# use the Motif Window Manager without providing libXm.a and Xm.h.
# These items are not essential to the operation of the package
# and may be bypassed. (Also, you may substitute Lesstif, for Motif.)
# ** The Mesa/Open GL codes require the Mesa package
# Note also: That * and ** are not necessary for the majority of SU
# operations and can be safely omitted, if you have trouble
# installing them.
3、进入到src 文件夹,依次执行以下命令若有错误,在插入的安装光盘的路径/media/CentOS_6.2_Final/Packages下进行查找缺少的软件包,进行安装,然后再执行刚才未完成的安装命令。
例:错误出现cannot find -lm 即为缺少the static versions of glibc.
在/media/CentOS_6.2_Final/Packages下查找对应的软件包,yum search glibc
x86_64:
yum install glibc-static.x86_64
IA32:
yum install glibc-static.i686
我的系统为64位的,故执行yum install glibc-static.x86_64
依次进行解决出现的错误,直到执行完成以下步骤没有出现错误为止。
make install (to install the basic set of codes)
make xtinstall (to install the X-toolkit applications)
make finstall (to install the Fortran codes)
make mglinstall (to install the Mesa/ Open GL items)
make xminstall (to install the Motif application)(nonessential)
make utils (to install libcwputils) (nonessential)
4、安装完成,测试(同上)
suplane|suxwigb & (|为管道符号,表示数据流动,加&表示放到后台执行)
如果出现以下图形便恭喜你安装完成了。如果没有出现以上图片,执行以下命令:
source . profile
csh执行: source .cshrc
然后再执行
suplane|suxwigb &
如果这次出现图形,则重启计算机,下次启动时则正常了。