Erinevus lehekülje "Perl-5.12.3" redaktsioonide vahel
(Uus lehekülg: 'The Perl package contains the Practical Extraction and Report Language. Umbkaudne ehitamise aeg: 0.8 SBU Vajaminev kettaruum: 106 MB '''5.28.1. Perli paigaldamine''' First apply ...') |
|||
10. rida: | 10. rida: | ||
First apply the following patch to adapt some hard-wired paths to the C library: | First apply the following patch to adapt some hard-wired paths to the C library: | ||
− | Esimesena tuleb lisada | + | Esimesena tuleb lisada paik, et kohandada mõningad hard-wired C teegi rajad sobivaks: |
patch -Np1 -i ../perl-5.12.3-libc-1.patch | patch -Np1 -i ../perl-5.12.3-libc-1.patch | ||
Prepare Perl for compilation (make sure to get the 'Data/Dumper Fcntl IO' part of the command correct—they are all letters): | Prepare Perl for compilation (make sure to get the 'Data/Dumper Fcntl IO' part of the command correct—they are all letters): | ||
+ | |||
+ | Valmistame perli kompileerimiseks ette (kindlastu tuleb jälgida, et 'Data/Dumper Fcntl IO' lõik saaks korrektselt kirjutatud): | ||
sh Configure -des -Dprefix=/tools \ | sh Configure -des -Dprefix=/tools \ | ||
22. rida: | 24. rida: | ||
*-Dstatic_ext='Data/Dumper Fcntl IO' | *-Dstatic_ext='Data/Dumper Fcntl IO' | ||
+ | |||
This tells Perl to build the minimum set of static extensions needed for installing and testing the Coreutils and Glibc packages in the next chapter. | This tells Perl to build the minimum set of static extensions needed for installing and testing the Coreutils and Glibc packages in the next chapter. | ||
+ | |||
Only a few of the utilities contained in this package, and one of its libraries, need to be built: | Only a few of the utilities contained in this package, and one of its libraries, need to be built: | ||
28. rida: | 32. rida: | ||
Although Perl comes with a test suite, it is not recommended to run it at this point. Only part of Perl was built and running make test now will cause the rest of Perl to be built as well, which is unnecessary at this point. The test suite can be run in the next chapter if desired. | Although Perl comes with a test suite, it is not recommended to run it at this point. Only part of Perl was built and running make test now will cause the rest of Perl to be built as well, which is unnecessary at this point. The test suite can be run in the next chapter if desired. | ||
+ | |||
+ | Kuigi Perl sisaldab testvahendeid, pole nende käivitamine hetke soovitatav. Peamiseks põhjuskes see, et paigaldasime vaid osa perlist ja make testi käivitamine kompileeriks ka ülejäänu, mis hetkel on meile ebavajalik. | ||
Install these tools and their libraries: | Install these tools and their libraries: | ||
+ | |||
+ | Paigaldame töövahendid ja nende teegid: | ||
cp -v perl pod/pod2man /tools/bin | cp -v perl pod/pod2man /tools/bin |
Viimane redaktsioon: 1. juuni 2011, kell 13:59
The Perl package contains the Practical Extraction and Report Language.
Umbkaudne ehitamise aeg: 0.8 SBU Vajaminev kettaruum: 106 MB
5.28.1. Perli paigaldamine
First apply the following patch to adapt some hard-wired paths to the C library:
Esimesena tuleb lisada paik, et kohandada mõningad hard-wired C teegi rajad sobivaks:
patch -Np1 -i ../perl-5.12.3-libc-1.patch
Prepare Perl for compilation (make sure to get the 'Data/Dumper Fcntl IO' part of the command correct—they are all letters):
Valmistame perli kompileerimiseks ette (kindlastu tuleb jälgida, et 'Data/Dumper Fcntl IO' lõik saaks korrektselt kirjutatud):
sh Configure -des -Dprefix=/tools \ -Dstatic_ext='Data/Dumper Fcntl IO'
The meaning of the configure options:
- -Dstatic_ext='Data/Dumper Fcntl IO'
This tells Perl to build the minimum set of static extensions needed for installing and testing the Coreutils and Glibc packages in the next chapter.
Only a few of the utilities contained in this package, and one of its libraries, need to be built:
make perl utilities ext/Errno/pm_to_blib
Although Perl comes with a test suite, it is not recommended to run it at this point. Only part of Perl was built and running make test now will cause the rest of Perl to be built as well, which is unnecessary at this point. The test suite can be run in the next chapter if desired.
Kuigi Perl sisaldab testvahendeid, pole nende käivitamine hetke soovitatav. Peamiseks põhjuskes see, et paigaldasime vaid osa perlist ja make testi käivitamine kompileeriks ka ülejäänu, mis hetkel on meile ebavajalik.
Install these tools and their libraries:
Paigaldame töövahendid ja nende teegid:
cp -v perl pod/pod2man /tools/bin mkdir -pv /tools/lib/perl5/5.12.3 cp -Rv lib/* /tools/lib/perl5/5.12.3
Details on this package are located in Section 6.33.2, “Contents of Perl.”