Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
1  
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
add comment

closed as not a real question by manatwork, Renan, MaxMackie, 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.

2 Answers

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
add comment

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
add comment

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