Index of /~fujiik/mklinux/Packages/dr2.1/shared/perl

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[DIR]RPMS/ 1997-09-13 23:09 -  
[DIR]SOURCES/ 1998-09-26 19:07 -  
[DIR]SPECS/ 1998-01-14 15:13 -  
[DIR]SRPMS/ 1998-09-26 19:08 -  
[DIR]orig/ 1997-09-13 19:33 -  

MkLinux Installation Notes(English)

Descriptions of the Current Directory

PERL


[0] News

[1] Origin

ftp://ftp.linux.or.jp/pub/RPM/ALL/perl-5.004_04jp971016-1.src.rpm

A ppc patch was extracted from

ftp://ftp.linuxppc.org/linuxppc/redhat/SRPMS/perl-5.004_01-1.src.rpm

[2] How to Build PERL from SRC

To build RPMS do the following:
# rpm -i <somewhere>/perl-5.004_04jp971016-1.src.rpm
# cd /usr/src/redhat/SPECS
# vi perl-5.004_04jp971016-1.spec
....
Release: 1A
....
Patch2: localhost:/perl5.004-ppc.patch
....
%ifarch ppc
%patch2 -p1
%endif
....
Replace /usr by /usr/local everywhere.
....
# vi ../SOURCES/config.over.patch
....
+installprefix=/var/tmp/Perl/usr/local
....
# rpm -ba perl-5.004_04jp971016-1.spec

This creates:

perl-5.004_04jp971016-1A.ppc.rpm
perl-5.004_04jp971016-1A.src.rpm

[3] How to Install Perl

# rpm -i <somewhere>/perl-5.004_04jp971016-1A.ppc.rpm

Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp Dec. 18, 1997