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