|
Packit Service |
96b5d3 |
This is the build instructions for autogen. If you're viewing it with
|
|
Packit Service |
96b5d3 |
Emacs, try doing Ctl-C Ctl-t and browsing through the outline headers.
|
|
Packit Service |
96b5d3 |
Ctl-C Ctl-a will unfold them again.
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
** Building from a release tarball
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
If you have downloaded a release tarball,
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
configure; make; make install
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
should do it. The usual configure options are available, notably inckuding
|
|
Packit Service |
96b5d3 |
the --prefix option. The generated Makefile inckludes both "install" and
|
|
Packit Service |
96b5d3 |
"uninstall" instructions.
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
** Building from a repository clone
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
To build from a repository clone, you must first have gperf (the GNU
|
|
Packit Service |
96b5d3 |
Perfect Hash Function Generator) and gnulib (the GNU
|
|
Packit Service |
96b5d3 |
Portability Library) installed. Then run
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
bootstrap
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
in the top-level directory. Note that for this to work, a precompiled
|
|
Packit Service |
96b5d3 |
autogen binary needs to be in your $PATH.
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
[To be continued]]
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
** Known issues
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
1. Whatever's going on with local-install
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
2. autogen requiring itself to build is a problem we need to solve.
|
|
Packit Service |
96b5d3 |
The standard way to solve this is check in its build products,
|
|
Packit Service |
96b5d3 |
then rebuild those only when the *.def or *tpl files change. Of
|
|
Packit Service |
96b5d3 |
course the INSTALL file needs to explicit about which stuff is
|
|
Packit Service |
96b5d3 |
generated
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
3. I'm going to want an easy, documented way to produce a *static*
|
|
Packit Service |
96b5d3 |
build outogen so I can experiment with NTP builds without
|
|
Packit Service |
96b5d3 |
colliding with an older shared library. bkorb replies:
|
|
Packit Service |
96b5d3 |
'"cd $top_builddir/agen5 ; rm autogen ; make LDFLAGS=-static"
|
|
Packit Service |
96b5d3 |
will do what you ask.'.
|
|
Packit Service |
96b5d3 |
|
|
Packit Service |
96b5d3 |
Local variables:
|
|
Packit Service |
96b5d3 |
mode: outline
|
|
Packit Service |
96b5d3 |
paragraph-separate: "[ ?]*$"
|
|
Packit Service |
96b5d3 |
end:
|