[Digikam-devel] cannot compile digikam
Matthias Welwarsky
matze at welwarsky.de
Sun Jul 5 07:15:39 BST 2009
On Saturday 04 July 2009 23:01:52 Andi Clemens wrote:
> make clean?
> rm CMakeCache.txt?
> start all over?
>
> :-)
>
> Something seems to be completely gone nuts.
I've tried that first. I managed to get it back to normal by reverting some of
the recent commits to CMakeList.txt.
Most likely, the culprit is r990612, see the "BOGUS" tag ;)
I wonder how it can work for anyone if the subdirectories are not evaluated.
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 990611)
+++ CMakeLists.txt (revision 990612)
@@ -36,6 +36,7 @@
find_package(JPEG)
find_package(PNG)
find_package(TIFF)
+find_package(GraphViz)
MACRO_LOG_FEATURE(OPENGL_FOUND "libopengl" "OpenGL lib is needed to build the
kpovmodeler project" "http://www.X.org/" FALSE "" "")
MACRO_LOG_FEATURE(IMLIB_FOUND "imlib" "imlib is needed to build kuickshow
project" "http://freshmeat.net/projects/imlib/" FALSE "" "")
@@ -46,12 +47,12 @@
include(ConfigureChecks.cmake)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
<BOGUS>
-macro_optional_add_subdirectory(digikam)
-macro_optional_add_subdirectory(kipi-plugins)
-macro_optional_add_subdirectory(kphotoalbum)
-macro_optional_add_subdirectory(doc)
-macro_optional_add_subdirectory(kcoloredit)
-macro_optional_add_subdirectory(kiconedit)
+#macro_optional_add_subdirectory(digikam)
+#macro_optional_add_subdirectory(kipi-plugins)
+#macro_optional_add_subdirectory(kphotoalbum)
+#macro_optional_add_subdirectory(doc)
+#macro_optional_add_subdirectory(kcoloredit)
+#macro_optional_add_subdirectory(kiconedit)
</BOGUS>
if (Q_WS_X11)
macro_optional_add_subdirectory(kfax)
@@ -59,7 +60,9 @@
endif (Q_WS_X11)
if(Boost_FOUND)
+ if(graphviz_FOUND)
macro_optional_add_subdirectory(kgraphviewer)
+ endif(graphviz_FOUND)
endif(Boost_FOUND)
if(OPENGL_FOUND AND OPENGL_GLU_FOUND)
>
> Andi
>
> On Saturday 04 July 2009 22:38:04 Matthias Welwarsky wrote:
> > Hi,
> >
> > I'm having a bit of a trouble compiling digikam today. Not sure what
> > causes this, but if I run cmake and then type "make" in the build dir,
> > nothing happens, make just returns without doing anything.
> >
> > This is what "make -d" outputs:
> >
> > Updating goal targets....
> > Considering target file `all'.
> > File `all' does not exist.
> > Finished prerequisites of target file `all'.
> > Must remake target `all'.
> > Successfully remade target file `all'.
> > Reaping winning child 0x08c6a5f8 PID 15681
> > Live child 0x08c6a5f8 (all) PID 15682
> > Reaping winning child 0x08c6a5f8 PID 15682
> > Removing child 0x08c6a5f8 PID 15682 from chain.
> > Successfully remade target file `all'.
> > Finished prerequisites of target file `default_target'.
> > Must remake target `default_target'.
> > Successfully remade target file `default_target'.
> >
> > Looks like make is perfectly happy and thinks it has done all that is
> > necessary.
> >
> > any Idea?
> >
> > _______________________________________________
> > Digikam-devel mailing list
> > Digikam-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-devel
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
More information about the Digikam-devel
mailing list