How to solve "error opening terminal" prompt when making menuconfig

Source: Internet
Author: User

Make menuconfig prompts "error opening terminal" solution. In Linux, make menuconfig or make config commands are used to compile embedded systems. These commands usually use the ncurses library, if the ncurses library is not correctly installed, the following error message may appear: Internal error opening terminal Linuxerror opening terminal xtermerror opening terminal vt100error opening terminal vt102error opening terminal unknownerror opening terminal cgywin... solution: www.2cto.com 1. first, check whether the ncurses library is correctly installed. On debian and Ubuntu, you can use dpkg-l | grep ncurses to check whether the ncurses library is installed. 2. If ncurses has been installed, check whether the two environment variables "TERM" and "TERMINFO" have been set correctly. If not set correctly, you must set it to the correct value. $ Echo $ TERM $ echo $ TERMINFO the TERMINFO path should be set to the terminfo path, such as/usr/share/terminfo or/lib/terminfo. Run the following command to view the storage location of terminfo: $ whereis terminfoterminfo: /etc/terminfo/lib/terminfo/usr/share/man/man5/terminfo.5.gz check whether terminal information files are saved in the terminfo Directory: usually divided into, b, c, d... z. These letter directories contain the term information starting with the letter. For example, vt100 is placed in the "v" directory. The required term must contain the term information in the corresponding directory. After confirming the information, you can set the TERM and TERMINFO information: www.2cto.com $ export TERM = vt100 $ export TERMINFO =/usr/share/terminfo the above settings must ensure that/usr/share/terminfo contains the term information, and/usr/share/terminfo/v/vt100 exists. The setting of TERM may need to be set to Linux, vt100-putty and other different terms. Linux is usually used in the Linux console, vt100-putty as the name suggests is using putty remote login vt100 terminal. The following are the values of the two environment variables "TERM" and "TERMINFO" after the problem is solved in Ubuntu12.10. $ Echo $ TERMxterm $ echo $ TERMINFO/lib/terminfo/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.