When in a project there is everything that "ltmain", "aclocal.m4" and another "autogen.sh", it causes discomfort:
./autogen.shworks slowly. ./configureworks slowly../configurefails. I am fixing it and he is complaining about something like the following. Slowly .- Makefiles - BIG. configure script - BIG. Even
configure.acusually big and incomprehensible. - Makefile.am and configure.ac are full of mostly mysterious variables. How does this infer the rules?
- I suddenly realized that I only copied the libtool script shell, and the actual binary is in
.depsor .libsor something else. - In general, if something is broken, I feel insecure what to do, and error messages are usually confusing.
- Finally, even a small project is at least 50 kb in the archive when it has an autotool configure script (when the source code may be 5kb in the archive).
Each problem with it adds more and more hatred points to the {auto, lib} tool.
How to get along well with these things? Is there a short tutorial (not a long “introduction to the GNU Build System” or what it's called), as well as a comprehensive link on how to create, fix, and debug these things?
source
share