起始执行 make menuconfig 有错误发生错误:*** Unable to find the ncurses libraries or the*** required header files.*** "make menuconfig" requires the ncurses libraries.****** Install ncurses (ncurses-devel) and try again.***make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1make: *** [menuconfig] 错误2 可以看出,是因为找不到 ncurses 导致的错误。那么尝试安装 ncurses$sudo apt-get install ncurses信息:正在读取软件包列表... 完成正在分析软件包的依赖关系树读取状态信息... 完成现在没有可用的软件包 ncurses , 但是它被其他的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到E: 软件包 ncurses 还没有可供安装的候选者再试:$sudo apt-get install libncurses*信息:正在读取软件包列表... 完成正在分析软件包的依赖关系树读取状态信息... 完成注意,根据正则表达式“libncurses*” 选中了 libncurses4注意,根据正则表达式“libncurses*” 选中了 libncurses5注意,根据正则表达式“libncurses*” 选中了 libncurses-ruby1.8注意,根据正则表达式“libncurses*” 选中了 libncurses-ryby1.9注意,根据正则表达式“libncurses*” 选中了 libncurses-dev注意,根据正则表达式“libncurses*” 选中了 libncursesw5-dbg注意,根据正则表达式“libncurses*” 选中了 libncursesw5-dev注意,根据正则表达式“libncurses*” 选中了 libncurses-ruby注意,根据正则表达式“libncurses*” 选中了 libncurses5-dbg注意,根据正则表达式“libncurses*” 选中了 libncurses5-dev注意,根据正则表达式“libncurses*” 选中了 libncursesw5已经不需要下列自动安装的软件包:libchewing3-data ttf-wqy-zenhei scim-chewing thunderbird-locale-zh-tw language-support-translations-zhlibchewing3 xfonts-wqy openoffice.org-l10n-zh-cn openoffice.org-l10n-zh-tw openoffice.org-help-zh-cnopenoffice.org-help-zh-tw language-support-fonts-zh使用‘apt-get autoremove’ 来删除它们。将会安装下列额外的软件包:libncurses-ruby libncurses-ruby1.8 libncurses-ruby1.9 libncurses4 libncurses5-dbg libncurses5-devlibncursesw5-dbg libncursesw5-dev libruby1.8 libruby1.9 ruby1.8 ruby1.9建议安装的软件包:rdoc1.8 ri1.8 ruby1.8-examples rdoc1.9 ri1.9 ruby1.9-examples下列【新】软件包将被安装:libncurses-ruby libncurses-ruby1.8 libncurses-ruby1.9 libncurses4 libncurses5-dbg libncurses5-devlibncursesw5-dbg libncursesw5-dev libruby1.8 libruby1.9 ruby1.8 ruby1.9共升级了0个软件包,新安装了12个软件包,要卸载0个软件包,有60个软件未被升级。需要下载8868kB的软件包。操作完成后,会消耗掉33.9MB的额外磁盘空间。您希望继续执行吗?[Y/n] 选择Y继续执行,完成后,执行sudo make menuconfig,OK!! 不过make xconfig还是不行$ sudo make xconfigHOSTCC scripts/basic/fixdepHOSTCC scripts/basic/docprocCHECK qt** Unable to find the QT3 installation. Please make sure that* the QT3 development package is correctly installed and* either install pkg-config or set the QTDIR environment* variable to the correct location.*HOSTCC scripts/kconfig/conf.osed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h "s/P(([^,]*),.*/#define 1 (*1_p)/"HOSTCC scripts/kconfig/kconfig_load.oHOSTCC scripts/kconfig/kxgettext.oSHIPPED scripts/kconfig/zconf.tab.cSHIPPED scripts/kconfig/lex.zconf.cSHIPPED scripts/kconfig/zconf.hash.cHOSTCC scripts/kconfig/zconf.tab.omake[1]: *** 没有规则可以创建“scripts/kconfig/qconf.o” 需要的目标“scripts/kconfig/.tmp_qtcheck” 。 停止。make: ***[xconfig] 错误2知道在正常步骤下,除了安装ncurses外,还要安装build-essential 和 kernel-package好吧,先开始查询一下,从kernel-package开始吧,毕竟带着kernel,估计比较重要
Ubuntu Linux编译运行mjpg-streamer步骤Linux下Qt 安装及环境变量设置(Ubuntu 10.04)相关资讯 Ubuntu教程
- Ubuntu教程 - 使用Ubuntu拷贝CD和 (12/18/2013 14:38:16)
- 让Ubuntu 12.10支持RAR和7Z文件解 (11/15/2012 18:51:50)
- Windows 7硬盘安装Ubuntu 12.10图 (11/03/2012 19:22:47)
| - 完美安装Ubuntu 12.10最新AMD显卡 (11/27/2012 08:17:47)
- Win 7硬盘安装Ubuntu 12.10 (11/05/2012 13:30:34)
- 虚拟机上Ubuntu 11.10升级到12.04 (10/12/2012 20:00:38)
|
本文评论 查看全部评论 (2)
评论声明- 尊重网上道德,遵守中华人民共和国的各项有关法律法规
- 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
- 本站管理人员有权保留或删除其管辖留言中的任意内容
- 本站有权在网站内转载或引用您的评论
- 参与本评论即表明您已经阅读并接受上述条款
| |