I dont think its about PATH.
root@vishnupc:/# /opt/local/libexec/mpstats
can't find package macports
while executing
"package require macports"
(file "/opt/local/libexec/mpstats" line 42)
root@vishnupc:/# echo $PATH
/usr/local/sbin:/opt/local/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
I tried all combinations of path.
Didn't work.
what does it mean exactly by macports package?
On 29 April 2018 at 06:47, Jeremy Lavergne <[email protected]> wrote:
> But also notice how you already have /opt/local/bin in your PATH...
>
> On 04/28/2018 09:16 PM, Jeremy Lavergne wrote:
> > A missing / on /opt
> >
> > On 04/28/2018 08:49 PM, Vishnu wrote:
> >> I added the path.But still same error.
> >>
> >> root@vishnupc:/# /opt/local/libexec/mpstats
> >> can't find package macports
> >> while executing
> >> "package require macports"
> >> (file "/opt/local/libexec/mpstats" line 42)
> >> root@vishnupc:/# echo $PATH
> >> /usr/local/sbin:opt/local/bin/port-tclsh:/opt/local/bin:/
> usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> >>
> >>
> >> On 29 April 2018 at 05:56, Ken Cunningham
> >> <[email protected]
> >> <mailto:[email protected]>> wrote:
> >>
> >>
> >>
> >>> On Apr 28, 2018, at 5:06 PM, Vishnu <[email protected]
> >>> <mailto:[email protected]>> wrote:
> >>>
> >>> am i supposed to install port tclsh ?
> >>>
> >>> There's no port named tclsh.
> >>>
> >>
> >> you should have it
> >>
> >> /opt/local/bin/port-tclsh
> >>
> >> but your path is probably calling
> >>
> >> /usr/bin/tclsh
> >>
> >>
> >> Ken
> >>
> >>
> >
>
>