Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 [3] 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: gnu-utils, is it meant to be only coreutils?< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 24 2008,13:59 QUOTE

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
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 24 2008,14:10 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 24 2008,17:38 QUOTE

fyi, iirc PATH_MAX errors are due to the "include bug"
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 24 2008,17:43 QUOTE

Agreed, but not fixed by
Code Sample
$ cp -a /opt/compile-3.3.5/include /opt
$ export CPPFLAGS=-I/opt/include
... for some reason
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 24 2008,21:32 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
24 replies since April 21 2008,07:00 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 [3] 4 5 >/
reply to topic new topic new poll
Quick Reply: gnu-utils

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code