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

Comparing cvsroot/App-Staticperl/staticperl.pod (file contents):
Revision 1.10 by root, Tue Dec 7 09:27:54 2010 UTC vs.
Revision 1.11 by root, Tue Dec 7 10:40:39 2010 UTC

441=item C<EMAIL> 441=item C<EMAIL>
442 442
443The e-mail address of the person who built this binary. Has no good 443The e-mail address of the person who built this binary. Has no good
444default, so should be specified by you. 444default, so should be specified by you.
445 445
446=item C<CPAN>
447
448The URL of the CPAN mirror to use (e.g. L<http://mirror.netcologne.de/cpan/>).
449
450=item C<EXTRA_MODULES>
451
452Additional modules installed during F<staticperl install>. Here you can
453set which modules you want have to installed from CPAN.
454
455Example: I really really need EV, AnyEvent, Coro and AnyEvent::AIO.
456
457 EXTRA_MODULES="EV AnyEvent Coro AnyEvent::AIO"
458
459Note that you can also use a C<postinstall> hook to achieve this, and
460more.
461
446=back 462=back
447 463
448=head4 Variables you might I<want> to override 464=head4 Variables you might I<want> to override
449 465
450=over 4 466=over 4
451 467
468=item C<STATICPERL>
469
470The directory where staticperl stores all its files
471(default: F<~/.staticperl>).
472
473=item C<PERL_MM_USE_DEFAULT>, C<EV_EXTRA_DEFS>, ...
474
475Usually set to C<1> to make modules "less inquisitive" during their
476installation, you can set any environment variable you want - some modules
477(such as L<Coro> or L<EV>) use environment variables for further tweaking.
478
452=item C<PERLVER> 479=item C<PERL_VERSION>
453 480
454The perl version to install - default is currently C<5.12.2>, but C<5.8.9> 481The perl version to install - default is currently C<5.12.2>, but C<5.8.9>
455is also a good choice (5.8.9 is much smaller than 5.12.2, while 5.10.1 is 482is also a good choice (5.8.9 is much smaller than 5.12.2, while 5.10.1 is
456about as big as 5.12.2). 483about as big as 5.12.2).
457 484
458=item C<CPAN>
459
460The URL of the CPAN mirror to use (e.g. L<http://mirror.netcologne.de/cpan/>).
461
462=item C<EXTRA_MODULES>
463
464Additional modules installed during F<staticperl install>. Here you can
465set which modules you want have to installed from CPAN.
466
467Example: I really really need EV, AnyEvent, Coro and IO::AIO.
468
469 EXTRA_MODULES="EV AnyEvent Coro IO::AIO"
470
471Note that you can also use a C<postinstall> hook to achieve this, and
472more.
473
474=item C<PERL_MM_USE_DEFAULT>, C<EV_EXTRA_DEFS>, ...
475
476Usually set to C<1> to make modules "less inquisitive" during their
477installation, you can set any environment variable you want - some modules
478(such as L<Coro> or L<EV>) use environment variables for further tweaking.
479
480=item C<STATICPERL>
481
482The directory where staticperl stores all its files
483(default: F<~/.staticperl>).
484
485=item C<PREFIX> 485=item C<PERL_PREFIX>
486 486
487The prefix where perl gets installed (default: F<$STATICPERL/perl>), 487The prefix where perl gets installed (default: F<$STATICPERL/perl>),
488i.e. where the F<bin> and F<lib> subdirectories will end up. 488i.e. where the F<bin> and F<lib> subdirectories will end up.
489 489
490=item C<PERL_CONFIGURE> 490=item C<PERL_CONFIGURE>
707If you use C<linuxthreads.old>, then you should also be aware that 707If you use C<linuxthreads.old>, then you should also be aware that
708uClibc shares C<errno> between all threads when statically linking. See 708uClibc shares C<errno> between all threads when statically linking. See
709L<http://lists.uclibc.org/pipermail/uclibc/2010-June/044157.html> for a 709L<http://lists.uclibc.org/pipermail/uclibc/2010-June/044157.html> for a
710workaround (And L<https://bugs.uclibc.org/2089> for discussion). 710workaround (And L<https://bugs.uclibc.org/2089> for discussion).
711 711
712C<ccache> support is also recommended, especially if you want to 712C<ccache> support is also recommended, especially if you want
713play around with buildroot options. Enabling the C<miniperl> package 713to play around with buildroot options. Enabling the C<miniperl>
714will probably enable all options required for a successful perl 714package will probably enable all options required for a successful
715build. F<staticperl> itself additionally needs either C<wget> or C<curl>. 715perl build. F<staticperl> itself additionally needs either C<wget>
716(recommended, for CPAN) or C<curl>.
716 717
717As for shells, busybox should provide all that is needed, but the default 718As for shells, busybox should provide all that is needed, but the default
718busybox configuration doesn't include F<comm> which is needed by perl - 719busybox configuration doesn't include F<comm> which is needed by perl -
719either make a custom busybox config, or compile coreutils. 720either make a custom busybox config, or compile coreutils.
720 721

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines