make: g ++: Command not found make: Error 127

0

I need to run a file that needs the make command. When I type this command the error occurs:

  

make: g ++: Command not found make: *** [clearlines] Error 127

I have already executed the commands:

# cd /var/lib/dpkg/info/
# ls | grep "install-info" 

I also ran the following commands to solve the problems of the package install-info .

# rm install-info*
# apt-get install -f
# dpkg --configure -a 

Unfortunately, I still can not execute the command make .

    
asked by anonymous 27.09.2016 / 02:33

2 answers

3

sudo apt-get -y install build-essential worked and adjusted the situation for me.

    
25.02.2018 / 18:40
1

Type in the terminal

     sudo apt-get -y install build-essential

type ENTER

It may be necessary to install g ++ separately

     sudo apt-get -y install g++

type ENTER

It may be necessary to install make apart

     sudo apt-get -y install make
    
27.09.2016 / 02:38