On Tue, Apr 24, 2018 at 10:06 PM, Vishnu <vishnum1...@gmail.com> wrote: > I tried using these > > 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 > > 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?
Looks like mtree[1] is not installed in your machine. Could you try running 'sudo apt-get install tree' before configure ? I also found one answer at [2]. Haven't checked though. [1] http://manpages.ubuntu.com/manpages/bionic/man8/fmtree.8.html [2] https://serverfault.com/a/690089 -- Jackson Isaac