[Kmymoney-devel] documentation gets build although docs are disabled in cmake
Jack
ostroffjh at sbcglobal.net
Fri Nov 16 15:42:02 UTC 2012
What about "KDE4_ENABLE_HTMLHANDBOOK" ?
On 2012.11.16 03:56, mk-lists at email.de wrote:
> I keep having problems with (NOT) building docs on MacOSX.
>
> Although documentation is turned off:
> ---
> USE_DEVELOPER_DOC OFF
> USE_HTML_HANDBOOK OFF
> ---
>
> the build process throws documentation-related errors as you can see
> here:
>
> ---
> .
> .
> .
> :info:build Scanning dependencies of target kmm_kdchart:info:build
> make[2]: Leaving directory
> `/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build':info:build
> /usr/bin/make -f libkdchart/src/CMakeFiles/kmm_kdchart.dir/build.make
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/build:info:build make[2]:
> Entering directory
> `/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build':info:build
> /opt/macports-test/bin/cmake -E cmake_progress_report
> /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/CMakeFiles:info:build
> [ 1%] Building CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/kmm_kdchart_automoc.cpp.o:info:build
> cd
> /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/libkdchart/src
> && /usr/bin/g++-4.2 -DMAKE_KMM_KDCHART_LIB -DQT
> _NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
> -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=109 -DQT_USE_FAST_CONCATENATION
> -DQT_USE_FAST_OPERATOR_PLUS -DQT_STRICT_ITERATORS -DQT_NO_STL
> -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
> -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=109 -DHAVE_CONFIG_H -DKMM_DEBUG
> -DKDCHART_BUILD_KDCHART_LIB -pipe -O2 -arch x86_64 -fno-common
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-se
> curity -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common
> -Woverloaded-virtual -fvisibility=hidden -Werror=return-type
> -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS
> -fexceptions -UQT_NO_EXCEPTIONS -fPIC -f
> no-common -g3 -fno-inline -arch x86_64 -isysroot /
> -mmacosx-version-min=10.6 -fPIC
> -I/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/libkdchart/src
> -I/opt/macport
> s-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/libkdchart/src
> -I/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/w
> ork/kmymoney
> -I/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build
> -I/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney
> 4-devel/work/kmymoney/libkdchart/src/../include
> -I/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/libkdchart/src/../kdablibfakes/include
> -I/opt/macports-test/i
> nclude/KDE -I/opt/macports-test/include/phonon
> -I/opt/macports-test/include/QtXmlPatterns
> -I/opt/macports-test/include/QtXml
> -I/opt/macports-test/include/QtWebKit
> -I/opt/macports-test/include/QtUiTools -I/opt/macports-test/include
> /QtTest -I/opt/macports-test/include/QtSvg
> -I/opt/macports-test/include/QtSql
> -I/opt/macports-test/include/QtScriptTools
> -I/opt/macports-test/include/QtScript
> -I/opt/macports-test/include/QtOpenGL
> -I/opt/macports-test/include/QtNe
> twork -I/opt/macports-test/include/QtMultimedia
> -I/opt/macports-test/include/QtHelp
> -I/opt/macports-test/include/QtDesigner
> -I/opt/macports-test/include/QtDeclarative
> -I/opt/macports-test/include/QtDBus -I/opt/macports-test/includ
> e/Qt3Support -I/opt/macports-test/include/QtGui
> -I/opt/macports-test/include/QtCore
> -I/opt/macports-test/share/qt4/mkspecs/default -D__APPLE_KDE__
> -D__APPLE_KDE__ -o
> CMakeFiles/kmm_kdchart.dir/kmm_kdchart_automoc.cpp.o -c /op
> t/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/libkdchart/src/kmm_kdchart_automoc.cpp
> :info:build
> /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/doc/index.docbook:141:
> element para: error : Text node has wrong name 've.
> :info:build Decoding Options
> :info:build If your native language is written in letters or
> symbols which are different
> .
> .
> .
> :info:build QIF Profile Editor
> :info:build
> :info:build Previous versions of KMyMoney used to have a tab for
> date and amount
> :info:build specifications. KMyMoney'
> :info:build
> /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/doc/index.docbook:235:
> element para: error : Text node has wrong name 'nbktext'
> :info:build
> /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/doc/index.docbook:235:
> element para: error : Text node has wrong name 'nbktext'
> :info:build
> /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/doc/index.docbook:128:
> element para: error : Text node has wrong name 'nbktext'
> :info:build
> /opt/macports-test/share/xsl/docbook-xsl/common/stripns.xsl:10:
> element stylesheet: error : Reference to namespace 'exsl' not in scope
> :info:build
> /opt/macports-test/share/xsl/docbook-xsl/html/glossary.xsl:0: error :
> Unknown node type 73361490
> :info:build /opt/macports-test/share/xsl/docbook-xsl/html/math.xsl:5:
> element stylesheet: error : Reference to namespace 'mml' not in scope
> :info:build make[2]: Leaving directory
> `/opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build'
> .
> .
> .
> ---
>
>
> These errors alone are not lethal, but I guess they need fixing as
> well. I wonder whether this only occurs on MacOSX or also on Linux.
> Haven't checked that myself up to now.
>
> The MAIN PROBLEM for me is rather that SOMETIMES meinproc4 segfaults
> for some strange (often irreproducible) reason!!!
>
> Any ideas?
>
> Greets,
> Marko
>
>
>
>
> P.S.:
> BTW, I've been actually already applying this diff to CMakeLists.txt
> in order to avoid running doxygen:
> ---
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 6e20c3f..b7f2c4f 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -97,7 +97,7 @@ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
> ${KDE4_ENABLE_EXCEPTIONS}" )
>
> # check for Doxygen
> FIND_PACKAGE(Doxygen)
> -IF(DOXYGEN_FOUND)
> +IF( FALSE )
> SET(APIDOC_DIR ${CMAKE_CURRENT_BINARY_DIR}/apidocs)
>
> MAKE_DIRECTORY(${APIDOC_DIR})
> @@ -105,7 +105,7 @@ IF(DOXYGEN_FOUND)
> CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/kmymoney.doxygen.in
> ${CMAKE_CURRENT_BINARY_DIR}/kmymoney.doxygen IMMEDIATE)
>
> ADD_CUSTOM_TARGET(apidoc ${DOXYGEN}
> ${CMAKE_CURRENT_BINARY_DIR}/kmymoney.doxygen)
> -ENDIF(DOXYGEN_FOUND)
> +ENDIF( FALSE )
>
> FIND_PACKAGE(GMP REQUIRED)
> SET(LIBALKIMIA_MIN_VERSION 4.3.2)
> ---
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
More information about the KMyMoney-devel
mailing list