[Openswan Users] problem using openswan on gentoo linux.

Jens-Uwe Katolla katolla at otris.de
Sun Oct 2 17:53:01 CEST 2005


Hallo,

i was successfully using openswan a while on a gentoo linux system. But
now after some updates to the system i have problems starting it.

The logfile /var/log/messages says:

Oct  2 13:43:08 amd64 ipsec__plutorun: Starting Pluto subsystem...
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:52:       function
default(k, val) {
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:52:                ^
syntax error
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:52:       function
default(k, val) {
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:52:                 
              ^ syntax error
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:54:               if
(!(k in s))
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:54:                 
           ^ unexpected newline or end of string
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:55:                 
     s[k] = val
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:55:                 
               ^ unexpected newline or end of string
Oct  2 13:43:08 amd64 ipsec__plutorun: awk: cmd. line:56:       function
was(new, old) {


I know there is a issue with gawk about the "default" keyword.

How to fix this?

I am using openswan-2.4.0 (also tried 2.4.1dr1 and 2.3.1) and gawk
GNU Awk 3.1.4 Copyright (C) 1989, 1991-2003 Free Software Foundation.

Since the --enable switch seems to be default in gentoo i think it is not
an option for me recompiling gawk without the "enable" switch, i think
this has to be fixed in openswan.

Please help, i need this vpn-thing...

mfg
-- 
Jens-Uwe Katolla                         katolla at otris.de

otris software AG                        http://www.otris.de
Landgrafenstr. 153                       Fon  +49 (0)231  95 80 69 -0
D-44139 Dortmund                         Fax  +49 (0)231  95 80 69 -44




More information about the Users mailing list