| 1 |
This is the build instructions for autogen. If you're viewing it with |
| 2 |
Emacs, try doing Ctl-C Ctl-t and browsing through the outline headers. |
| 3 |
Ctl-C Ctl-a will unfold them again. |
| 4 |
|
| 5 |
** Building from a release tarball |
| 6 |
|
| 7 |
If you have downloaded a release tarball, |
| 8 |
|
| 9 |
configure; make; make install |
| 10 |
|
| 11 |
should do it. The usual configure options are available, notably inckuding |
| 12 |
the --prefix option. The generated Makefile inckludes both "install" and |
| 13 |
"uninstall" instructions. |
| 14 |
|
| 15 |
** Building from a repository clone |
| 16 |
|
| 17 |
To build from a repository clone, you must first have gperf (the GNU |
| 18 |
Perfect Hash Function Generator) and gnulib (the GNU |
| 19 |
Portability Library) installed. Then run |
| 20 |
|
| 21 |
bootstrap |
| 22 |
|
| 23 |
in the top-level directory. Note that for this to work, a precompiled |
| 24 |
autogen binary needs to be in your $PATH. |
| 25 |
|
| 26 |
[To be continued]] |
| 27 |
|
| 28 |
** Known issues |
| 29 |
|
| 30 |
1. Whatever's going on with local-install |
| 31 |
|
| 32 |
2. autogen requiring itself to build is a problem we need to solve. |
| 33 |
The standard way to solve this is check in its build products, |
| 34 |
then rebuild those only when the *.def or *tpl files change. Of |
| 35 |
course the INSTALL file needs to explicit about which stuff is |
| 36 |
generated |
| 37 |
|
| 38 |
3. I'm going to want an easy, documented way to produce a *static* |
| 39 |
build outogen so I can experiment with NTP builds without |
| 40 |
colliding with an older shared library. bkorb replies: |
| 41 |
'"cd $top_builddir/agen5 ; rm autogen ; make LDFLAGS=-static" |
| 42 |
will do what you ask.'. |
| 43 |
|
| 44 |
Local variables: |
| 45 |
mode: outline |
| 46 |
paragraph-separate: "[ ]*$" |
| 47 |
end: |