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