summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-30 14:13:15 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-30 14:13:15 +0000
commitfadf0ef5a0db10172f3e3a61b3264eea52d81887 (patch)
tree193ffbd593e5e95c5a944ed182db33760d1a5edb /INSTALL
parentef0d4f5b41e7ed6d5ae55c0781320636b64a3825 (diff)
downloadperl-fadf0ef5a0db10172f3e3a61b3264eea52d81887.tar.gz
Document the extras Configure option.
p4raw-id: //depot/perl@11504
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL24
1 files changed, 24 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index fae1823165..844537dab8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1412,6 +1412,30 @@ Study also how other non-UNIX ports have solved problems.
=back
+=head1 Adding extra modules to the build
+
+You can specify extra modules or module bundles to be fetched from the
+CPAN and installed as part of the Perl build. Either use the -Dextras=...
+command line parameter to Configure, for example like this:
+
+ Configure -Dextras="Compress::Zlib Bundle::LWP DBI"
+
+or answer first 'y' to the question 'Install any extra modules?' and
+then answer "Compress::Zlib Bundle::LWP DBI" to the 'Extras?' question.
+The module or the bundle names are as for the CPAN module 'install' command.
+
+Notice that because the CPAN module will be used to fetch the extra
+modules, you will need access to the CPAN, either via the Internet,
+or via a local copy such as a CD-ROM or a local CPAN mirror. If you
+do not, using the extra modules option will die horribly.
+
+Also notice that you yourself are responsible for satisfying any extra
+dependencies such as external headers or libraries BEFORE trying the build.
+For example: you will need to have the zlib.h header and the libz
+library installed for the Compress::Zlib, or the Foo database specific
+headers and libraries installed for the DBD::Foo module. The Configure
+process or the Perl build process will not help you with these.
+
=head1 suidperl
suidperl is an optional component, which is built or installed by default.