Extension Development :: gnu-utils



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).

Quote
Also term.h was needed for top, and I didn't find it in compile-3.3.5
- thanks for the feedback, I need to look at this, it should have come from compiling ncurses-5.3 and thus be in compile-3.3.5

Edit: Just checked - term.h is in /opt/compile-3.3.5/include/ncurses??

Quote
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).
- the latest version was posted about a week ago. This being said, the updates were to the apps used to compile, not to any libs/headers.

fyi, iirc PATH_MAX errors are due to the "include bug"
Agreed, but not fixed by
Code Sample
$ cp -a /opt/compile-3.3.5/include /opt
$ export CPPFLAGS=-I/opt/include
... for some reason

Quote
Edit: Just checked - term.h is in /opt/compile-3.3.5/include/ncurses
That would explain why it didnt work for me at the time, since I merely copied the [n]curses*.h files from gcc1-with-libs without realizing that 1) curses was already in compile-3.3.5, and 2) term.h was part of ncurses

Next Page...
original here.