<div dir="ltr">Hey<div><br></div><div>Thanks a lot.</div><div>Now it works.</div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I<span> </span></span><span class="gmail-gr_ gmail-gr_97 gmail-gr-alert gmail-gr_spell gmail-gr_inline_cards gmail-gr_run_anim gmail-ContextualSpelling gmail-ins-del gmail-multiReplace" id="gmail-97" style="display:inline;color:rgb(34,34,34);font-size:small;border-bottom:2px solid transparent;background-repeat:no-repeat;font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">dont</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> know why it was not working earlier.</span><div><br></div><div>And jackson . I ran both the commands.</div><div><div>root@vishnupc:/# /opt/local/bin/port-tclsh /opt/local/libexec/mpstats show</div><div>Would submit the following data to <a href="http://stats.macports.neverpanic.de/submissions">http://stats.macports.neverpanic.de/submissions</a>:</div><div>{</div><div>  "id": "cc545acb-3f3b-4a93-afbd-8a72ef5e50b9",</div><div>  "os": {</div><div>    "macports_version": "2.4.99",</div><div>    "osx_version": "",</div><div>    "os_arch": "i386",</div><div>    "os_platform": "linux",</div><div>    "build_arch": "",</div><div>    "gcc_version": "5.4.0",</div><div>    "xcode_version": "none"</div><div>  },</div><div>  "active_ports": [</div><div>    {"name": "ncurses", "version": "6.1_0"},</div><div>    {"name": "libedit", "version": "20170329-3.1_2"},</div><div>    {"name": "mpstats", "version": "0.1.7_0", "requested": "true"}</div><div>  ],</div><div>  "inactive_ports": []</div><div>}</div><div>root@vishnupc:/# /opt/local/bin/port-tclsh /opt/local/libexec/mpstats submit</div><div>Submitting data to <a href="http://stats.macports.neverpanic.de/submissions">http://stats.macports.neverpanic.de/submissions</a> ...</div><div>Success.</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 April 2018 at 07:29, Jeremy Lavergne <span dir="ltr"><<a href="mailto:jeremy@lavergne.me" target="_blank">jeremy@lavergne.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's one last thing to try regarding paths; that is to try invoking<br>
the file this way:<br>
/opt/local/bin/port-tclsh /opt/local/libexec/mpstats<br>
<br>
<br>
If that doesn't work, it may lead to wondering if all of MacPorts is<br>
installed properly.<br>
<br>
For example, I see you're using the root user: did we ensure that all<br>
the file permissions were correct for when you're not the root user? Or<br>
have you been using the root user exclusively?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 04/28/2018 09:28 PM, Vishnu wrote:<br>
> I dont think its about PATH.<br>
> root@vishnupc:/# /opt/local/libexec/mpstats <br>
> can't find package macports<br>
>     while executing<br>
> "package require macports"<br>
>     (file "/opt/local/libexec/mpstats" line 42)<br>
> root@vishnupc:/# echo $PATH<br>
> /usr/local/sbin:/opt/local/<wbr>bin:/usr/local/bin:/usr/sbin:/<wbr>usr/bin:/sbin:/bin:/usr/games:<wbr>/usr/local/games<br>
> <br>
> I tried all combinations of path.<br>
> Didn't work.<br>
> <br>
> what does it mean exactly by macports package?<br>
<br>
</div></div></blockquote></div><br></div>