Or you can use any text editor.
Greg On May 15, 2009, at 4:29 PM, Bernard Abramson wrote: Thank you, that fixed my PATH problem. I recommend that this be added to the Photran installation instructions for Macs. You might also note that users will need to acquire a property list editor (I used http://www.apple.com/downloads/macosx/development_tools/plisteditpro.html but this is only free on a trial basis). I can now launch Eclipse from the Finder or dock and compile with gfortran. Bernard Abramson From: Greg Watson <g.watson@xxxxxxxxxxxx> Reply-To: Photran Information <photran@xxxxxxxxxxx> Date: Fri, 15 May 2009 12:58:46 -0400 To: Photran Information <photran@xxxxxxxxxxx> Subject: Re: [photran] Installing Photran on Macintosh -- help needed with Path environment variable Hi, Just a reminder that if you are launching Eclipse from the Finder (by double clicking on it), then the PATH is not obtained from the shell or /etc/paths. Instead, it's obtained from ~/.MacOSX/ environment.plist. The format of the environment.plist file is as follows (change the path appropriately): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>PATH</key> <string>/usr/local/mpi/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/ sbin:/sbin:/usr/sbin:/Developer/Tools:/usr/texbin:/Users/greg/bin</ string> </dict> </plist> Cheers, Greg On May 15, 2009, at 12:36 PM, Jeffrey Overbey wrote: >> 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 _______________________________________________ photran mailing list photran@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/photran _______________________________________________ photran mailing list photran@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/photran
|