See last email from Ryan. Can you try to clone macports-ports and run portindex there? (Sorry, typing on my phone.) You can also go to our IRC channel for more real-time help.
Mojca V tor., 24. apr. 2018 23:37 je oseba Vishnu <vishnum1...@gmail.com> napisala: > Hi all > > was succesfully able to install macports using |$| *|cd > /opt/mports/macports-base|* > > |$| *|./configure --enable-readline|* > > |$| *|make|* > > |$| *|sudo make install|* > > |$| *|make distclean|* > > but right now problem is > > root@vishnupc:~# /opt/local/bin/port -v selfupdate > ---> Updating MacPorts base sources using rsync > rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by > peer (104) > rsync error: error in rsync protocol data stream (code 12) at io.c(276) > [Receiver=3.1.1] > Command failed: /usr/bin/rsync -rtzvl --delete-after rsync:// > rsync.macports.org/macports/release/tarballs/base.tar > /opt/local/var/macports/sources/ > rsync.macports.org/macports/release/tarballs > Exit code: 1 > > what to do now? > > On 24 April 2018 at 22:14, Joshua Root <j...@macports.org> wrote: > >> On 2018-4-25 02:36 , Vishnu wrote: >> > I tried using these >> > >> > 1. >> > >> > *|mkdir -p /opt/mports|* >> > |$| *|cd /opt/mports|* >> > |$| *|git clone https://github.com/macports/macports-base.git|* >> > |$| *|git checkout v2.4.3 # skip this if you want to use the >> development >> > version|* >> > >> > 2. >> > >> > Build and Install MacPorts >> > >> > MacPorts uses autoconf and makefiles for installation. These >> > commands will build and install MacPorts to |/opt/local|. You can >> > add |--prefix| to |./configure| to relocate MacPorts to another >> > directory if needed. >> > >> > |$| *|cd /opt/mports/macports-base|* >> > |$| *|./configure --enable-readline|* >> > |$| *|make|* >> > |$| *|sudo make install|* >> > |$| *|make distclean|* >> > >> > while trying to configure i am getting : configure: error: mtree not >> > found. >> > >> > How to proceed? >> > >> > I think i need to install additional files. >> > Can someone help? >> >> See the list of prerequisites at >> <https://www.macports.org/install.php#other>. >> >> Look up which package provides mtree on your distro and install it. The >> executable is sometimes called 'fmtree' on Linux, so you may need to set >> MTREE=fmtree (or whatever it's actually called) when running configure. >> >> - Josh >> > >