make[1]: g++: Command not found

今天装了nmap软件,开始报这种错:

g++ -c -Iliblua -Ilibdnet-stripped/include -Ilibpcre  -Ilibpcap -Inbase -Insock/include -fno-strict-aliasing   -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 main.cc -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/usr/local/nmap-5.00'
make: *** [all] Error 2


解决:
sudo apt-get install g++

你可能感兴趣的:(command)