How to build RedHat RPMs for 1.x FS (1.98/1.99)
Sam Sgro <[email protected]> Sat, 15 Mar 2003 16:31:20 -0500 (EST)
| Newsgroups | gmane.network.freeswan.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- 1) Download kernel sources to a machine with an appropriate gcc. Your easiest bet is to build 8.x RPMs (gcc3) on an 8.x machine, and 7.x RPMs on a 7.2 or 7.3 machine. (I've not built on anything earlier than 7.2, AFAIK, so I can't explicitly speak to it, but it should work fine.) 2) Extract kernel sources. rpm2cpio kernel-source-2.4.18-24.7.x.i386.rpm | cpio -d -i mv usr/src/linux-2.4* . 3) Clean up the kernel sources. make mrproper 4) Remove erroneous configs from configs directory Anything with x86_64 Anything with uml Anything with BOOT 5) Extract an appropriate FreeS/WAN source. 6) Make the RPM. make RH_KERNELSRC=/path/to/kernel/src rpm 7) If successful, collect your pair of RPMs from rpms/RPMS/i386. - -- Sam Sgro [email protected] -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv Comment: For the matching public key, finger the Reply-To: address. iQCVAwUBPnObrUOSC4btEQUtAQGhggP/ZxzuxLtksIkuz1lZBCg8Nc2WPEJcPtZj ia5H9cfA9l9nSfmHr/aScf/RZZ748o1nvpDCgh+QrwsNPQf1K+FODHjzln93/ldp 4JlME5KNGgGGjy6AJKxcrZN5zfnryuNioU+zWIe+gPx+Vq9A52Ici8ydJYMy/8b9 DZuHYdPcrU8= =DYTl -----END PGP SIGNATURE-----