- abc is not in the sudoers file.
http://jingyan.baidu.com/article/2a1383284bb3e8074a134f2d.html
%su
%visudo
找到root ALL=(ALL) ALL,在下面添加一行xxx ALL=(ALL) ALL 其中xxx是你要加入的用户名称.按Esc退出编辑模式
输入 :wq 保存退出(包含冒号)
%exit
- /bin/sh: 1: makedepend: not found
makedepend是个工具,下载安装包安装即可,参考 http://www.linuxfromscratch.org/blfs/view/7.4/x/makedepend.html
或http://askubuntu.com/questions/433070/makedepend-command-not-found
- centos中输入apt-get报错 apt-get: command not found
因为CentOS的软件安装工具不是apt-get 是yum
- No package 'xproto' found
到此处http://xorg.freedesktop.org/archive/individual/proto/ 下载xproto包进行安装即可
- /bin/sh: 1: gccmakedep: not found make: *** [depend] 错误 127
wget ftp://www.hensa.ac.uk/sites/distfiles.macports.org/gccmakedep/gccmakedep-1.0.3.tar.bz2
tar jxf gccmakedep-1.0.3.tar.bz2 && cd ~/gccmakedep-1.0.3 && ./configure && make && sudo make install
wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar -xzvf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1 && ./configure && make && sudo make install
wget http://download.zeromq.org/zeromq-4.0.5.tar.gz
tar -xzvf zeromq-4.0.5.tar.gz
cd zeromq-4.0.5 && ./configure && make && sudo make install
tar jxf gccmakedep-1.0.3.tar.bz2 && cd ~/gccmakedep-1.0.3 && ./configure && make && sudo make install
wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar -xzvf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1 && ./configure && make && sudo make install
wget http://download.zeromq.org/zeromq-4.0.5.tar.gz
tar -xzvf zeromq-4.0.5.tar.gz
cd zeromq-4.0.5 && ./configure && make && sudo make install