[Openswan Users] Openswan isntallation

Paul Wouters paul at xelerance.com
Fri Jan 8 09:09:40 EST 2010


On Fri, 8 Jan 2010, Zaeem Sherazi wrote:

> I am trying to install openswan-2.6.23 on Linux machine RHEL (Linux master 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST
> 2007 i686 i686 i386 GNU/Linux). When I follow Userland-only Install then I come up with error

> /bin/sh: xmlto: command not found

Use the latest 2.6.24rcX release, which has that fixed. Or yum install xmlto.

> ln -s -f /usr/src/openswan-2.6.23/linux/net/ipsec/match*.S /usr/src/openswan-2.6.23/modobj26
> make[2]: Leaving directory `/usr/src/openswan-2.6.23'
> make -C /usr/src/kernels/linux-2.6.18/  BUILDDIR=/usr/src/openswan-2.6.23/modobj26
> SUBDIRS=/usr/src/openswan-2.6.23/modobj26 MODULE_DEF_INCLUDE=/usr/src/openswan-2.6.23/packaging/linus/config-all.h
> MODULE_DEFCONFIG=/usr/src/openswan-2.6.23/linux/net/ipsec/defconfig  MODULE_EXTRA_INCLUDE= ARCH=i386 modules
> make: Entering an unknown directory
> make: *** /usr/src/kernels/linux-2.6.18/: No such file or directory.  Stop.

You need to set KERNELSRC to an existing kernel tree.

Paul


More information about the Users mailing list