install screen from source code












5














I tried to install the screen command on RedHat from source code. But when I run the configure, it returned



configure: error: !!! no tgetent - no screen


So does anyone know how to fix it?










share|improve this question















migrated from stackoverflow.com Nov 27 '13 at 21:40


This question came from our site for professional and enthusiast programmers.















  • Google Fu says this: linuxsolved.com/forums/index.php?topic=234.0 (missing termcap)
    – Wrikken
    Nov 27 '13 at 21:25










  • I have tried the method. It didn't work.
    – Negelis
    Nov 27 '13 at 21:39






  • 2




    I believe you need package ncurses-devel.
    – week
    Nov 27 '13 at 23:09
















5














I tried to install the screen command on RedHat from source code. But when I run the configure, it returned



configure: error: !!! no tgetent - no screen


So does anyone know how to fix it?










share|improve this question















migrated from stackoverflow.com Nov 27 '13 at 21:40


This question came from our site for professional and enthusiast programmers.















  • Google Fu says this: linuxsolved.com/forums/index.php?topic=234.0 (missing termcap)
    – Wrikken
    Nov 27 '13 at 21:25










  • I have tried the method. It didn't work.
    – Negelis
    Nov 27 '13 at 21:39






  • 2




    I believe you need package ncurses-devel.
    – week
    Nov 27 '13 at 23:09














5












5








5







I tried to install the screen command on RedHat from source code. But when I run the configure, it returned



configure: error: !!! no tgetent - no screen


So does anyone know how to fix it?










share|improve this question















I tried to install the screen command on RedHat from source code. But when I run the configure, it returned



configure: error: !!! no tgetent - no screen


So does anyone know how to fix it?







bash gnu-screen redhat-enterprise-linux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 18 '16 at 0:04









fixer1234

17.9k144681




17.9k144681










asked Nov 27 '13 at 21:23









Negelis

2613




2613




migrated from stackoverflow.com Nov 27 '13 at 21:40


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Nov 27 '13 at 21:40


This question came from our site for professional and enthusiast programmers.














  • Google Fu says this: linuxsolved.com/forums/index.php?topic=234.0 (missing termcap)
    – Wrikken
    Nov 27 '13 at 21:25










  • I have tried the method. It didn't work.
    – Negelis
    Nov 27 '13 at 21:39






  • 2




    I believe you need package ncurses-devel.
    – week
    Nov 27 '13 at 23:09


















  • Google Fu says this: linuxsolved.com/forums/index.php?topic=234.0 (missing termcap)
    – Wrikken
    Nov 27 '13 at 21:25










  • I have tried the method. It didn't work.
    – Negelis
    Nov 27 '13 at 21:39






  • 2




    I believe you need package ncurses-devel.
    – week
    Nov 27 '13 at 23:09
















Google Fu says this: linuxsolved.com/forums/index.php?topic=234.0 (missing termcap)
– Wrikken
Nov 27 '13 at 21:25




Google Fu says this: linuxsolved.com/forums/index.php?topic=234.0 (missing termcap)
– Wrikken
Nov 27 '13 at 21:25












I have tried the method. It didn't work.
– Negelis
Nov 27 '13 at 21:39




I have tried the method. It didn't work.
– Negelis
Nov 27 '13 at 21:39




2




2




I believe you need package ncurses-devel.
– week
Nov 27 '13 at 23:09




I believe you need package ncurses-devel.
– week
Nov 27 '13 at 23:09










4 Answers
4






active

oldest

votes


















5














You should install package ncurses-devel -- Should be done via sudo yum install ncurses-devel






share|improve this answer





























    1














    I installed libncurses5-dev on Ubuntu 14.04 to fix the issue - as I received the same error message.



    I ran sudo rm -fR autom4te.cache in the same directory, Makefile was then created, then smooth sailing.






    share|improve this answer































      0














      This answer suits well for those needing to install ncurses also from source, also in a local folder:




      • Download ncurses: wget "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz"


      • untar tar zvxf ncurses-6.1.tar.gz and enter folder



      • Install as in:



        ./configure --prefix=$HOME/local
        make
        make install




      • before making the same for screen, export this as:



        export LDFLAGS='-L$HOME/local/lib'
        export CPPFLAGS='-I$HOME/local/include'




      • go to screen untar folder



        ./configure --prefix=$HOME/local
        make install &&
        install -m 644 $HOME/screen-4.6.2/etc/etcscreenrc $HOME/local/etc/screenrc




      Related to: https://unix.stackexchange.com/questions/348184/can-not-find-screen-and-how-to-install-it-without-network-and-administration



      Source: http://www.linuxfromscratch.org/blfs/view/svn/general/screen.html






      share|improve this answer































        -1














        You need to install libncurses5-dev and then try your configure -> make process again.



        Exec this command:



        sudo apt-get install libncurses5-dev





        share|improve this answer























        • Although I believe your answer is correct, you should include some more information on why your answer solves the question. Like why you suggest to install that specific package etc.
          – Mogget
          Dec 17 '16 at 21:38











        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "3"
        };
        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',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f681490%2finstall-screen-from-source-code%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5














        You should install package ncurses-devel -- Should be done via sudo yum install ncurses-devel






        share|improve this answer


























          5














          You should install package ncurses-devel -- Should be done via sudo yum install ncurses-devel






          share|improve this answer
























            5












            5








            5






            You should install package ncurses-devel -- Should be done via sudo yum install ncurses-devel






            share|improve this answer












            You should install package ncurses-devel -- Should be done via sudo yum install ncurses-devel







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jul 12 '14 at 23:28









            frlan

            583426




            583426

























                1














                I installed libncurses5-dev on Ubuntu 14.04 to fix the issue - as I received the same error message.



                I ran sudo rm -fR autom4te.cache in the same directory, Makefile was then created, then smooth sailing.






                share|improve this answer




























                  1














                  I installed libncurses5-dev on Ubuntu 14.04 to fix the issue - as I received the same error message.



                  I ran sudo rm -fR autom4te.cache in the same directory, Makefile was then created, then smooth sailing.






                  share|improve this answer


























                    1












                    1








                    1






                    I installed libncurses5-dev on Ubuntu 14.04 to fix the issue - as I received the same error message.



                    I ran sudo rm -fR autom4te.cache in the same directory, Makefile was then created, then smooth sailing.






                    share|improve this answer














                    I installed libncurses5-dev on Ubuntu 14.04 to fix the issue - as I received the same error message.



                    I ran sudo rm -fR autom4te.cache in the same directory, Makefile was then created, then smooth sailing.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Sep 17 '15 at 20:48

























                    answered Sep 17 '15 at 16:01









                    j scarp

                    114




                    114























                        0














                        This answer suits well for those needing to install ncurses also from source, also in a local folder:




                        • Download ncurses: wget "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz"


                        • untar tar zvxf ncurses-6.1.tar.gz and enter folder



                        • Install as in:



                          ./configure --prefix=$HOME/local
                          make
                          make install




                        • before making the same for screen, export this as:



                          export LDFLAGS='-L$HOME/local/lib'
                          export CPPFLAGS='-I$HOME/local/include'




                        • go to screen untar folder



                          ./configure --prefix=$HOME/local
                          make install &&
                          install -m 644 $HOME/screen-4.6.2/etc/etcscreenrc $HOME/local/etc/screenrc




                        Related to: https://unix.stackexchange.com/questions/348184/can-not-find-screen-and-how-to-install-it-without-network-and-administration



                        Source: http://www.linuxfromscratch.org/blfs/view/svn/general/screen.html






                        share|improve this answer




























                          0














                          This answer suits well for those needing to install ncurses also from source, also in a local folder:




                          • Download ncurses: wget "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz"


                          • untar tar zvxf ncurses-6.1.tar.gz and enter folder



                          • Install as in:



                            ./configure --prefix=$HOME/local
                            make
                            make install




                          • before making the same for screen, export this as:



                            export LDFLAGS='-L$HOME/local/lib'
                            export CPPFLAGS='-I$HOME/local/include'




                          • go to screen untar folder



                            ./configure --prefix=$HOME/local
                            make install &&
                            install -m 644 $HOME/screen-4.6.2/etc/etcscreenrc $HOME/local/etc/screenrc




                          Related to: https://unix.stackexchange.com/questions/348184/can-not-find-screen-and-how-to-install-it-without-network-and-administration



                          Source: http://www.linuxfromscratch.org/blfs/view/svn/general/screen.html






                          share|improve this answer


























                            0












                            0








                            0






                            This answer suits well for those needing to install ncurses also from source, also in a local folder:




                            • Download ncurses: wget "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz"


                            • untar tar zvxf ncurses-6.1.tar.gz and enter folder



                            • Install as in:



                              ./configure --prefix=$HOME/local
                              make
                              make install




                            • before making the same for screen, export this as:



                              export LDFLAGS='-L$HOME/local/lib'
                              export CPPFLAGS='-I$HOME/local/include'




                            • go to screen untar folder



                              ./configure --prefix=$HOME/local
                              make install &&
                              install -m 644 $HOME/screen-4.6.2/etc/etcscreenrc $HOME/local/etc/screenrc




                            Related to: https://unix.stackexchange.com/questions/348184/can-not-find-screen-and-how-to-install-it-without-network-and-administration



                            Source: http://www.linuxfromscratch.org/blfs/view/svn/general/screen.html






                            share|improve this answer














                            This answer suits well for those needing to install ncurses also from source, also in a local folder:




                            • Download ncurses: wget "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz"


                            • untar tar zvxf ncurses-6.1.tar.gz and enter folder



                            • Install as in:



                              ./configure --prefix=$HOME/local
                              make
                              make install




                            • before making the same for screen, export this as:



                              export LDFLAGS='-L$HOME/local/lib'
                              export CPPFLAGS='-I$HOME/local/include'




                            • go to screen untar folder



                              ./configure --prefix=$HOME/local
                              make install &&
                              install -m 644 $HOME/screen-4.6.2/etc/etcscreenrc $HOME/local/etc/screenrc




                            Related to: https://unix.stackexchange.com/questions/348184/can-not-find-screen-and-how-to-install-it-without-network-and-administration



                            Source: http://www.linuxfromscratch.org/blfs/view/svn/general/screen.html







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Dec 8 '18 at 18:58

























                            answered Dec 8 '18 at 18:42









                            Ferroao

                            1014




                            1014























                                -1














                                You need to install libncurses5-dev and then try your configure -> make process again.



                                Exec this command:



                                sudo apt-get install libncurses5-dev





                                share|improve this answer























                                • Although I believe your answer is correct, you should include some more information on why your answer solves the question. Like why you suggest to install that specific package etc.
                                  – Mogget
                                  Dec 17 '16 at 21:38
















                                -1














                                You need to install libncurses5-dev and then try your configure -> make process again.



                                Exec this command:



                                sudo apt-get install libncurses5-dev





                                share|improve this answer























                                • Although I believe your answer is correct, you should include some more information on why your answer solves the question. Like why you suggest to install that specific package etc.
                                  – Mogget
                                  Dec 17 '16 at 21:38














                                -1












                                -1








                                -1






                                You need to install libncurses5-dev and then try your configure -> make process again.



                                Exec this command:



                                sudo apt-get install libncurses5-dev





                                share|improve this answer














                                You need to install libncurses5-dev and then try your configure -> make process again.



                                Exec this command:



                                sudo apt-get install libncurses5-dev






                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Dec 13 '16 at 17:25









                                Excellll

                                11.1k74162




                                11.1k74162










                                answered Dec 13 '16 at 16:35









                                Jose Luis Garcia

                                1




                                1












                                • Although I believe your answer is correct, you should include some more information on why your answer solves the question. Like why you suggest to install that specific package etc.
                                  – Mogget
                                  Dec 17 '16 at 21:38


















                                • Although I believe your answer is correct, you should include some more information on why your answer solves the question. Like why you suggest to install that specific package etc.
                                  – Mogget
                                  Dec 17 '16 at 21:38
















                                Although I believe your answer is correct, you should include some more information on why your answer solves the question. Like why you suggest to install that specific package etc.
                                – Mogget
                                Dec 17 '16 at 21:38




                                Although I believe your answer is correct, you should include some more information on why your answer solves the question. Like why you suggest to install that specific package etc.
                                – Mogget
                                Dec 17 '16 at 21:38


















                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Super User!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f681490%2finstall-screen-from-source-code%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Список кардиналов, возведённых папой римским Каликстом III

                                Deduzione

                                Mysql.sock missing - “Can't connect to local MySQL server through socket”