From: Alan W. I. <ir...@be...> - 2016-08-25 20:35:18
|
On 2016-08-25 15:32-0400 Jim Dishaw wrote: > > >> On Aug 25, 2016, at 3:19 PM, Alan W. Irwin <ir...@be...> wrote: >> >> @Jim: You stated recently that you had some trouble with getting the >> Fortran parts of PLplot to work on Mac OS X. If that is still the >> case, the report tarball generated by the above script invocatin will >> likely give me everything I need to fix that issue. >> > > The issue is that MacPorts had installed gfortran as gfortran-mp-49 and gfortran-mp-5. There was no gfortran executable. > > I don't know if that is normal or an artifact of having two different versions installed. The fix was simple--I set FC=/opt/local/bin/gfortran-mp-5 > > We could fix the cmake configuration to try different names or just document it in the wiki. My feeling is CMake itself and the PLplot build system should not be expected to support idiosyncratic platform names for the Fortran (or any other) compiler in a seamless manner. So I suggest you just document the use of the FC environment variable. By the way, Linux distributions typically handle multiple versions of any tool by an extremely convenient update-alternatives script (which, for example, would symbolically link gfortran to the version preferred by the user). Back in 2008, this possibility was discussed for MacPorts (see <https://lists.macosforge.org/pipermail/macports-dev/2008-May/005172.html>), but if anyone followed through with implementing such a script for MacPorts, I could not find that with a quick google search. If you confirm there is currently no update-alternatives script or equivalent on MacPorts, perhaps a good bug report from you about that situation might motivate the MacPorts developers to simply adapt (if adaptation is necessary at all) an existing update-alternatives script from one of the Linux distros. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |