 
**************************** IMPORTANT NOTES **********************************
				
				

		Mac OSX 10.5.x
		--------------

080619:  How to get Fortran, Motif for OSX 10.5 (Leopard)

	This time, with Leopard on an Intel MacBook we got 
	the necessary code via MacPorts
        http://www.macports.org
        (read the installation guide of MacPorts)

        First of all, we need Apple's Xcode 3.0 Developer Tools for 
	Leopard - so, off to the Apple Developer Connection site.
        To download anything you must be registered with Apple's
        Developers Community, so if that's not the case, register now.

        Download Xcode3.0.dmg, unpack via double click and install 
	XcodeTools.pkg also via double click.

        Back to the MacPorts site and download MacPorts for Leopard,
        unpack and install Macports-1.6.0.pkg as above.
        All stuff goes to /opt/local/bin
        so you have to add this to the PATH env. variable,
        only then you finally have access to the "port" command
        with which you can get our desired software

        to get Fortran you have to get gcc 4.2 (which contains also
        frontend gfortran), default on Mac is gcc 4.0
        $ sudo port install gcc42

        to get the Motif stuff for the Midas GUIs
        $ sudo port install openmotif

        After that you must set the following links in /opt/local/bin
        $ cd /opt/local/bin
        $ ln -s gcc-mp-4.2 gcc
        $ ln -s gcc-mp-4.2 cc
        $ ln -s gfortran-mp-4.2 gfortran


080620:  we recommend John Pritchard's webpage about his experiences 
	with Midas on the Mac:
        www.eso.org/~jpritcha/MIDASonMacOSX.html


		Mac OSX 10.6.x
		--------------

100426:  if you still use Mac OSX 10.5 you have to rename 
	make_options.osx.10.5 to  make_options (1)
	before doing the installation!


100426:	 for OSX 10.6 we use Fink to get all necessary Linux apps for 
	the Mac, see http://www.finkproject.org/ for more details

	in particular /sw/bin/gcc-4 as the C compiler (gcc 4.4.x), 
	and /sw/bin/gfortran as Fortran compiler,
	also Motif can be installed via Fink (32bit code)


110715: if you use Mac OSX 10.6 with Kernel Darwin 10.4.0
	you have to rename make_options.osx.10.6 to  make_options (1)
        before doing the installation!

(1) 	this has to be done in /midas/version/local before starting the 
   	installation via step 6 of the config script
   	when using the autoconfig script this renaming has to be done in
  	/midas/version/install/unix/systems/Darwin


111012: Midas checks if the default C compiler produces 32- or 64-bit code
	and adapts the installation accordingly.
	However, that's not working with the default gcc from Apple:
	That compiler produces 64-bit code, so Midas will do the
	installation , accordingly, producing 64bit executable modules,
	e.g.     $ file midas/version/monit/prepa.exe	displays
	prepa.exe: MACH-0 64bit executable x86_64
	and starting Midas: $ inmidas
	will abort with some trap no.
	You have to use the Fink C compiler, instead, see above (100426)
	and also get the gfortran from fink.
	Then, either change your PATH variable, or, as root, do
	# mv /usr/bin/gcc /usr/bin/gcc-orig
	# ln -s /sw/bin/gcc-4 /usr/bin/gcc
	Now, Midas will do a 32bit installation, and everything should work.


111015: with Kernel Darwin 10.7.0 you only need additionally the gfortran 
	frontend (e.g. from Fink) and can use the default gcc from Apple.
	The 32bit gfortran works together with the native gcc provided
	by OSX and creates 64bit executables on relevant architectures
	With this kernel the 64bit Midas executables do work.

	Above also applies to Mac OSX 10.7 (Lion).


*******************************************************************************
