Opened 2 years ago

Closed 23 months ago

#5573 closed defect (fixed)

fix configure script for --enable-generate-parser option

Reported by: wlodekwencel Owned by:
Priority: medium Milestone: Kea1.4
Component: configuration Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

while configure script is used with --enable-generate-parser with flex and bison installed:

[jenkins@fedora27-64-1 workspace]$ flex -V
flex 2.6.1
[jenkins@fedora27-64-1 workspace]$ bison -V
bison (GNU Bison) 3.0.4
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Flex/bison:
  FLEX:  flex
  BISON: bison -y
Developer:
  Enable Debugging:       no
  Google Tests:           yes
  Valgrind:               found
  C++ Code Coverage:      no
  Logger checks:          no
  Generate Documentation: no
  Parser Generation:      yes
  Kea-shell:              no

and even though configure script finish without error, compilation fails:

make[6]: Entering directory '/home/jenkins/workspace/Kea-fedora_64_parser/src/lib/eval'
  CXX      libkea_eval_la-token.lo
In file included from token.cc:11:0:
../../../src/lib/eval/eval_context.h:11:10: fatal error: eval/parser.h: No such file or directory
 #include <eval/parser.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

there is something missing, and I can't figure out what, configure script doesn't help

Subtickets

Change History (2)

comment:1 Changed 2 years ago by tomek

  • Milestone changed from Kea-proposed to Kea1.x

As discussed today, moving to 1.x.

comment:2 Changed 23 months ago by fdupont

  • Milestone changed from Kea1.x to Kea1.4
  • Resolution set to fixed
  • Status changed from new to closed

The problem was the script calls "make clean-parser" but not "make parser". Fixed. Closing.

Note: See TracTickets for help on using tickets.