krang_build - build a Krang binary distribution from source
To automatically determine the platform:
krang_build
Or specify it explicitely:
krang_build [platform]
This script builds Krang from source for the specified platform. In
most cases you must be running the platform for which you're building
(i.e. no cross-compilation).
Available platforms are the set of directories in platform/.
The script takes the following options:
- --no-apache
By default the script will build apache and mod_perl for you. This
option skips that step.
- --with-ssl
Give this option if you desire to build Apache with SSL.
During the build, dummy (Snakeoil) RSA certificates will be created and
copied to the cert and key files that Krang is expecting (as long as
certs/keys don't exist). Later when running krang, you should replace
these with a real cert and key from a trusted CA.
KRANG_ROOT/conf/ssl.crt/server.crt
KRANG_ROOT/conf/ssl.key/server.key
--with-openssl=/path/to/your/openssl
For most distros the Apache default should work. If you experience
problems building Apache with SSL support, you may give it the right
path to your OpenSSL install directory.
--module
Specify a specific CPAN module to build. The string you provide will
be checked as a substring against the distribution file names, so
DBD-mysql works, but DBD::mysql does not. You can specify this
option multiple times to build a specific set of modules.
--skip-module
Same as module above, but skips the specified modules and builds
everything else. The module and skip-module options are not
intended to be used together.
--no-modules
Similar to skip-module except that you don't have to specify the modules
to skip as all of them will be skipped. This cannot be using in conjunction
with module.
--rebuild
Build even if there is already an existing Krang build in this location.
This is useful for installing a new module into an existing build when
an add-on requires it.
--help
--man