[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.1 configuring Configuring AutoGen 7.2 installing Installing AutoGen
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AutoGen is configured and built using Libtool, Automake and Autoconf. Consequently, you can install it whereever you wish using the various `--prefix' options. To the various configuration options supplied by these tools, AutoGen adds two of its own:
However, doing this without disabling the server shell brings considerable risk. If you were to pass user input to a script that contained, say, the classic "``rm -rf /`'", you might have a problem. This configuration option will cause shell template commands to simply return the command string as the result. No mistakes. Much safer. Strongly recommended. The default is to have server shell scripting enabled.
Disabling the shell will have some build side effects, too.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
There are several files that get installed. The number depend
whether or not both shared and archive libraries are to be
installed. The following assumes that everything is installed
relative to $prefix
. You can, of course, use
configure
to place these files where you wish.
NB AutoGen does not contain any compiled-in path names.
All support directories are located via option processing,
the environment variable HOME
or finding the directory where
the executable came from.
The installed files are:
This program, library and supporting files can be installed with three commands:
However, you may wish to insert make check
before the make install
command.
If you do perform a make check
and there are any failures, you
will find the results in tests/FAILURES
. Needless to say, I
would be interested in seeing the contents of those files and any
associated messages. If you choose to go on and analyze one of these
failures, you will need to invoke the test scripts individually. You
may do so by specifying the test (or list of test) in the TESTS make
variable, thus:
gmake TESTS=test-name.test check |
I specify gmake
because most makes will not let you override
internal definitions with command line arguments. gmake
does.
All of the AutoGen tests are written to honor the contents of the VERBOSE environment variable. Normally, any commentary generated during a test run is discarded unless the VERBOSE environment variable is set. So, to see what is happening during the test, you might invoke the following with bash or ksh:
VERBOSE=1 gmake TESTS="for.test forcomma.test" check |
Or equivalently with csh:
env VERBOSE=1 gmake TESTS="for.test forcomma.test" check |
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |