Solution for "erroropeningterminal" prompt when makemenuconfig
Source: Internet
Author: User
During makemenuconfig, the system prompts erropeningterminal solution. in Linux, the makemenuconfig or makeconfig commands are used to compile embedded systems. these commands usually use the ncurses library. if The ncurses library is not correctly set, possible... 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: www.2cto.com error opening terminal Linuxerror opening terminal xtermerror opening terminal vt100error opening terminal Vt102error opening terminal unknownerror opening terminal cgywin... solution: www.2cto.com 1. 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/
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.