From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6D754E00901; Sun, 9 Nov 2014 19:01:56 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (xerofoify[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.223.181 listed in list.dnswl.org] Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E66E8E008D7 for ; Sun, 9 Nov 2014 19:01:53 -0800 (PST) Received: by mail-ie0-f181.google.com with SMTP id rp18so8412784iec.40 for ; Sun, 09 Nov 2014 19:01:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=bbbFXhU5F2Hfuiz9OlUxJW3Fkfk2DxYbTR+ysCePt/M=; b=KYs7O/ci+2g7ZUfxtrPOojiv8NVa0OjDsJ4ypYNBxzadIzZ4u5QMsK6cV3ZcN0U8Vu NfZQHW7L0R3z1r3X5RiE6yfzFZtEfq/XQXBw6cFko0S57w+iDk6JwbBaBvQWTdheEcQ7 FDK0pFEcJF1wM0A3Z+OaYtZqBadQByMBDv8+2rrqzCS4ni5rw7Ac2seNTcLSkNk3DSvt V38OzdTqCBwaT/Fhny4lTQxPXNAPk9JcW/0V5C4D/oAV/d7C0YmrJjlLCU0JC/9ux3w3 S1b31X5/FsAsEII3bqPuaSoEYXSbth6aaZiuNcHt4eIl8KFfumcuFiSkilxCLpb2OfRT jRyQ== X-Received: by 10.50.79.166 with SMTP id k6mr21802133igx.0.1415588512483; Sun, 09 Nov 2014 19:01:52 -0800 (PST) Received: from [192.168.0.50] (CPE0026f3330aca-CM0026f3330ac6.cpe.net.cable.rogers.com. [99.231.92.7]) by mx.google.com with ESMTPSA id 124sm3541225ioe.12.2014.11.09.19.01.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Nov 2014 19:01:52 -0800 (PST) Message-ID: <54602A9F.1040907@gmail.com> Date: Sun, 09 Nov 2014 22:01:51 -0500 From: nick User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Nick D'Ademo References: <54601032.8020203@gmail.com> <546013FD.5080802@gmail.com> <5460169F.8090001@gmail.com> <546018F8.2030201@gmail.com> <54601BC4.1080409@gmail.com> In-Reply-To: Cc: Yocto list discussion Subject: Re: Unable to find the ncurses libraries when running menuconfig X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2014 03:01:56 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Try downloading a stock kernel for kernel.org and extract it in your home directory and run make menuconfig in the root of the kernel source tree, if this works then I am assuming either ncurses or your machine conf is wrong somewhere. Cheers Nick On 14-11-09 09:51 PM, Nick D'Ademo wrote: > Hi Nick, > > I removed build/tmp/ and performed a rebuild - I'm still experiencing the > same error message unfortunately. > > > On Mon, Nov 10, 2014 at 12:58 PM, nick wrote: > >> Seems to after reading and doing some research a build issue with multiple >> jobs or try running rm -r tmp in your >> build and then rebuild as it may be an issue with out of date temp files. >> Cheers Nick >> >> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >>> Thanks for trying that out Nick. >>> >>> Issue is present on both 3.14 and 3.17 for me. >>> All paths in the require lines are correct too. >>> >>> Any other ideas? >>> >>> >>> >>> On Mon, Nov 10, 2014 at 12:46 PM, nick wrote: >>> >>>> I tried bitbake linux-yocto -c menuconfig on my own system running the >>>> same distro and it seems to my >>>> default use kernel 3.14 not 3.17 otherwise this seems be fine from my >>>> understanding. Also check all the >>>> paths in your require lines as there may be an issue with your builds >> and >>>> the path set up by these files >>>> that you are linking to for your kernel build. >>>> Nick >>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>>>> Thanks Nick. >>>>> >>>>> Machine conf is as follows (it's actually nearly identical to nuc.conf >> - >>>>> however, BT support, multilib, and preferred providers have been >> added): >>>>> >>>>> #@TYPE: Machine >>>>> #@NAME: chiefriver >>>>> >>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE >>>>> >>>>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE >>>>> # i.e. Ivy Bridge + Panther Point >>>>> >>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>>>> MACHINE_FEATURES += "intel-ucode" >>>>> >>>>> require conf/machine/include/meta-intel.inc >>>>> require conf/machine/include/intel-corei7-64-common.inc >>>>> require conf/machine/include/intel-common-pkgarch.inc >>>>> require multilib.conf >>>>> >>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>>>> >>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >>>>> ${XSERVER_X86_EXT} \ >>>>> ${XSERVER_X86_I965} \ >>>>> " >>>>> >>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" >>>>> >>>>> # disable the serial port configuration >>>>> SERIAL_CONSOLE = "" >>>>> >>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>>>> >>>>> >>>>> >>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick wrote: >>>>> >>>>>> Hey Nick, >>>>>> This seems to then be an issue with incorrect paths or build >> information >>>>>> in your nuc.conf >>>>>> as the most likely culprit. If you can post your machine's conf file I >>>>>> will be glad to see >>>>>> if there are any issues I can spot. >>>>>> Nick >>>>>> >>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>>>> 1) source oe-init-build-env is run before building. >>>>>>> 2) We are actually using a custom machine .conf based on nuc.conf, so >>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with "nuc" >> in >>>>>> this >>>>>>> post to avoid confusion. >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick wrote: >>>>>>> >>>>>>>> Do you run source oe-init-build-env before building and why is your >>>>>> machine >>>>>>>> set to nuc seems this may be an issue? >>>>>>>> Nick >>>>>>>> >>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>>>> Thanks for the quick reply Nick. >>>>>>>>> >>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: >>>>>>>>> >>>>>>>>> sudo apt-get install libncurses5-dev >>>>>>>>> Reading package lists... Done >>>>>>>>> Building dependency tree >>>>>>>>> Reading state information... Done >>>>>>>>> libncurses5-dev is already the newest version. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick >> wrote: >>>>>>>>> >>>>>>>>>> Check to see if you actuality have it installed on your host >> system >>>>>> for >>>>>>>>>> your package manager. >>>>>>>>>> The library for ncurses for compiling the kernel is different >> based >>>> on >>>>>>>>>> your distro, check >>>>>>>>>> your distro's installer and install the correct ncurses package >>>> first. >>>>>>>> If >>>>>>>>>> this is still an >>>>>>>>>> issue please reply with a newer error message. >>>>>>>>>> Cheers Nick >>>>>>>>>> >>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>>>> Getting a strange error when attempting to configure the Yocto >>>> Linux >>>>>>>>>> kernel >>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>>>> >>>>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>>>> Much appreciated. >>>>>>>>>>> >>>>>>>>>>> Build Configuration: >>>>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>>>> MACHINE = "nuc" >>>>>>>>>>> DISTRO = "poky" >>>>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>>>> TARGET_FPU = "" >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *make[1]: Entering directory >>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>>>> GEN ./Makefile *** 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[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: >> *** >>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** >>>>>>>> [__sub-make] >>>>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >