Linux下安装GAMIT后需要修改的地方

1.install_software,修改“usr -name libX11.a”为"usr -name libX11.so",一个是静态共享库,一个是动态共享库。

GAMIT 10.35文件下载在Linux公社5 号FTP服务器
Linux公社(LinuxIDC.com) 5 号FTP服务器【关于GAMIT】资源浏览查询:
IP地址 ftp://www.linuxidc.com
端口    21
用户 ftp5.linuxidc.com
密码
具体下载方法见
相关文章见

2.makefile.config,修改:

# X11 library location - uncomment the appropriate one for your system
# Generic (will work on any system if links in place)
X11LIBPATH /usr/lib/X11
X11INCPATH /usr/include/X11
# Specific for Sun with OpenWindows
#X11LIBPATH /usr/openwin/lib
#X11INCPATH /usr/openwin/share/include/X11
# Specific for PC Solaris 10
#X11LIBPATH /usr/openwin/lib/
#X11INCPATH /usr/openwin/share/include/X11
# Specific to Linux RedHat 7,8 and 9, RH-FC1 -> 3
#X11LIBPATH /usr/X11R6/lib
#X11INCPATH /usr/X11R6/include/X11
# Specific to FC5
#X11LIBPATH /usr/lib
#X11INCPATH /usr/include/X11
# Specific for MIT HP and Sun for Release 5
#X11LIBPATH /usr/lib/X11R5
#X11INCPATH /usr/include/X11R5
# Specific for IBM AIX4.2
#X11LIBPATH /usr/lpp/X11/lib
#X11INCPATH /usr/lpp/X11/include
# Specific for MacOSX
#X11LIBPATH /usr/X11R6/lib
#X11INCPATH /usr/include/X11

为:

# X11 library location - uncomment the appropriate one for your system
# Generic (will work on any system if links in place)
#X11LIBPATH /usr/lib/X11
#X11INCPATH /usr/include/X11
# Specific for Sun with OpenWindows
#X11LIBPATH /usr/openwin/lib
#X11INCPATH /usr/openwin/share/include/X11
# Specific for PC Solaris 10
#X11LIBPATH /usr/openwin/lib/
#X11INCPATH /usr/openwin/share/include/X11
# Specific to Linux RedHat 7,8 and 9, RH-FC1 -> 3
#X11LIBPATH /usr/X11R6/lib
#X11INCPATH /usr/X11R6/include/X11
# Specific to FC5(F6,F7,F8 )
X11LIBPATH /usr/lib
X11INCPATH /usr/include/X11
# Specific for MIT HP and Sun for Release 5
#X11LIBPATH /usr/lib/X11R5
#X11INCPATH /usr/include/X11R5
# Specific for IBM AIX4.2
#X11LIBPATH /usr/lpp/X11/lib
#X11INCPATH /usr/lpp/X11/include
# Specific for MacOSX
#X11LIBPATH /usr/X11R6/lib
#X11INCPATH /usr/include/X11

3,其他的地方根据自己需要修改。

4,最后修改登录文件,添加环境变量等

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/25552.html