[strongSwan] Cannot compile strong-swan from git
Ben Greear
greearb at candelatech.com
Sat Jul 13 02:14:23 CEST 2019
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
>>
>
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Users
mailing list