Project

General

Profile

Issue #3121

make fails "/bin/bash: line 1: -N: command not found"

Added by Scep CAfail 12 months ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Category:
build
Affected version:
5.8.0
Resolution:
No change required

Description

\
sed \
-e "s:\PACKAGE_VERSION\:5.8.1dr1:" \
./Android.common.mk.in > Android.common.mk
make all-recursive
make1: Entering directory '/home/rsa-key-20190715/strongswan'
Making all in src
make2: Entering directory '/home/rsa-key-20190715/strongswan/src'
Making all in .
make3: Entering directory '/home/rsa-key-20190715/strongswan/src'
make3: Nothing to be done for 'all-am'.
make3: Leaving directory '/home/rsa-key-20190715/strongswan/src'
Making all in include
make3: Entering directory '/home/rsa-key-20190715/strongswan/src/include'
make3: Nothing to be done for 'all'.
make3: Leaving directory '/home/rsa-key-20190715/strongswan/src/include'
Making all in libstrongswan
make3: Entering directory '/home/rsa-key-20190715/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/bash: line 1: -N: command not found
Makefile:2437: recipe for target 'crypto/proposal/proposal_keywords_static.c' failed
make3: * [crypto/proposal/proposal_keywords_static.c] Error 127
make3: Leaving directory '/home/rsa-key-20190715/strongswan/src/libstrongswan'
Makefile:533: recipe for target 'all-recursive' failed
make2:
[all-recursive] Error 1
make2: Leaving directory '/home/rsa-key-20190715/strongswan/src'
Makefile:593: recipe for target 'all-recursive' failed
make1:
[all-recursive] Error 1
make1: Leaving directory '/home/rsa-key-20190715/strongswan'
Makefile:504: recipe for target 'all' failed
make: *
[all] Error 2

My platform

Distributor ID: Debian
Description: Debian GNU/Linux 9.9 (stretch)
Release: 9.9
Codename: stretch

History

#1 Updated by Tobias Brunner 12 months ago

  • Status changed from New to Feedback

Building from the repository requires additional tools, see InstallationDocumentation. In particular gperf. Make sure to clean the build directory (use make maintainer-clean or git clean...) and then run configure again so the installed tools are found.

#2 Updated by Scep CAfail 12 months ago

Tobias Brunner wrote:

Building from the repository requires additional tools, see InstallationDocumentation. In particular gperf. Make sure to clean the build directory (use make maintainer-clean or git clean...) and then run configure again so the installed tools are found.

I have missed that, thanks!

#3 Updated by Tobias Brunner 12 months ago

  • Status changed from Feedback to Closed
  • Assignee set to Tobias Brunner
  • Resolution set to No change required

Also available in: Atom PDF