makemenuconfig出错解决方法.doc_第1页
makemenuconfig出错解决方法.doc_第2页
makemenuconfig出错解决方法.doc_第3页
makemenuconfig出错解决方法.doc_第4页
makemenuconfig出错解决方法.doc_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

起始执行 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.*make1: * scripts/kconfig/dochecklxdialog 错误 1make: * menuconfig 错误2 可以看出,是因为找不到 ncurses 导致的错误。那么尝试安装 ncurses$sudo apt-get install ncurses信息:正在读取软件包列表. 完成正在分析软件包的依赖关系树读取状态信息. 完成现在没有可用的软件包 ncurses , 但是它被其他的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到E: 软件包 ncurses 还没有可供安装的候选者 根据/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 -l10n-zh-cn -l10n-zh-tw -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_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.omake1: * 没有规则可以创建“scripts/kconfig/qconf.o” 需要的目标“scripts/kconfig/.tmp_qtcheck” 。 停止。make: *xconfig 错误2 根据/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 (= ), 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: Origin: Ubuntu Package: kernel-packagePriority: optionalSection: miscInstalled-Size: 1316Maintainer: Manoj Srivastava Architecture: allVersion: 9.001ubuntu15Depends: perl, dpkg (= 1.4), dpkg-dev (= ), 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: Origin: Ubuntu 好多信息,不知道能不能看得懂,算了,看一下安装好了没$ apt-cache policy kernel-packagekernel-package:已安装: (无)候选的软件包:11.001版本列表:11.001 0500 hardy/main Packages9.001ubuntu15 0500 dapper/main Packages 这个信息就简单多了,没有安装!那么开始安装吧$ sudo apt-get install kernel-package正在读取软件包列表. 完成正在分析软件包的依赖关系树读取状态信息. 完成已经不需要下列自动安装的软件包:libchewing3-data ttf-wqy-zenhei scim-chewing thunderbird-locale-zh-tw language-support-translations-zhlibchewing3 xfonts-wqy -l10n-zh-cn -l10n-zh-tw -help-zh-tw language-support-fonts-zh使用apt-get autoremove 来删除它们。将会安装下列额外的软件包:dpkg-dev gettext intltool-debian libtimedate-perl patch po-debconf建议安装的软件包:debian-keyring cvs gettext-doc linux-source kernel-source libdb3-dev docbook-utils diff-doc推荐安装的软件包:build-essential libmail-sendmail-perl libcompress-zlib-perl libmail-box-perl下列【新】软件包将被安装:dpkg-dev gettext intltool-debian kernel-package libtimedate-perl patch po-debconf共升级了0个软件包,新安装了7个软件包,要卸载0个软件包,有60个软件未被升级。需要下载3436kB的软件包。操作完成后,会消耗掉12.8MB的额外磁盘空间。您希望继续执行吗?Y/n 然后轮到build-essential查询build-essential信息$ apt-cache show build-essentialPackage: build-essentialPriority: optionalSection: develInstalled-Size: 48Maintainer: Ubuntu Core Developers Original-Maintainer: Matthias Klose Architecture: i386Version: 11.3ubuntu1Depends: libc6-dev | libc-dev, gcc (= 4:4.1.1), g+ (= 4:4.1.1), make, dpkg-dev (= 1.13.5)Filename: pool/main/b/build-essential/build-essential_11.3ubuntu1_i386.debSize: 7066MD5sum: dbf21241506cb04fc6f67a93aaaf991bSHA1: aef5b9f76a05ea23c0370eab53ef0d20b4dac1f5SHA256: 7d3b5efbd44c8e8186e33e3b0e9585fc8a86f4b1cd328f10e3c4a594e50f9da5Description-zh_CN: 编译程序必须软件包的列表信息如果您 不打算编译Debian软件包,就不需要安装此软件包。而且要编译Debian软件包,此软件包也不是必须的。本软件包包含一个列表,表中列出了在编译Debian软件包时所必须的软件包。本软件包依赖于列表中的软件,这样,安装编译程序必须的软件包就会很简单。如果安装了此软件包,在编译软件包时,你只需要安装其特别要求的编译时依赖关系。反过来说,在确定软件包的依赖关系的时候,您 完全可以忽略此软件包所依赖的这些包。本软件包并不是定义那些软件包是编译必须的;真正的定义在Debian策略手册中。本软件包仅包含一个大家都需要的列表。然而,如果此软件包和手册发生冲突,以手册为准。Bugs: Origin: Ubuntu 查询安装状态$ apt-cache policy build-essentialbuild-essential:已安装:(无)候选的软件包:11.3ubuntu1版本列表:11.3ubuntu1 0500 hardy/main Packages11.1 0500 dapper/main Packages 没有安装,那装上吧$ sudo apt-get install build-essential正在读取软件包列表. 完成正在分析软件包的依赖关系树读取状态信息. 完成已经不需要下列自动安装的软件包:libchewing3-data ttf-wqy-zenhei scim-chewing thunderbird-locale-zh-tw language-support-translations-zhlibchewing3 xfonts-wqy -l10n-zh-cn -l10n-zh-tw -help-zh-tw language-support-fonts-zh使用apt-get autoremove 来删除它们。将会安装下列额外的软件包:g+ g+-4.2 libstdc+6-4.2-dev建议安装的软件包:g+-multilib g+-4.2-multilib gcc-4.2-doc libstdc+6-4.2-dbg libstdc+6-4.2-doc下列【新】软件包将被安装:build-essential g+ g+-4.2 libstdc+6-4.2-dev共升级了0个软件包,新安装了4个软件包,要卸载0个软件包,有60个软件未被升级。需要下载3979kB的软件包。操作完成后,会消耗掉15.0MB的额外磁盘空间。您希望继续执行吗?Y/n 运行make xconfig,错误提示还是一样,HOSTCC 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_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.omake1: * 没有规则可以创建“scripts/kconfig/qconf.o” 需要的目标“scripts/kconfig/.tmp_qtcheck” 。 停止。make: *xconfig 错误2 安装QT库$ sudo apt-get install libqt3-headers libqt3-mt-dev正在读取软件包列表. 完成正在分析软件包的依赖关系树读取状态信息. 完成已经不需要下列自动安装的软件包:libchewing3-data ttf-wqy-zenhei scim-chewing thunderbird-locale-zh-tw language-support-translations-zhlibchewing3 xfonts-wqy -l10n-zh-cn -l10n-zh-tw -help-zh-tw language-support-fonts-zh使用apt-get autoremove 来删除它们。将会安装下列额外的软件包:comerr-dev libaudio-dev libcupsys2-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcrypt11-devlibgl1-mesa-dev libglu1-mesa-dev libgnutls-dev libgnutlsxx13 libgpg-error-dev libice-dev libjpeg62-devlibkadm55 libkrb5-dev liblcms1-dev liblzo2-dev libmng-dev libopencdk10-dev libpng12-dev libpthread-stubs0libpthread-stubs0-dev libsm-dev libtasn1-3-dev libx11-dev libxau-dev libxcb-xlib0-dev libxcb1-devlibxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxmu-devlibxmu-headers libxrandr-dev libxrender-dev libxt-dev mesa-common-dev x11proto-core-dev x11proto-fixes-devx11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-devx11proto-xinerama-dev xtrans-dev建议安装的软件包:doc-base libgcrypt11-doc gnutls-bin gnutls-doc krb5-doc libqt3-i18n qt3-doc推荐安装的软件包:libqt3-compat-he

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论