mikshaw
  
 
 
  
 
 
Group: Members 
Posts: 4856 
Joined: July 2004 | 
  | 
Posted: April 24 2008,13:59 | 
   | 
 
 
  
I got it to find curses by adding -I/opt/compile-3.3.5/include/ncurses to the compiler flags. Unfortunately there seems to be other troubles with htop-0.7, causing another thing to break when I fixed one thing, and the first thing would break again when I fix the second thing. I had no trouble building htop-0.6.6, so I don't think it's the build environment.
  I fixed the pwdx error (also procps-3.2.7) by changing the PATH_MAX variable to 4096, as it was listed in param.h I never thought about simply including the header, which would have been the sensible solution =o)
  Also term.h was needed for top, and I didn't find it in compile-3.3.5
  Did you make a new version of the compile package? I wonder if that might account for our differences. I'm using one dated 2008/02/10 (seems to be the first release). 
  -------------- http://www.tldp.org/LDP/intro-linux/html/index.html
 |