Erinevus lehekülje "Grep-2.7" redaktsioonide vahel

Allikas: Kuutõrvaja
(Uus lehekülg: 'Grepi pakett sisaldab programme mis aitavad failide seest otsida. Umbkaudne ehitamise aeg: 0.1 SBU Vajaminev kettaruum: 6.7 MB 5.23.1. Installation of Grep Valmistame Grepi kompi...')
 
 
(ei näidata sama kasutaja üht vahepealset redaktsiooni)
6. rida: 6. rida:
 
6.7 MB
 
6.7 MB
  
5.23.1. Installation of Grep
+
5.23.1. Grepi paigaldamine.
  
 
Valmistame Grepi kompileerimiseks ette:
 
Valmistame Grepi kompileerimiseks ette:
14. rida: 14. rida:
 
The meaning of the configure switches:
 
The meaning of the configure switches:
  
--disable-perl-regexp
+
*--disable-perl-regexp
 
This ensures that the grep program does not get linked against a Perl Compatible Regular Expression (PCRE) library that may be present on the host but will not be available once we enter the chroot environment.
 
This ensures that the grep program does not get linked against a Perl Compatible Regular Expression (PCRE) library that may be present on the host but will not be available once we enter the chroot environment.
  

Viimane redaktsioon: 26. mai 2011, kell 11:59

Grepi pakett sisaldab programme mis aitavad failide seest otsida.

Umbkaudne ehitamise aeg: 0.1 SBU Vajaminev kettaruum: 6.7 MB

5.23.1. Grepi paigaldamine.

Valmistame Grepi kompileerimiseks ette:

./configure --prefix=/tools \
   --disable-perl-regexp

The meaning of the configure switches:

  • --disable-perl-regexp

This ensures that the grep program does not get linked against a Perl Compatible Regular Expression (PCRE) library that may be present on the host but will not be available once we enter the chroot environment.

Kompileerime paketi:

make

Kompileerimise lõppedes võib soovi korral käivitada täiendava testi. Ajutiste töövahendite puhul pole see oluline, seega võib järgmise sammu vahele jätta. Soovides testi käivita, sisesta käsk:

make check

Paketi paigaldamine:

make install

Details on this package are located in Section 6.27.2, “Contents of Grep.”