Building kdevelop-pg

Andreas Pakulat apaku at
Wed Aug 16 19:58:18 UTC 2006


Small question regarding the building of kdevelop-pg, it's impossible to
build the whole of kdevelop-pg with just a cmake ; make ; make install.

The problem is that kdev-cmg "depends" on either the not-yet-built
kdev-pg or on several source files existing already in the kdev-cmg
source dir (namely kdevcmg_parser.cpp, kdevcmg_visitor.cpp and
kdevcmg_default_visitor.cpp). These source files are not in svn and thus
one has a problem.

I was also unable to just built kdev-pg on it's own, seems like various
files are missing:

[  4%] Building CXX object CMakeFiles/kdev-pg.dir/kdev-pg-lexer.o
In file included from /home/andreas/KDE-work/4.0/kdevelop-pg/kdev-pg/kdev-pg.h:24,
                 from /home/andreas/KDE-work/4.0/kdevelop-pg/kdev-pg/kdev-pg-lexer.ll:23:
/home/andreas/KDE-work/4.0/kdevelop-pg/kdev-pg/kdev-pg-ast.h:24:31: error: kdev-pg-allocator.h: Datei oder Verzeichnis nicht gefunden
/home/andreas/KDE-work/4.0/kdevelop-pg/kdev-pg/kdev-pg-ast.h:242: error: expected initializer before ‘<’ token
/home/andreas/KDE-work/4.0/kdevelop-pg/kdev-pg/kdev-pg-ast.h: In function ‘_Tp* create_node()’:
/home/andreas/KDE-work/4.0/kdevelop-pg/kdev-pg/kdev-pg-ast.h:247: error: ‘_G_memory_pool’ was not declared in this scope
/home/kdedev4/kdevelop-pg_build/kdev-pg/ At global scope:
/home/kdedev4/kdevelop-pg_build/kdev-pg/ warning: ‘void yyunput(int, char*)’ defined but not used
make[2]: *** [CMakeFiles/kdev-pg.dir/kdev-pg-lexer.o] Fehler 1

This may of course be because I told cmake to use the
kdevelop-pg/kdev-pg as source dir.


Today is the first day of the rest of the mess.

More information about the KDevelop-devel mailing list