[Openswan Users] Openswan isntallation

Ruben Laban r.laban at ism.nl
Fri Jan 8 07:54:15 EST 2010


On Friday 08 January 2010 at 13:37 (CET), 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
>
>  
>
> "install -b --suffix=.old pluto whack /usr/local/libexec/ipsec
> #install --mode=u+rxs,g+rx,o+rx --group=root -b --suffix=.old whackinit
> /usr/local/libexec/ipsec if true ; then install -b --suffix=.old
> _pluto_adns  /usr/local/libexec/ipsec ; fi ( cd
> /usr/src/openswan-2.6.23/programs/pluto ; xmlto man pluto.8.xml ; mv
> ipsec_pluto.8 pluto.8; xmlto man ipsec.secrets.5.xml) /bin/sh: xmlto:
> command not found
> mv: cannot stat `ipsec_pluto.8': No such file or directory
> /bin/sh: xmlto: command not found
> make[3]: *** [doinstall] Error 127
> make[3]: Leaving directory
> `/usr/src/openswan-2.6.23/OBJ.linux.i386/programs/pluto' make[2]: ***
> [install] Error 1
> make[2]: Leaving directory
> `/usr/src/openswan-2.6.23/OBJ.linux.i386/programs' make[1]: *** [install]
> Error 1
> make[1]: Leaving directory `/usr/src/openswan-2.6.23/OBJ.linux.i386'
> make: *** [install] Error 2
>
> "

You should use 2.6.24rc5 instead. It no longer has a build dependency on 
xmlto.

> And when I follow KLIPS install then I come up with the error below.
>
>  
>
> "
>
> echo "# End: "       >> /usr/src/openswan-2.6.23/modobj26/Makefile
> 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.
> make: Leaving an unknown directory
> make[1]: *** [module26] Error 2
> make[1]: Leaving directory `/usr/src/openswan-2.6.23'
> make: *** [module] Error 2
>
> "
> Please anybody let me know solution of my above issue.

You're probably pointing to the wrong kernel dir. And you might also lack some 
fixes from 2.6.24rcX for KLIPS.

-- 
Ruben


More information about the Users mailing list