makemenuconfig问题

来源:互联网 发布:一个网络女歌手翻唱 编辑:程序博客网 时间:2024/06/06 13:27
执行 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 还没有可供安装的候选者根据http://www.linuxquestions.org/qu ... nfig-archum-311781/再试:$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根据http://forum.ubuntu.org.cn/viewtopic.php?t=110461&highlight=知道在正常步骤下,除了安装ncurses外,还要安装build-essential 和 kernel-package好吧,先开始查询一下,从kernel-package开始吧,毕竟带着kernel,估计比较重要查询kernel-package信息$ apt-cache show kernel-packagePackage: kernel-packagePriority: optionalSection: miscInstalled-Size: 2192Maintainer: Ubuntu Core Developers Original-Maintainer: Manoj Srivastava Architecture: allVersion: 11.001Depends: perl, dpkg (>= 1.4), dpkg-dev (>= 1.4.0.9), gcc | c-compiler, make (>= 3.80-10), po-debconf, gettext, fileRecommends: libc6-dev | libc-dev, bzip2Suggests: linux-source | kernel-source, libdb3-dev, libncurses-dev, docbook-utilsFilename: pool/main/k/kernel-package/kernel-package_11.001_all.debSize: 510452MD5sum: fd820c2e3970fc8d300aef4a2b9e15caSHA1: 34924f84fe4cd604869bf4717d4c0230b3117291SHA256: 3ff71a3e2e69d5073310e8e83fc982baefec983af7139ed7cc7a4ce6cf42c38aDescription: A utility for building Linux kernel related Debian packages.This package provides the capability to create a debian kernel-imagepackage by just running make-kpkg kernel_image in a kernel sourcedirectory tree. It can also package the relevant kernel headers intoa kernel-headers package. In general, this package is very useful ifyou need to create a custom kernel, if, for example, the defaultkernel does not support some of your hardware, or you wish a leaner,meaner kernel. It also scripts the steps that need be taken tocompile the kernel, which is quite convenient (forgetting a crucialstep once was the initial motivation for this package). Please look at/usr/share/doc/kernel-package/Rationale.gz for a full list of advantagesof this package.Bugs: mailtubuntu-users@lists.ubuntu.comOrigin: UbuntuPackage: kernel-packagePriority: optionalSection: miscInstalled-Size: 1316Maintainer: Manoj Srivastava Architecture: allVersion: 9.001ubuntu15Depends: perl, dpkg (>= 1.4), dpkg-dev (>= 1.4.0.9), gcc | c-compiler, makeRecommends: libc6-dev | libc-dev, bzip2Suggests: linux-source, libdb3-dev, libncurses-dev, docbook-utilsFilename: pool/main/k/kernel-package/kernel-package_9.001ubuntu15_all.debSize: 362410MD5sum: dc01de7ad43dcb769eadfd4f018c2a78Description: A utility for building Linux kernel related Debian packages.This package provides the capability to create a debian kernel-imagepackage by just running make-kpkg kernel_image in a kernel sourcedirectory tree. It can also package the relevant kernel headers intoa kernel-headers package. In general, this package is very useful ifyou need to create a custom kernel, if, for example, the defaultkernel does not support some of your hardware, or you wish a leaner,meaner kernel. It also scripts the steps that need be taken tocompile the kernel, which is quite convenient (forgetting a crucialstep once was the initial motivation for this package). Please look at/usr/share/doc/kernel-package/Rationale.gz for a full list of advantagesof this package..If you are running on an intel x86 platform, and you wish to compile acustom kernel (why else are you considering this package?), then you mayneed the package bin86 as well. (This is not required on other platforms).Bugs: mailtubuntu-users@lists.ubuntu.comOrigin: Ubuntu
原创粉丝点击