Cheers much. For some reason, the setenv command worked this time; where as before it didn't. The ~/.tcshrc file has been created (as both of the open -e commands listed above reported no such file) and port is working correctly. Huzzah!
Regarding the scipy sub-issue, I just ran 'sudo port install py27-scipy' and it appears to have installed OK. Running 'port logfile py27-scipy' returns 'Error: Log file not found for port in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-scipy'. On 03/05/2013, Ryan Schmidt <[email protected]> wrote: > > On May 2, 2013, at 17:32, Adam Neather wrote: > >> As far as I am aware, I have one problem: MacPorts isn't working >> properly. Scipy failing to build, the lack of a man page, fixing my >> PATH, etc., these are all sub-sets of the main issue. > > You are experiencing two unrelated problems. > > > First, your PATH environment variable is not set up correctly in your shell, > as a consequence of which typing "port" says "command not found" and typing > "man port" says "No manual entry for port". > > The MacPorts installer should have set up your PATH environment variable for > you, but there are reasons why it might fail. In that event, you have to set > it up yourself. This is mentioned in our guide, but I'll go over the steps > for you here. > > For the tcsh shell, the command "setenv PATH > /opt/local/bin:/opt/local/sbin:$PATH" sets up the PATH environment variable > correctly. However, just running that in the shell will only set it up > correctly for that one instance of the shell; the setting will go away as > soon as you close the terminal window (or quit Terminal.app or reboot the > computer). You want the setting to take effect for *every* shell you open > from now on. To do that, you need to put that command into the appropriate > shell startup file. > > If the file .tcshrc exists in your home directory, that is the startup file > tcsh will use. If this file exists, open it in TextEdit by typing: > > open -e ~/.tcshrc > > Otherwise, if the file .cshrc exists in your home directory, that is the > startup file tcsh will use. If this file exists, open it in TextEdit by > typing: > > open -e ~/.cshrc > > If neither file exists, create an empty .tcshrc file in your home directory > and then open it in TextEdit by typing: > > touch ~/.tcshrc && open -e ~/.tcshrc > > If it is not already there, add this line to the bottom of the file: > > setenv PATH /opt/local/bin:/opt/local/sbin:$PATH > > Make sure there is at least one blank line afterward. Then save and close > the TextEdit window. Close any open terminal windows. Make a new terminal > window. The PATH environment variable should now be set up correctly and you > should be able to use the "port" command or see its manual by typing "man > port". > > > Second, you are experiencing a build failure of the py-scipy port. You need > to show us its main.log file so that we can make further progress on > diagnosing that issue. > > > -- cheers much, Adam _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
