File: README.MACOSX

package info (click to toggle)
ifeffit 2%3A1.2.10a-5
  • links: PTS
  • area: contrib
  • in suites: lenny
  • size: 11,624 kB
  • ctags: 5,599
  • sloc: fortran: 33,927; ansic: 8,391; makefile: 4,188; sh: 4,060; python: 3,273; perl: 3,146; tcl: 95
file content (85 lines) | stat: -rw-r--r-- 2,659 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

These instructions describe how to build ifeffit for MacOS X.

At this point, 'configure ; make ; make install' should work as
long the prerequisites are installed.  This has worked for me on
10.2 and 10.3.


Currently, the ifeffit command-line interface can be built and
run on Mac OS X (10.1 or higher) using XDarwin (or, I believe,
the new Apple X-Windows distribution) and the Unix-like 'Fink
Project'.

Prerequisites:
==============
First, you need Mac OS 10.1 or higher. 

Second, you need to install the 'Developer Tools' that come
with Mac OS 10.

Third, you need to download and install the Fink system,
from the Fink Project web-site:
   http://fink.sourceforge.net/

You will need to download the Fink base system and some of its
Unix-like extensions.  Fink is fairly easy to use.  In addition
to the base system, the following 'Fink packages' are needed by 
ifeffit:

  pgplot g77 xfree86-base xfree86-rootless

I think this is a complete list, but please let me know if I'm
missing any.  The 'readline' may be needed.

At this time, there are still some problems getting Fink to
work well on OS 10.2 (Jaguar).  It seems that several of the
PGPLOT package is in the 'unstable' part of Fink, which makes 
it more challenging to install.   I'm sorry that I can't 
provide many more details yet -- check the web pages and
mailing lists. 

Getting the Ifeffit applications Athena and Artemis to work, 
you'll also need to get Perl and Perl/Tk to work on Mac OS X. 
Again, check the web pages and mailing lists.


Installation Instructions:
==========================
By default, Fink puts its files under the '/sw' directory.

Assuming that is the case, the following commands in a
Terminal will install the command-line version of ifeffit:

 wget http://cars.uchicago.edu/ifeffit/src/ifeffit.tar.gz
 tar xvzf ifeffit.tar.gz

The 'standard unix build process' should now work:

  sh configure --prefix=/sw
  make
  sudo make install


If this does not work, you may be able to build everything 
without using configure at all, by doing
  cd ifeffit-1.2.0/src/macosx
  sh configure
  make
  sudo make install

Both of these will build the libraries and C and fortran apps
(ifeffit, feffit, autobk, diffkk), and install them into the /sw
tree.  If you've install Fink in a different location, you'll
have to specify a different prefix to configure or edit the first
few lines of the Makefile in the src/macosx directory.

The extension wrappers need to be built after installation, but
the configuration files for these will be generated.
See src/macosx/README for more details.

--Matt Newville <newville@cars.uchicago.edu>

Last update Aug-25-2003