-----BEGIN PGP SIGNED MESSAGE-----
On Wed, 30 Jul 2003, lorry wrote: > Hi, > > I try to install FreeS/WAN2.01 from source on RedHat Linux8.0. > I uncompress the freeswan-2.01.tar.gz to /usr/src, then cd /usr/src/freeswan-2.01, > and make oldmod ,it displays "*** cannot find directory "/usr/src/linux"!! > *** may be necessary to add symlink to kernel source". So I add a symlink linux > point to linux-2.4.18-14 and make again. This time it displays"*** cannot find > "/usr/src/linux/.config"!! > *** perhaps kernel has never been configured? > *** please do that first; the results are necessary. > make: *** [precheck] Error". > So, I don't how to continue. > Does someone know how to solve this problem? Two points: 1) RedHat does not link its kernel sources to /usr/src/linux, rather, to /usr/src/linux-2.4 (and /lib/modules/`uname -r`/build). You need to specify the kernel source like so: make KERNELSRC=/usr/src/linux-2.4.18-14 oldmod That won't work, though, because the kernel has never been configured. At a bare minimum, copy the relevant config for your architecture from the configs subdirectory in Redhat's kernel source. 2) You can download binary RedHat RPMs for your currently running kernel using the following command: ncftpget ftp://ftp.xs4all.nl/pub/crypto/freeswan/binaries/RedHat-RPMs/`uname-r`/\* - -- Sam Sgro [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv Comment: For the matching public key, finger the Reply-To: address. iQCVAwUBPydi+0OSC4btEQUtAQFcsAP9Eb41v7FcDCgHo6++PhA/4m8U5OLaPjkC Cw6kWS7NDaNRtvCxA7Ium1D42N739KaVtsmig8DUVOLlhmdyPrmAoZ5VzBcs8hFL oXXcZxecooe+gQdqVkGjkx5nF17Aw05cYjOAo1zgxrm++Aois2SzGtgP7LqVdRbW 28S1EqBgsQw= =4HpT -----END PGP SIGNATURE-----
