I tried this
cd /tmp
wget http://ftp.gnu.org/gnu/make/make-4.1.tar.gz
tar xvf make-4.1.tar.gz
cd make-4.1/
./configure
make
sudo make install
cd ..
rm -rf make-4.1.tar.gz make-4.1
but on the make
and sudo make install
step I get the following
segmentation fault make
segmentation fault sudo make install
respectively. No more no less. I'm completely baffled and clueless on what to do next
I'm running ubuntu 18.04
EDIT
This is what I get when I run type -a make
and apt policy make
(Shell prompt is from oh-myzsh)
➜ ~ type -a make
make is /usr/local/bin/make
make is /usr/bin/make
➜ ~ apt policy make
make:
Installed: 4.1-9.1ubuntu1
Candidate: 4.1-9.1ubuntu1
Version table:
*** 4.1-9.1ubuntu1 500
500 https://zim.client-eng.a2z.com/ubuntu/prod bionic/main amd64 Packages
100 /var/lib/dpkg/status
➜ ~
make
is already at version 4.1 in the Bionic main repository - why are you trying to build it from source?type -a make
andapt policy make