Forwarding to the macports-users list.

First check whether /opt/local/bin actually ends up being in your PATH
by running 'echo $PATH' in your shell.
--- Begin Message ---
I sorry to send this question to you directly but my Macports question
seems not to fit into the unusual cases so I’m not quite sure where to
direct it.

I’m using  MacOS high Sierra 10.13.2 and prior to installing Macports Xcode
9.2 was installed. Macports was successfully installed with the downloaded
package installer. Initially Macports  worked fine and several ports were
also successfully installed. But after installing further software
including  IRAF (sucessfully) and KARMA (unsuccessfully so far), Macports
and the installed ports have ceased to work, e.g.


toms-MacBook-Pro:~ tomscott$  port version

-bash: port: command not found

toms-MacBook-Pro:~ tomscott$ ipython

-bash: ipython: command not found


Below is the content of the .profile file

toms-MacBook-Pro:~ tomscott$ cat .profile


# MacPorts Installer addition on 2017-12-04_at_23:46:09: adding an
appropriate PATH variable for use with MacPorts.

export PATH="/opt/local/bin:/opt/local/sbin:$PATH"

# Finished adapting your PATH environment variable for use with MacPorts.



# Add iraf setup commands

if [ -e /Users/tomscott/.iraf/setup.sh ]; then

    source /Users/tomscott/.iraf/setup.sh

fi


# KARMA

source /opt/karma/.karmarc

export PATH=$PATH:/opt/karma/x86_64_Darwin-15.5/bin

toms-MacBook-Pro:~ tomscott$


Also here is the content o the usr/local directory:

toms-MacBook-Pro:local tomscott$ pwd

/usr/local

toms-MacBook-Pro:local tomscott$ ls

bin include karma lib man remotedesktop share texlive

toms-MacBook-Pro:local tomscott$


I’m not sure how to proceed, e.g., would be be harmful to reinstall Macport
using the package installer again with out removing the current version or
might there be easier ways to try first to get Macports and its ports to
run again? Any help would be much appreciated.

Thanks
Tom

--- End Message ---

Reply via email to