When installing emacs completely from source to a custom prefix (no root), even after the compilation works, it says emacs: Cannot open terminfo database file . Adding the terminfo to different parts of the PATH/other environment variables doesn't work


Using strace (strace emacs), it only looks at stats ~/.terminfo and ~/share/terminfo. Copying a terminfo database (it was installed at a different location on my computer) to ~/.terminfo works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.