Preparation:
Install the required software under Fedora 13, yum install tcsh. Yum install gmt
Other gcc, libx11, F13 comes with.
1, chomd +x install_software (change the permissions of install_software to executable)
2, ./install_software
Installation fails, the following prompt will appear:
Installation, the following prompt appears:
These are the default paths to X11 found in Makefile.config
X11LIBPATH: /usr/share/doc/usr/lib64
X11INCPATH: /usr/share/doc/usr/lib64/usr/include/X11
Searching your system for X11 installation
Finding these paths to X11 libs and including on your system
X11LIBPATH:
X11INCPATH: /usr/include/X11
Run down, error, terminate.
The online search solution is as follows:
This article was reprinted because I encountered a problem that libX11.a could not find. When I installed GAMIT, I was in the red flag. It seems that Fedora9 also has this problem. At the time of installation, you are prompted that the X11LIBPATH is empty, obviously not thiophene. The method is to save libX11.a in install_software to libX11.so (with thiophene search). Also, see the path in Makefile.config clearly, and your system does not match? There can only be one. The rest of the total use #bar off. The next voyage!! GCC version 4.2.1. The rest is not needed. .
Installation steps:
First make sure you have libX11.a under /usr/local/lib/,
If not, don't worry, look for your X lib has libX11.so or libX11.so.6 or libX11.so.6.2 this file, such as my /usr/X11R6/lib/, (whh installed in: /usr/lib64, installed Is libX11.so)
Find the result with whereis libX11 as libX11: /usr/lib64/libX11.so
Then create a file named /usr/local/lib/libX11.a Link:
ln -s /usr/X11R6/lib/libX11.so /usr/local/lib/libX11.a
Note the contents of makefile.configure, run install after successful The following prompt appears:
These are the default paths to X11 found in Makefile.config
X11LIBPATH: /usr/lib/X11
X11INCPATH: /usr/include/X11
Searching your system for X11 installation
Finding these paths to X11 libs and including on your system
X11LIBPATH: /usr/lib64
X11INCPATH: /Usr/include/X11
That is: the path in the makefile is the same as the path in the system. At this point, the most critical step to solve, GAMIT installation has solved more than half.
3, for AMD's CPU, there may be an error prompt, I did not record it, roughly means that the function name of getline has conflicts, the modification method is as follows:
1) put stdio. The getline in h is commented out, and the installation result shows that there is still an error.
2) The getline is renamed to getline1. After the installation and running, the following prompts appear successfully:
++++++++++++++++++
GLOBK installed
++++++++++++++++
4,
Don't forget to set your : Path to include /opt/GAMIT10.35/gamit/bin and /opt/GAMIT10.35/kf/bin
: HELP_DIR environment variable in you shell profile
(in .cshrc/. Tcshrc add: setenv HELP_DIR /opt/GAMIT10.35/help/)
: INSTITUTE evnironment variable in your shell profile
(in your .cshrc/.tcshrc add: setenv INSTITUTE where_i_work)< Br>
where_i_work is a 3 character identifier for your solutions
There are many ways to edit .tcshrc online. This requires careful reading of the prompts displayed on the terminal and adding them to your .tcshrc. There is no convenient way. ——
Edit csh.cshrc in /etc. Finally, type doy under the terminal, as follows:
% doy 2010 11 26
Date 2010/11 /26 0:00 hrs, DOY 33 0 JD 2455526.5000 MJD 55526.0000
GPS Week 1611 Day of week 5, GPS Seconds 432000 Day of Week Fri
Decimal Year 2010.901370
That is: doy can calculate the year of accumulation. .
At this point, you're done!
If you want to try a desktop system other than Mac and Windows, Linux should definitely be your fir
Because of work and study, you need to use Securecurt to operate Linux (Red Hat Enterprise Linux 5)
In the various Linux distributions now, the enterprise version of red hat is relatively safe. For t
About Linux shutdown and restart commands. In fact, the first article should write about Linux inst
Centos configuration nfs and hangs on windows server 2008
Linux disk partitioning, formatting, verification, mounting basic tutorial
Linux date command to view and set the time details (graphic)
Manually add new users to the Linux system
Linux shell string operation (length, find, replace) detailed
Linux traffic monitoring script
Linux usermod command introduction
DirectAdmin enables HTTP/2 support
Linux operating system crash processing method summary
What is the difference between Linux process priority NI and PR?
Windows Server 2008 configuration IE using proxy steps
Little mouse learning big talk about mouse response rate knowledge
After the win10 upgrade can not open the LOL game solution win10 game compatibility?
Win 7 system skills: library (library) use
Universal player: Storm video 4 big use setting skills
Re-examine Windows XP's 20% reserved bandwidth
Windows7 Explorer is always wrong
How Win8 differs from previous network settings