[yocto] Unable to find the ncurses libraries when running menuconfig
Bob Cochran
yocto at mindchasers.com
Sun Nov 9 17:31:54 PST 2014
On 11/09/2014 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.
Oh boy, I've seen this before. I seem to remember this being caused by
a problem with the path setup or something in the environment and maybe
not being able to find the scripts folder or reaching a wrong folder
first.
How are you setting up your environment before invoking bitbake?
Were you using the ADT? If so check out cross compiling the kernel
here:
http://www.openembedded.org/wiki/SDK/Toolchain/Application_Developer_Toolkit
>
>
> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify at gmail.com
> <mailto:xerofoify at gmail.com>> 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... *
> >
> >
> >
>
>
>
>
More information about the yocto
mailing list