| 1 |
This is the Tcl interface to the Ifeffit library. |
| 2 |
|
| 3 |
To build and install this interface: |
| 4 |
|
| 5 |
1. build and INSTALL the ifeffit library. That is, the |
| 6 |
ifeffit library must be installed in its final resting |
| 7 |
place for the tcl extension to work properly. |
| 8 |
|
| 9 |
If you're building this from the standard distribution, a |
| 10 |
TclSetup.in file should already be in this directory. If |
| 11 |
not (or if you are building this from the stand-alone perl |
| 12 |
distribution after the Ifeffit library has been installed) |
| 13 |
copy the TclSetup.in from the ifeffit directory: |
| 14 |
|
| 15 |
~> cp /usr/local/share/ifeffit/TclSetup.in . |
| 16 |
|
| 17 |
(the exact location may be different, depending on how |
| 18 |
ifeffit was built and installed). |
| 19 |
|
| 20 |
|
| 21 |
2. type 'sh Build'. |
| 22 |
this will simply do |
| 23 |
~> cat TclSetup.in Makefile.in > Makefile |
| 24 |
~> make |
| 25 |
|
| 26 |
If this fails, you may want to edit the Makefile to properly |
| 27 |
reflect your system's setup. |
| 28 |
|
| 29 |
3. test the Tcl extension: |
| 30 |
~> tcl test.tcl |
| 31 |
|
| 32 |
If the test fails (you'll see a bunch cryptic error messages), |
| 33 |
first check the 'Fortran.Notes' in the main wrapper directory. |
| 34 |
If that doesn't help, please let me know. |
| 35 |
|
| 36 |
4. I do not know enough about tcl to know how to properly install |
| 37 |
a third-party extension in 'the standard way'. If you do, please |
| 38 |
let me know. |
| 39 |
|
| 40 |
Matt Newville <[email protected]> |