Bug 276459 - kdevelop-pq-qt doesn’t list bison and flex as dependencies
Summary: kdevelop-pq-qt doesn’t list bison and flex as dependencies
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-25 12:03 UTC by Jonathan Kolberg
Modified: 2011-06-27 21:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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