ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/App-Staticperl/staticperl.pod
(Generate patch)

Comparing App-Staticperl/staticperl.pod (file contents):
Revision 1.38 by root, Fri Mar 18 19:49:04 2011 UTC vs.
Revision 1.39 by root, Sat Apr 2 11:00:34 2011 UTC

9 staticperl configure # fetch and then configure perl 9 staticperl configure # fetch and then configure perl
10 staticperl build # configure and then build perl 10 staticperl build # configure and then build perl
11 staticperl install # build and then install perl 11 staticperl install # build and then install perl
12 staticperl clean # clean most intermediate files (restart at configure) 12 staticperl clean # clean most intermediate files (restart at configure)
13 staticperl distclean # delete everything installed by this script 13 staticperl distclean # delete everything installed by this script
14 staticperl perl ... # invoke the perlinterpreter
14 staticperl cpan # invoke CPAN shell 15 staticperl cpan # invoke CPAN shell
15 staticperl instmod path... # install unpacked modules 16 staticperl instmod path... # install unpacked modules
16 staticperl instcpan modulename... # install modules from CPAN 17 staticperl instcpan modulename... # install modules from CPAN
17 staticperl mkbundle <bundle-args...> # see documentation 18 staticperl mkbundle <bundle-args...> # see documentation
18 staticperl mkperl <bundle-args...> # see documentation 19 staticperl mkperl <bundle-args...> # see documentation
185 186
186=item F<staticperl install> 187=item F<staticperl install>
187 188
188Wipes the perl installation directory (usually F<~/.staticperl/perl>) and 189Wipes the perl installation directory (usually F<~/.staticperl/perl>) and
189installs the perl distribution, potentially after building it first. 190installs the perl distribution, potentially after building it first.
191
192=item F<staticperl perl> [args...]
193
194Invokes the compiled perl interpreter with the given args. Basically the
195same as starting perl directly (usually via F<~/.staticperl/bin/perl>),
196but beats typing the path sometimes.
197
198Example: check that the Gtk2 module is installed and loadable.
199
200 staticperl perl -MGtk2 -e0
190 201
191=item F<staticperl cpan> [args...] 202=item F<staticperl cpan> [args...]
192 203
193Starts an interactive CPAN shell that you can use to install further 204Starts an interactive CPAN shell that you can use to install further
194modules. Installs the perl first if necessary, but apart from that, 205modules. Installs the perl first if necessary, but apart from that,
1222C<"AnyEvent/Util/uts46data.pl">. 1233C<"AnyEvent/Util/uts46data.pl">.
1223 1234
1224Or you can use C<--usepacklists> and specify C<-MAnyEvent> to include 1235Or you can use C<--usepacklists> and specify C<-MAnyEvent> to include
1225everything. 1236everything.
1226 1237
1238=item Cairo
1239
1240See Glib, same problem, same solution.
1241
1227=item Carp 1242=item Carp
1228 1243
1229Carp had (in older versions of perl) a dependency on L<Carp::Heavy>. As of 1244Carp had (in older versions of perl) a dependency on L<Carp::Heavy>. As of
1230perl 5.12.2 (maybe earlier), this dependency no longer exists. 1245perl 5.12.2 (maybe earlier), this dependency no longer exists.
1231 1246
1232=item Config 1247=item Config
1233 1248
1234The F<perl -V> switch (as well as many modules) needs L<Config>, which in 1249The F<perl -V> switch (as well as many modules) needs L<Config>, which in
1235turn might need L<"Config_heavy.pl">. Including the latter gives you 1250turn might need L<"Config_heavy.pl">. Including the latter gives you
1236both. 1251both.
1252
1253=item Glib
1254
1255Glib literally requires Glib to be installed already to build - it tries
1256to fake this by running Glib out of the build directory before being
1257built. F<staticperl> tries to work around this by forcing C<MAN1PODS> and
1258C<MAN3PODS> to be empty via the C<PERL_MM_OPT> environment variable.
1259
1260=item Gtk2
1261
1262See Pango, same problems, same solution.
1263
1264=item Pango
1265
1266In addition to the C<MAN3PODS> problem in Glib, Pango also routes around
1267L<ExtUtils::MakeMaker> by compiling its files on its own. F<staticperl>
1268tries to patch L<ExtUtils::MM_Unix> to route around Pango.
1237 1269
1238=item Term::ReadLine::Perl 1270=item Term::ReadLine::Perl
1239 1271
1240Also needs L<Term::ReadLine::readline>, or C<--usepacklists>. 1272Also needs L<Term::ReadLine::readline>, or C<--usepacklists>.
1241 1273

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines