[
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
|
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