1、安装git:sudo apt-get install git
2、安装g++:sudo apt-get install g++
报错:libffi找不到
o package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
c/_cffi_backend.c:15:17: error: ffi.h: No such file or directory
In file included from c/_cffi_backend.c:63:
执行如下指令:
sudo apt-get install libffi6 libffi-dev
3、 sudo apt-get install pkg-config
4、sudo apt-get install libpango-1.0-0 libpango1.0-dev(ERROR: Package pango was not found in the pkg-config search path)
5、ERROR: Could not find autoconf 2.13:
You can find Autoconf 2.13 here: http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz
Download the source code and follow these steps to install it:
```
bashCopy codetar -xzf autoconf-2.13.tar.gz
cd autoconf-2.13
./configure
make
sudo make install
/usr/local/bin$ sudo ln -s autoconf autoconf2.13
```
6、编译autoconf 找不到m4,解决方法:
lljl@KylinV10-x86-64:~/project/autoconf-2.13$ sudo make
Error: Autoconf requires GNU m4 1.1 or later
make: *** [Makefile:99:autoconf.m4f] 错误 1
lljl@KylinV10-x86-64:~/project/autoconf-2.13$ m4 -version
Could not find command-not-found database. Run 'sudo apt update' to populate it.
m4:未找到命令
lljl@KylinV10-x86-64:~/project/autoconf-2.13$ m4 --version
Could not find command-not-found database. Run 'sudo apt update' to populate it.
m4:未找到命令
lljl@KylinV10-x86-64:~/project/autoconf-2.13$ sudo apt-get install m4
7、checking for gtk+-3.0 >= 3.4.0 执行:
sudo apt-get install gtk+3.0
sudo apt-get install libgtk-3-dev
可通过。
8、sudo apt-get install libgtk2.0-dev
9、sudo apt-get install libgconf2-dev
10、sudo apt-get install libdbus-glib-1-dev
11、sudo apt-get install yasm
12、sudo apt-get install libpulse-dev
13、sudo apt-get install libxt-dev
14、sudo apt-get install libx11-xcb-dev
15、sudo apt-get install build-essential
16、sudo apt-get install dh-make
报什么错安装什么,没报错的不需要安装。
新版可能需要放宽麒麟通用设置-应用保护。