ubuntu18.04安装QT问题汇总
1、Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
sudo apt-get install clang
sudo apt-get install build-essential
sudo apt-get install libqt4-dev
2、fatal error: sqlite3.h: No such file or directory,//原因是系统没有安装函数库
- sudo apt-get install sqlite3
- sudo apt-get install libsqlite3-dev
3、无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)
E: 无法锁定管理目录(/var/lib/dpkg/),是否有其他进程正占用它?
这样的错误,说明apt-get 资源正在被占用,解锁即可:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock