On Sun, 2005-06-12 at 19:01 +0200, M. Fioretti wrote:
Thanks for the prompt answer. I will experiment as you suggest, but
what did you exactly mean with the "build in mach" bit above? I
understand the rest of your message, but that piece of sentence
confused me...
mach is a tool for building clean rpm's in a chrooted environment.
It will setup a basic chroot with minimal build environment, then grab
only the build requires specified in the spec file (and their
dependencies), and then build the rpm.
It's a great way to catch missing build requires, and make sure your
package only links against what you want it to link against.
Related question: is there anything I could read to understand a
priori, with the smallest number of trial and errors, what can be
unlinked? I am prepared to try them one at a time, if really needed,
but if there is a way around...
unpack the tarball - and run
./configure --help
You should get a list that gives you a good idea of what is optional and
what is not.
Sometimes the readme gives a bare minimum.
Also - google for Linux From Scratch - and BLFS
The BLFS guide (beyond linux from scratch) sometimes has exactly listed
what is required and what is optional.