Thread: DIY - KeK
View Single Post
Old 08-08-2012, 04:36 PM   #152
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@twobob: Check my ncurses stage (or a Gentoo ebuild) if you want to preserve ABI compatiblity with previous ncurses version (5.4), there's a bunch of flags to pass to configure to avoid mismatch in data types. Not sure which version of ncurses the K3 bundles, so it might not be critical (it might even be counter productive, depending on how the Kindle's ncurses was built), but I always build ncurses that way, just to be safe .

In fact, checking the Gentoo ebuild and configure --help are the two things I usually do first when trying to x-compile something new .

@twobob/knc1: You probably only really need to use a staged /mnt/us as the autotools prefix in very few cases, when stuff actually hardcode paths (OpenSSH, I'm looking at you), or inject an rpath at the linking stage.
Ah, but we build more than one thing at a time without cleaning out the target directory.

Who would want to download an archive of ed and get all the binaries of OpenOffice thrown in free-of-charge because we did not rm -fr /mnt/us/* between building different things?

There are a lot of advantages to "staging" package builds;

Even if it means you have to run an extra tar -xzf command yourself to get copies into the final destination.

For one thing, that means your testing/using the files from the same archive that you ship(ped).
knc1 is offline   Reply With Quote