You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by Dave Birdsall <da...@esgyn.com> on 2017/05/03 15:33:21 UTC

Heads up! Solution to a potential build problem

Good morning Trafodionites,

This morning I committed this pull request: https://github.com/apache/incubator-trafodion/pull/1080

If you do a "git fetch" and pull this change into your development work instance, you might see a make failure complaining about the lack of file parser/StmtDDLPublish.h. That file was deleted with this pull request.


The problem is that the parser make dependency files still include a reference to this file. "make clean" does not delete the dependency files. (Maybe it should!)

To recover from this make failure, do the following:

cd $TRAF_HOME/../sql/nskgmake/parser/linux/64bit/debug/depend

rm *

cd $TRAF_HOME/../sql/parser

touch sqlparser.y

These commands remove the make dependency files for the parser, and tell make to build the parser file. When you next do a "make all", the dependency files will be regenerated.

Happy developing!

Dave