About Kernel 4.16 compilation error

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I install Ubuntu 16.04 on my new laptop Lenovo Ideapad 320. In that I try to compile new kernel version 4.16 while doing make menuconfig this error's are shown:



Unable to find the ncurses libraries or the required header files.
'make menuconfig' requires the ncurses libraries.

Install ncurses (ncurses-devel or libncurses-dev
depending on your distribution) and try again.

scripts/kconfig/Makefile:206: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:514: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2


After the I search through internet and I found that Ncurses want to install. Then I install that also



sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev


But result is same that is error..







share|improve this question






















  • Instead of compiling kernel by yourself you can install precomiled mainline kernel (see this link). If you really need to compile your kernel - see wiki.ubuntu.com/Kernel/BuildYourOwnKernel .
    – N0rbert
    Apr 21 at 17:09















up vote
0
down vote

favorite












I install Ubuntu 16.04 on my new laptop Lenovo Ideapad 320. In that I try to compile new kernel version 4.16 while doing make menuconfig this error's are shown:



Unable to find the ncurses libraries or the required header files.
'make menuconfig' requires the ncurses libraries.

Install ncurses (ncurses-devel or libncurses-dev
depending on your distribution) and try again.

scripts/kconfig/Makefile:206: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:514: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2


After the I search through internet and I found that Ncurses want to install. Then I install that also



sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev


But result is same that is error..







share|improve this question






















  • Instead of compiling kernel by yourself you can install precomiled mainline kernel (see this link). If you really need to compile your kernel - see wiki.ubuntu.com/Kernel/BuildYourOwnKernel .
    – N0rbert
    Apr 21 at 17:09













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I install Ubuntu 16.04 on my new laptop Lenovo Ideapad 320. In that I try to compile new kernel version 4.16 while doing make menuconfig this error's are shown:



Unable to find the ncurses libraries or the required header files.
'make menuconfig' requires the ncurses libraries.

Install ncurses (ncurses-devel or libncurses-dev
depending on your distribution) and try again.

scripts/kconfig/Makefile:206: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:514: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2


After the I search through internet and I found that Ncurses want to install. Then I install that also



sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev


But result is same that is error..







share|improve this question














I install Ubuntu 16.04 on my new laptop Lenovo Ideapad 320. In that I try to compile new kernel version 4.16 while doing make menuconfig this error's are shown:



Unable to find the ncurses libraries or the required header files.
'make menuconfig' requires the ncurses libraries.

Install ncurses (ncurses-devel or libncurses-dev
depending on your distribution) and try again.

scripts/kconfig/Makefile:206: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:514: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2


After the I search through internet and I found that Ncurses want to install. Then I install that also



sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev


But result is same that is error..









share|improve this question













share|improve this question




share|improve this question








edited Apr 21 at 14:41









Vlad Spirin

3203417




3203417










asked Apr 21 at 13:30









Sriram Dhivakar

41




41











  • Instead of compiling kernel by yourself you can install precomiled mainline kernel (see this link). If you really need to compile your kernel - see wiki.ubuntu.com/Kernel/BuildYourOwnKernel .
    – N0rbert
    Apr 21 at 17:09

















  • Instead of compiling kernel by yourself you can install precomiled mainline kernel (see this link). If you really need to compile your kernel - see wiki.ubuntu.com/Kernel/BuildYourOwnKernel .
    – N0rbert
    Apr 21 at 17:09
















Instead of compiling kernel by yourself you can install precomiled mainline kernel (see this link). If you really need to compile your kernel - see wiki.ubuntu.com/Kernel/BuildYourOwnKernel .
– N0rbert
Apr 21 at 17:09





Instead of compiling kernel by yourself you can install precomiled mainline kernel (see this link). If you really need to compile your kernel - see wiki.ubuntu.com/Kernel/BuildYourOwnKernel .
– N0rbert
Apr 21 at 17:09











1 Answer
1






active

oldest

votes

















up vote
0
down vote













Thank you for your kind reply Vlad spirin



ya it also works



Then i found the solution for my compilation process



"sudo apt-get install --reinstall bison libbison-dev flex libfl-dev"



if i install the above package it work's fine.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026945%2fabout-kernel-4-16-compilation-error%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Thank you for your kind reply Vlad spirin



    ya it also works



    Then i found the solution for my compilation process



    "sudo apt-get install --reinstall bison libbison-dev flex libfl-dev"



    if i install the above package it work's fine.






    share|improve this answer
























      up vote
      0
      down vote













      Thank you for your kind reply Vlad spirin



      ya it also works



      Then i found the solution for my compilation process



      "sudo apt-get install --reinstall bison libbison-dev flex libfl-dev"



      if i install the above package it work's fine.






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        Thank you for your kind reply Vlad spirin



        ya it also works



        Then i found the solution for my compilation process



        "sudo apt-get install --reinstall bison libbison-dev flex libfl-dev"



        if i install the above package it work's fine.






        share|improve this answer












        Thank you for your kind reply Vlad spirin



        ya it also works



        Then i found the solution for my compilation process



        "sudo apt-get install --reinstall bison libbison-dev flex libfl-dev"



        if i install the above package it work's fine.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 22 at 7:31









        Sriram Dhivakar

        41




        41



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026945%2fabout-kernel-4-16-compilation-error%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error