Thread: DIY - KeK
View Single Post
Old 08-08-2012, 06:37 PM   #161
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@twobob: Yep, I don't set includedir, and am indeed overriding CPPFLAGS when building stuff that depends on ncurses, like htop .

includedir should default to ${prefix}/include, and prefix defaults to /usr, so just adapt that to your setup (AFAICT, /home/usr/include or /home/include, depending on how you set stuff up).

While we're talking about paths, I also don't set a custom terminfo path, because I'm not deploying the lib to my Kindle, I'm just using it to link stuff against it. So, to fix the crappy terminfo db available on the Kindle, I ship one with usbnetwork, and hardcode the TERMINFO env var to point to it in the apps I care about (htop).

Last edited by NiLuJe; 08-08-2012 at 06:46 PM.
NiLuJe is offline   Reply With Quote