Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Installing Photran on Macintosh -- help needed with Path environment variable

Title: Re: [photran] Installing Photran on Macintosh -- help needed with Path environment variable
I tried both Standard and Managed make, still nothing.

I cannot get the echo $PATH and which gfortran command to work in the makefile, all that shows in the console is:

make all echo ATH ATH which gfortran make: *** [all] Error 1

I have yet to try the  ~/.MacOSX/environment.plist  suggestion from Greg Watson which I’ll do shortly.

I am sure this will prove to be something stupid that I did through ignorance of Unix and Mac so I very much appreciate that you are sticking with it.

Bernard



From: Jeffrey Overbey <subscribe-photran@xxxxxxxxxxxx>
Reply-To: <overbey2@xxxxxxxx>, Photran Information <photran@xxxxxxxxxxx>
Date: Fri, 15 May 2009 11:36:49 -0500
To: Photran Information <photran@xxxxxxxxxxx>
Subject: Re: [photran] Installing Photran on Macintosh -- help needed with Path environment variable

> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/gfortran/bin:/usr/local/bin:/usr/X11/bin

That is weird.  If /usr/local/gfortran/bin is on the PATH and the
gfortran executable is /usr/local/gfortran/bin/gfortran, it should be
finding it from Eclipse.

I forgot... are you trying a Standard Make or Managed Make project?

If you haven't, please try the tutorial for a Standard Make project here
-- http://www.eclipse.org/photran/documentation.php#sm -- (you will need
to use "gfortran" instead of "g95" in the Makefile) and see if it finds
gfortran.  Also, if you type the lines
     echo $PATH
     which gfortran
immediately after the "all:" line (except start them with a tab, not
spaces), Eclipse will print the PATH it's operating under and, if
gfortran can be found, its path.

Sorry you're having so much trouble with this.  I haven't heard of any
Mac users having problems like this before.

Jeff
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

Back to the top