[
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
|
I always launch eclipse from a terminal window on the Mac.
For this reason amongst others. (But thanks for reminding me about environment.plist, Greg!)
...Beth
Beth Tibbitts (859) 243-4981 (TL 545-4981)
Eclipse Parallel Tools Platform http://eclipse.org/ptp
Mailing Address: IBM Corp., Coldstream Research Campus, 745 West New Circle Road, Lexington, KY 40511
Greg Watson ---05/15/2009 12:58:56 PM---Hi,
Greg Watson <g.watson@xxxxxxxxxxxx>
Sent by: photran-bounces@xxxxxxxxxxx
05/15/2009 12:58 PM
Please respond to
Photran Information <photran@xxxxxxxxxxx> |
|
|
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