Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I' running Fedora 15 (32-bit). But I can`t compile and run an ncurses program. Also, colours are not working in the terminal. What can I do to fix this?

share|improve this question

closed as not a real question by manatwork, Renan, n0pe, jasonwryan, warl0ck Apr 6 '13 at 1:15

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You need to give more information to explain your question. What ncurses program are you trying to build? How do you know you can't compile the program (Are you getting a specific error message?) – Johan Apr 5 '13 at 12:40

Do you have curses-devel packages installed?

sudo yum search curses

ncurses.x86_64 : Ncurses support utilities
ncurses-devel.i686 : Development files for the ncurses library
ncurses-devel.x86_64 : Development files for the ncurses library
ncurses-libs.i686 : Ncurses libraries
ncurses-libs.x86_64 : Ncurses libraries

If not install them :

sudo yum install -y ncurses ncurses-devel
share|improve this answer

You have to install the ncurses-devel package to be able to build programs using it.

Besides, Fedora 15 has discontinued support a year or so back, update.

share|improve this answer

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