我尝试安装最新稳定的psensor版本(psensor-1.0.4) 来自 ubuntu 12.04 上的源。运行后./configure
,make
要么make install
或checkinstall
,要么没有命令psensor
。
$ psensor
The program 'psensor' is currently not installed. You can install it by typing:
sudo apt-get install psensor
所以我想知道我的代码是否编译成功?这里有./configure
到标准输出的输出,输出make
到标准输出, 和的输出make install
。./configure
stderr的输出也是
configure: WARNING: "gtk missing psensor will not be built"
configure: WARNING: "gconf2 missing psensor will not be built"
configure: WARNING: "Library atasmart not present"
configure: WARNING: "Desktop notification disabled"
configure: WARNING: AppIndicator 3-0.1 not present"
configure: WARNING: AppIndicator 0.2.9 not present"
configure: WARNING: "AppIndicator > 0.2.9 not present"
configure: WARNING: "Remote monitoring disabled
configure: WARNING: "json-c missing"
configure: WARNING: "json0 missing"
configure: WARNING: Unity not present
configure: WARNING: "libmicrohttpd not present
configure: WARNING: "gtop not present
但我的 ubuntu 12.04 已更新,我不太明白为什么类似的东西Unity
不存在。
如果我跑步check install
,输出似乎locate psensor | grep -i usr
没有生成或复制到系统目录的可执行文件。
如果我跑步make install
,的输出sudo find psensor /|grep psensor
显示了我尝试并卸载的其他较旧 Ubuntu 版本的 psensor 的剩余文件。
安装了 报告为缺失的软件包后./configure
,现在列表减少为
configure: WARNING: "Desktop notification disabled"
configure: WARNING: "Remote monitoring disabled
configure: WARNING: "json-c missing"
http://launchpad.net/ubuntu/precise/+source/json-c好像说我json-c
已经libjson0-dev
安装了,但./configure
仍然说json-c
缺少。
最初,我没有安装 ./configure 所说的任何缺少的软件包,为什么我仍然可以make
并且make install
没有给出错误?