Bug 276459

Summary: kdevelop-pq-qt doesn’t list bison and flex as dependencies
Product: [Applications] kdevelop Reporter: Jonathan Kolberg <j_kolberg11>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: devel
Priority: NOR    
Version: git master   
Target Milestone: 4.2.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Kolberg 2011-06-25 12:03:57 UTC
Version:           git master (using KDE 4.6.3) 
OS:                Linux

You are not notified that bison/flex is needed for kdevelop-pq-qt to work.

Reproducible: Always

Steps to Reproduce:
Remove bison and flex.
Delete the CMakeCache (if existent)
run cmake with appropriate parameters

Actual Results:  
cmake doesn’t complain about missing dependencies. You get to know that, if you start make

Expected Results:  
cmake should notify the user, that bison and flex are needed as dependencies.
Comment 1 Milian Wolff 2011-06-26 15:20:38 UTC
afaik this should be fixed in master with the following commit. @The_User: please investigate

Git commit c196aa717e8b1ce4d74f673aa55d5c115f08618d by Jonathan Schmidt-Dominé, on behalf of Andreas Pakulat.
Committed on 10/06/2011 at 00:41.
Pushed by schmidt-domine into branch 'master'.

Update the pre-generated files so bison/flex are optional again

Seems like the last changes to the parser-files for kdev-pg's own language
haven't made it into the pre-generated files. Hence it was necessary to
have bison+flex installed to get the -parser/-lexer source code that the
rest of the sources expect. I've copied those generated files from the
builddir back into the source, so this requirement is lifted again.

CCMAIL: git@the-user.org
CCMAIL: kdevelop-devel@kdevelop.org

M  +409  -397  kdev-pg/kdev-pg-lexer.cc     
M  +203  -202  kdev-pg/kdev-pg-parser.cc     
M  +2    -2    kdev-pg/kdev-pg-parser.hh     

http://commits.kde.org/kdevelop-pg-qt/c196aa717e8b1ce4d74f673aa55d5c115f08618d