chinese-calender研究日志二(indicator-datatime调试)

来源:互联网 发布:最好玩的策略游戏知乎 编辑:程序博客网 时间:2024/05/22 12:24

暑假打算参与一次CSDN的开源夏令营。看到有好多Linux相关的项目,怎么也得试一下啊。


Ubuntu Kylin提供的项目多和Linux下的应用软件有关,u盘助手,农历日历什么的。应该做出来挺有成就感的。先看了下资料较多的中国日历项目。两个解决方案,方案一是利用ubuntu自带的indicator-datatime入手,加入农历功能。于是果断下载了源码研究下。


编译就遇到了问题。

 configure: error: Package requirements (gtk+-3.0 >= 3.0                           indicator3-0.4 >= 0.3.19                           dbusmenu-gtk3-0.4 >= 0.5.90                           libido3-0.1 >= 0.1.11                           libnotify >= 0.7.0) were not met:    No package 'dbusmenu-gtk3-0.4' found    Consider adjusting the PKG_CONFIG_PATH environment variable if you    installed software in a non-standard prefix.


按照提示下了各种lib但是依然不能通过。查了些资料,总结了下解决方法。

sudo apt-get install build-essential
sudo apt-get build-dep indicator-datatime
需要的依赖包就自动安装完成了。发现了吧,apt-get 还是相当好用的。

研究中。。。



0 0
原创粉丝点击