Bug 265760 - calligra master fails to compile
Summary: calligra master fails to compile
Status: RESOLVED FIXED
Alias: None
Product: calligracommon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 04:38 UTC by Christoph Feck
Modified: 2011-02-25 20:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fixes compile on my system (371 bytes, patch)
2011-02-08 04:38 UTC, Christoph Feck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2011-02-08 04:38:42 UTC
Created attachment 56963 [details]
Fixes compile on my system

In file included from /local/build/calligra/tools/koabstraction/moc_FoCellEditor.cpp:10:0,
                 from /local/build/calligra/tools/koabstraction/koabstraction_automoc.cpp:4:
/local/build/calligra/tools/koabstraction/../../../../git/calligra/tools/koabstraction/FoCellEditor.h:22:21: fatal error: QTextEdit: No such file or directory
compilation terminated.
make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/koabstraction_automoc.o] Error 1
In file included from /local/git/calligra/tools/koabstraction/KoAbstractApplicationController.cpp:22:0:
/local/git/calligra/tools/koabstraction/KoAbstractApplicationController.h:25:23: fatal error: QMessageBox: No such file or directory
compilation terminated.
make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/KoAbstractApplicationController.o] Error 1
In file included from /local/git/calligra/tools/koabstraction/RemoveSheetCommand.cpp:20:0:
/local/git/calligra/tools/koabstraction/RemoveSheetCommand.h:20:24: fatal error: QUndoCommand: No such file or directory
compilation terminated.
make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/RemoveSheetCommand.o] Error 1
In file included from /local/git/calligra/tools/koabstraction/KoCellToolFactory.cpp:20:0:
/local/git/calligra/tools/koabstraction/KoCellToolFactory.h:23:31: fatal error: KoToolFactoryBase.h: No such file or directory
compilation terminated.
make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/KoCellToolFactory.o] Error 1
In file included from /local/git/calligra/tools/koabstraction/KoCellTool.h:23:0,
                 from /local/git/calligra/tools/koabstraction/KoCellTool.cpp:21:
/local/git/calligra/tools/koabstraction/koabstraction_export.h:24:23: fatal error: kdemacros.h: No such file or directory
compilation terminated.
make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/KoCellTool.o] Error 1
In file included from /local/git/calligra/tools/koabstraction/FoCellEditor.cpp:19:0:
/local/git/calligra/tools/koabstraction/FoCellEditor.h:22:21: fatal error: QTextEdit: No such file or directory
compilation terminated.
make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/FoCellEditor.o] Error 1
make[2]: Target `tools/koabstraction/CMakeFiles/koabstraction.dir/build' not remade because of errors.
make[1]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/all] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
-- Failed: calligra
Comment 1 Christoph Feck 2011-02-08 05:20:38 UTC
Comment on attachment 56963 [details]
Fixes compile on my system

Sorry, this patch does not work. It worked because I only called "make" after writing this patch. If you clean your CMakeCache.txt, on the next run, koffice fails to build again.
Comment 2 Christoph Feck 2011-02-08 05:21:26 UTC
(calligra, not koffice, of course, still trying to get used to it :)
Comment 3 Christoph Feck 2011-02-25 20:05:39 UTC
Fixed with 71e80ed3 by Cyrille Berger, thanks ;)