[strongSwan] Cannot compile strong-swan from git

Noel Kuntze noel.kuntze at thermi.consulting
Sat Jul 13 02:04:35 CEST 2019


Hello Ben,

Install gperf.

Kind regards

Noel

Am 13.07.19 um 01:46 schrieb Ben Greear:
> Hello,
>
> I'm trying to compile strongswan on fedora-24.  If I download the 5.8.0 tarball,
> then it will compile with:  ./configure; make
>
> But, if I try to compile from git clone, it blows up, even if I check out the 5.8.0
> tag (top-of-tree breaks for similar reasons)
>
> [greearb at v-f24-64 strongswan]$ make
> \
>     sed \
>     -e "s:\@PACKAGE_VERSION\@:5.8.0:" \
>     ./Android.common.mk.in > Android.common.mk
> make  all-recursive
> make[1]: Entering directory '/home/greearb/git/strongswan'
> Making all in src
> make[2]: Entering directory '/home/greearb/git/strongswan/src'
> Making all in .
> make[3]: Entering directory '/home/greearb/git/strongswan/src'
> make[3]: Nothing to be done for 'all-am'.
> make[3]: Leaving directory '/home/greearb/git/strongswan/src'
> Making all in include
> make[3]: Entering directory '/home/greearb/git/strongswan/src/include'
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/home/greearb/git/strongswan/src/include'
> Making all in libstrongswan
> make[3]: Entering directory '/home/greearb/git/strongswan/src/libstrongswan'
> \
>     (cd ./asn1/ && /usr/bin/perl oid.pl)
> \
>     sed \
>     -e "s:\@GPERF_LEN_TYPE\@::" \
>     crypto/proposal/proposal_keywords_static.h.in > crypto/proposal/proposal_keywords_static.h
> \
>      -N proposal_get_token_static -m 10 -C -G -c -t -D < \
> ./crypto/proposal/proposal_keywords_static.txt > crypto/proposal/proposal_keywords_static.c
> /bin/sh: line 1: -N: command not found
> Makefile:2436: recipe for target 'crypto/proposal/proposal_keywords_static.c' failed
> make[3]: *** [crypto/proposal/proposal_keywords_static.c] Error 127
> make[3]: Leaving directory '/home/greearb/git/strongswan/src/libstrongswan'
> Makefile:532: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/home/greearb/git/strongswan/src'
> Makefile:592: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/greearb/git/strongswan'
> Makefile:503: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Thanks,
> Ben
>

-- 
Noel Kuntze
IT security consultant

GPG Key ID: 0x0739AD6C
Fingerprint: 3524 93BE B5F7 8E63 1372 AF2D F54E E40B 0739 AD6C



More information about the Users mailing list