[Openswan Users] building 2.3.1 fails (dpkg-buildpackage)

Michael Flaig mflaig at pro-linux.de
Mon Apr 25 17:07:53 CEST 2005


I wanted to compile 2.3.1 of openswan with dpkg-buildpackage.
The Source-tar.gz does include the debian dir with the necessary rules,
so I cd´ed into the openswan-2.3.1 directory and ran 
	dpkg-buildpackage -b -uc 

It aborts with the following messages ...
--- snip ---
make[3]: Gehe in Verzeichnis »/usr/src/debian/openswan-2.3.1/testing/packaging«
make[3]: Verlasse Verzeichnis »/usr/src/debian/openswan-2.3.1/testing/packaging«
make[2]: Verlasse Verzeichnis »/usr/src/debian/openswan-2.3.1/testing«
WARNING: Old version of FreeS/WAN Openswan 1.x installed.
WARNING: moving /usr/src/debian/openswan-2.3.1/debian/openswan/usr/lib/ipsec to /usr/src/debian/openswan-2.3.1/debian/openswan/usr/lib/ipsec.v1
make[1]: Verlasse Verzeichnis »/usr/src/debian/openswan-2.3.1«
rm -rf /usr/src/debian/openswan-2.3.1/debian/openswan/usr/local
install --mode=0600 /usr/src/debian/openswan-2.3.1/debian/ipsec.secrets.proto /usr/src/debian/openswan-2.3.1/debian/openswan/etc/ipsec.secrets
# use bash for init.d and _plutorun
patch /usr/src/debian/openswan-2.3.1/debian/openswan/etc/init.d/ipsec < debian/use-bash.diff
patching file /usr/src/debian/openswan-2.3.1/debian/openswan/etc/init.d/ipsec
patch /usr/src/debian/openswan-2.3.1/debian/openswan/usr/lib/ipsec/_plutorun < debian/use-bash.diff
patch: **** Can't find file /usr/src/debian/openswan-2.3.1/debian/openswan/usr/lib/ipsec/_plutorun : No such file or directory
make: *** [install-openswan] Fehler 2
--- snap ---

It seems that openswan detects itself als freeswan 1.x and moves himself
to the ipsec.1 folder. So the build process looks in [...]/ipsec/ for
_plutorun but can´t find it...

Anyone had this problem before and knows how to fix it?

Thanks for your help in Advance,


Michael Flaig <mflaig at pro-linux.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.openswan.org/pipermail/users/attachments/20050425/1fb6acff/attachment.bin

More information about the Users mailing list