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