[strongSwan] Cannot compile strong-swan from git

Noel Kuntze noel.kuntze at thermi.consulting
Sat Jul 13 16:59:04 CEST 2019


Hello Ben,

That's still gperf missing.
Maybe try running ./autogen.sh again after installing gperf.

Kind regards

Noel

Am 13.07.19 um 02:14 schrieb Ben Greear:
> On 7/12/19 5:04 PM, Noel Kuntze wrote:
>> Hello Ben,
>>
>> Install gperf.
>
> Thanks, that gets me a but further:
>
>
> libtool: link: ( cd ".libs" && rm -f "libstrongswan-attr.la" && ln -s "../libstrongswan-attr.la" "libstrongswan-attr.la" )
> make[5]: Leaving directory '/home/greearb/git/strongswan/src/libcharon/plugins/attr'
> Making all in tests
> make[5]: Entering directory '/home/greearb/git/strongswan/src/libcharon/tests'
> make[5]: Nothing to be done for 'all'.
> make[5]: Leaving directory '/home/greearb/git/strongswan/src/libcharon/tests'
> make[4]: Leaving directory '/home/greearb/git/strongswan/src/libcharon'
> make[3]: Leaving directory '/home/greearb/git/strongswan/src/libcharon'
> Making all in starter
> make[3]: Entering directory '/home/greearb/git/strongswan/src/starter'
> \
>     sed \
>     -e "s:\@GPERF_LEN_TYPE\@::" \
>     keywords.h.in > keywords.h
> \
>      -m 10 -C -G -D -t < ./keywords.txt > keywords.c
> /bin/sh: line 1: -m: command not found
> Makefile:1004: recipe for target 'keywords.c' failed
> make[3]: *** [keywords.c] Error 127
> make[3]: Leaving directory '/home/greearb/git/strongswan/src/starter'
> 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
>
>> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20190713/30a953cc/attachment.sig>


More information about the Users mailing list