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

Comparing App-Staticperl/README (file contents):
Revision 1.13 by root, Fri Mar 18 19:49:04 2011 UTC vs.
Revision 1.14 by root, Sun May 1 09:29:47 2011 UTC

7 staticperl configure # fetch and then configure perl 7 staticperl configure # fetch and then configure perl
8 staticperl build # configure and then build perl 8 staticperl build # configure and then build perl
9 staticperl install # build and then install perl 9 staticperl install # build and then install perl
10 staticperl clean # clean most intermediate files (restart at configure) 10 staticperl clean # clean most intermediate files (restart at configure)
11 staticperl distclean # delete everything installed by this script 11 staticperl distclean # delete everything installed by this script
12 staticperl perl ... # invoke the perlinterpreter
12 staticperl cpan # invoke CPAN shell 13 staticperl cpan # invoke CPAN shell
13 staticperl instmod path... # install unpacked modules 14 staticperl instmod path... # install unpacked modules
14 staticperl instcpan modulename... # install modules from CPAN 15 staticperl instcpan modulename... # install modules from CPAN
15 staticperl mkbundle <bundle-args...> # see documentation 16 staticperl mkbundle <bundle-args...> # see documentation
16 staticperl mkperl <bundle-args...> # see documentation 17 staticperl mkperl <bundle-args...> # see documentation
175 staticperl install 176 staticperl install
176 Wipes the perl installation directory (usually ~/.staticperl/perl) 177 Wipes the perl installation directory (usually ~/.staticperl/perl)
177 and installs the perl distribution, potentially after building it 178 and installs the perl distribution, potentially after building it
178 first. 179 first.
179 180
181 staticperl perl [args...]
182 Invokes the compiled perl interpreter with the given args. Basically
183 the same as starting perl directly (usually via
184 ~/.staticperl/bin/perl), but beats typing the path sometimes.
185
186 Example: check that the Gtk2 module is installed and loadable.
187
188 staticperl perl -MGtk2 -e0
189
180 staticperl cpan [args...] 190 staticperl cpan [args...]
181 Starts an interactive CPAN shell that you can use to install further 191 Starts an interactive CPAN shell that you can use to install further
182 modules. Installs the perl first if necessary, but apart from that, 192 modules. Installs the perl first if necessary, but apart from that,
183 no magic is involved: you could just as well run it manually via 193 no magic is involved: you could just as well run it manually via
184 ~/.staticperl/perl/bin/cpan. 194 ~/.staticperl/perl/bin/cpan.
824 these, and use a ~/.staticperlrc to override them. 834 these, and use a ~/.staticperlrc to override them.
825 835
826 Most of the variables override (or modify) the corresponding 836 Most of the variables override (or modify) the corresponding
827 Configure variable, except "PERL_CCFLAGS", which gets appended. 837 Configure variable, except "PERL_CCFLAGS", which gets appended.
828 838
839 You should have a look near the beginning of the staticperl script -
840 staticperl tries to default "PERL_OPTIMIZE" to some psace-saving
841 options suitable for newer gcc versions. For other compilers or
842 older versions you need to adjust these, for example, in your
843 ~/.staticperlrc.
844
829 Variables you probably *do not want* to override 845 Variables you probably *do not want* to override
830 "MAKE" 846 "MAKE"
831 The make command to use - default is "make". 847 The make command to use - default is "make".
832 848
833 "MKBUNDLE" 849 "MKBUNDLE"
1088 "AnyEvent/Util/uts46data.pl". 1104 "AnyEvent/Util/uts46data.pl".
1089 1105
1090 Or you can use "--usepacklists" and specify "-MAnyEvent" to include 1106 Or you can use "--usepacklists" and specify "-MAnyEvent" to include
1091 everything. 1107 everything.
1092 1108
1109 Cairo
1110 See Glib, same problem, same solution.
1111
1093 Carp 1112 Carp
1094 Carp had (in older versions of perl) a dependency on Carp::Heavy. As 1113 Carp had (in older versions of perl) a dependency on Carp::Heavy. As
1095 of perl 5.12.2 (maybe earlier), this dependency no longer exists. 1114 of perl 5.12.2 (maybe earlier), this dependency no longer exists.
1096 1115
1097 Config 1116 Config
1098 The perl -V switch (as well as many modules) needs Config, which in 1117 The perl -V switch (as well as many modules) needs Config, which in
1099 turn might need "Config_heavy.pl". Including the latter gives you 1118 turn might need "Config_heavy.pl". Including the latter gives you
1100 both. 1119 both.
1120
1121 Glib
1122 Glib literally requires Glib to be installed already to build - it
1123 tries to fake this by running Glib out of the build directory before
1124 being built. staticperl tries to work around this by forcing
1125 "MAN1PODS" and "MAN3PODS" to be empty via the "PERL_MM_OPT"
1126 environment variable.
1127
1128 Gtk2
1129 See Pango, same problems, same solution.
1130
1131 Pango
1132 In addition to the "MAN3PODS" problem in Glib, Pango also routes
1133 around ExtUtils::MakeMaker by compiling its files on its own.
1134 staticperl tries to patch ExtUtils::MM_Unix to route around Pango.
1101 1135
1102 Term::ReadLine::Perl 1136 Term::ReadLine::Perl
1103 Also needs Term::ReadLine::readline, or "--usepacklists". 1137 Also needs Term::ReadLine::readline, or "--usepacklists".
1104 1138
1105 URI URI implements schemes as separate modules - the generic URL scheme 1139 URI URI implements schemes as separate modules - the generic URL scheme

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines