Project

General

Profile

Issue #3065

Error building 5.8.0rc1 without gperf

Added by Renato Botelho over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
build
Affected version:
dr|rc|master
Resolution:
No change required

Description

I noted a problem building 5.8.0rc1 (which didn't happen on 5.8.0dr2) on FreeBSD.

Configure script detects gperf is not installed, but keep going:

checking for gperf... no
checking gperf version >= 3.0.0... not found

Then GPERF variable is empty and it fails at build stage:

Making all in libstrongswan
-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: -N: not found
*** Error code 127

Related issues

Related to Bug #3064: curve448 does not appear to be recognized as valid in ike or esp configClosed17.05.2019

History

#1 Updated by Tobias Brunner over 1 year ago

  • Status changed from New to Feedback

Configure script detects gperf is not installed, but keep going:

That's on purpose, because it's not required when building from a tarball. You only need it if you build from the repository, or when patching the source files, which apparently is the case here.

So either install gperf, or patch the generated files and not the source file to fix this.

#2 Updated by Tobias Brunner over 1 year ago

  • Related to Bug #3064: curve448 does not appear to be recognized as valid in ike or esp config added

#3 Updated by Renato Botelho over 1 year ago

Thanks for the explanation!

#4 Updated by Tobias Brunner over 1 year ago

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

Also available in: Atom PDF