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 want to install a piece of software (rtorrent) from source to my home folder. It depends on ncurses, which is not installed. I've installed ncurses to my home folder by using the PREFIX option during the configuration step, but this doesn't seem to work when I try to do the same with rtorrent, as it keeps telling me that it requires ncurses.

The last few lines of output during make:

checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking for NcursesW wide-character library... no
checking for Ncurses library... no
checking for Curses library... no
configure: error: requires either NcursesW or Ncurses library

How can I get this to work?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Most configure scripts allow you to specify the location of libraries they use.

./configure ... --with-ncurses=some/path ...
share|improve this answer
    
Looks like it's --with-sysroot in the case of rtorrent. –  howardh May 28 '13 at 19:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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