<div dir="ltr">Hi all<div><br></div><div>was succesfully able to install macports using <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"> |$| *|cd /opt/mports/macports-base|*</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">> |$| *|./configure --enable-readline|*</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">> |$| *|make|*</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">> |$| *|sudo make install|*</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">> |$| *|make distclean|*</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">but right now problem is </span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><br></span></div><div><div><span style="font-size:12.8px">root@vishnupc:~# /opt/local/bin/port -v selfupdate</span></div><div><span style="font-size:12.8px">---> Updating MacPorts base sources using rsync</span></div><div><span style="font-size:12.8px">rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by peer (104)</span></div><div><span style="font-size:12.8px">rsync error: error in rsync protocol data stream (code 12) at io.c(276) [Receiver=3.1.1]</span></div><div><span style="font-size:12.8px">Command failed: /usr/bin/rsync -rtzvl --delete-after rsync://<a href="http://rsync.macports.org/macports/release/tarballs/base.tar">rsync.macports.org/macports/release/tarballs/base.tar</a> /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs">rsync.macports.org/macports/release/tarballs</a></span></div><div><span style="font-size:12.8px">Exit code: 1</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">what to do now?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 April 2018 at 22:14, Joshua Root <span dir="ltr"><<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018-4-25 02:36 , Vishnu wrote:<br>
> I tried using these<br>
> <br>
</span>> 1.<br>
> <br>
> *|mkdir -p /opt/mports|*<br>
> |$| *|cd /opt/mports|*<br>
> |$| *|git clone <a href="https://github.com/macports/">https://github.com/macports/</a><wbr>macports-base.git|*<br>
> |$| *|git checkout v2.4.3 # skip this if you want to use the development<br>
> version|*<br>
> <br>
> 2.<br>
<span class="">> <br>
> Build and Install MacPorts<br>
> <br>
> MacPorts uses autoconf and makefiles for installation. These<br>
</span>> commands will build and install MacPorts to |/opt/local|. You can<br>
<span class="">> add |--prefix| to |./<wbr>configure| to relocate MacPorts to another<br>
> directory if needed.<br>
> <br>
</span>> |$| *|cd /opt/mports/macports-base|*<br>
> |$| *|./configure --enable-readline|*<br>
> |$| *|make|*<br>
> |$| *|sudo make install|*<br>
> |$| *|make distclean|*<br>
<span class="">> <br>
> while trying to configure i am getting : configure: error: mtree not<br>
> found.<br>
> <br>
> How to proceed?<br>
> <br>
> I think i need to install additional files.<br>
> Can someone help?<br>
<br>
</span>See the list of prerequisites at<br>
<<a href="https://www.macports.org/">https://www.macports.org/</a><wbr>install.php#other>.<br>
<br>
Look up which package provides mtree on your distro and install it. The<br>
executable is sometimes called 'fmtree' on Linux, so you may need to set<br>
MTREE=fmtree (or whatever it's actually called) when running configure.<br>
<br>
- Josh<br>
</blockquote></div><br></div>