

- #INSTALL GFORTRAN MAC HOW TO#
- #INSTALL GFORTRAN MAC INSTALL#
- #INSTALL GFORTRAN MAC DRIVERS#
- #INSTALL GFORTRAN MAC DRIVER#
- #INSTALL GFORTRAN MAC SOFTWARE#
#INSTALL GFORTRAN MAC INSTALL#
On linux you'll need to install the X develpment packages, as describe earlier on this page. If this happens on a mac, go install Xcode.
#INSTALL GFORTRAN MAC SOFTWARE#
It means you did not install the development software for X11 on your system. Most likely you have missing components on your system.
#INSTALL GFORTRAN MAC HOW TO#

It has been written by Jin Koda (caltech). Hkmiriad is a hacked mostly-C based set of miriad programs that you can find in $MIR/src/spec/hkmiriad. on one particular Mac 10.5 machine strange linking problems went away when this user was using a FINK based version of pgplot in the following way:.If you don't use shared libraries, all programs would have to be relinked as well (normally not needed) If you installation produces a seg fault, do the following:Īnd your shared library is updated.
#INSTALL GFORTRAN MAC DRIVERS#
on 64bit machines some drivers (notably the GIF driver) do not work.You will most likely see that MIRIAD programs do not compile and complain about a missing -lpgplot another common problem is that the X development files (include files such as Xos.h etc.) were not installed on your system.
#INSTALL GFORTRAN MAC DRIVER#
When shared libraries are used, this is usually enough, all programs that use PGPLOT should now know about the new driver set. Here is a recipe to enable a driver that you know will work:Įdit $MIRLIB/drivers.list <- (un)comment the drivers you want to include/exclude on a DEB based system will help you find out what package a particular file belongs to. Xpanel.c:89:25: error: X11/Xaw/Box.h: No such file or directoryĬommands like rpm -qf `locate X11/Xaw/Box.h` on an RPM based system, and. In order to compile them, you will need them. Many workstation installation of linux and mac will install runtime libraries, but skip over the development version of these packages. Reboot is needed :-(Ģ) use the chcon command to enable a shared library,e.g.Ĭhcon -t texrel_shlib_t $MIRLIB/libmir.so Two solution:ġ) edit /etc/selinux/config (as root, or use a GUI system tool) and disable SELinux. Xxx: error while loading shared libraries: $MIRLIB/libmir.so: cannot restore segment prot after reloc: Permission denied. If not, did you really read the requirements page?Ī common problem is with SELinux, which requires shared libraries to be given extra permission. If so, add theĬommand line argument to the install.miriad or test_a_new_miriad_cvs script.

Check if your system came with gfortran instead of g77. You obviously don't have the right fortran compiler. You can look in the logfiles in $MIR/tmp or try and compile a program to see it directly on the screen:Īnd see if any of the common problems below fit the description: Most likely during building or linking a common error occured for each problem. If you have installed from source and have seen a line such as
