From: Jason G. <exp...@lo...> - 2009-06-02 11:49:57
|
Hello. I cannot build from a clean checkout of wbxml from svn head. I get the output at [1] below. It is complaining about the absence of AddDocumentation and MacroEnsureOutOfSourceBuild. I noticed these in my checkout of opensync, and if I copy these into my wbxml source folder under cmake/modules, the build goes a little further, but fails as per [2] below. In that case it is also complaining about missing resources (perl and shell scripts), so I am wonder if more is missing from svn than just the cmake/modules files. Thanks for any guidance or independent confirmation that a clean checkout of svn head is not broken. J. ---------------------------------------------- [1] Clean checkout ---------------------------------------------- [jas@talby wbxml2]$ cmake -DCMAKE_INSTALL_PREFIX=/home/jas/opensync-head/install /home/jas/opensync-head/wbxml2 -- The C compiler identification is GNU -- Check for working C compiler: /usr/lib/ccache/gcc -- Check for working C compiler: /usr/lib/ccache/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done CMake Error at CMakeLists.txt:57 (INCLUDE): include could not find load file: AddDocumentation -- Looking for include files HAVE_LIMITS_H -- Looking for include files HAVE_LIMITS_H - found -- Looking for include files HAVE_CTYPE_H -- Looking for include files HAVE_CTYPE_H - found -- Looking for include files HAVE_STDLIB_H -- Looking for include files HAVE_STDLIB_H - found -- Looking for include files HAVE_STDIO_H -- Looking for include files HAVE_STDIO_H - found -- Looking for include files HAVE_STDARG_H -- Looking for include files HAVE_STDARG_H - found -- Looking for include files HAVE_ASSERT_H -- Looking for include files HAVE_ASSERT_H - found CMake Error at CMakeLists.txt:67 (INCLUDE): include could not find load file: MacroEnsureOutOfSourceBuild CMake Error at CMakeLists.txt:68 (MACRO_ENSURE_OUT_OF_SOURCE_BUILD): Unknown CMake command "MACRO_ENSURE_OUT_OF_SOURCE_BUILD". -- Configuring incomplete, errors occurred! I'm unable to build wbxml off svn head, and based on the fix I found, I suspect that svn is incomplete. ---------------------------------------------- [2] After cmake/modules has been copied from opensync into wbxml ---------------------------------------------- [jas@talby wbxml2]$ cmake -DCMAKE_INSTALL_PREFIX=/home/jas/opensync-head/install /home/jas/opensync-head/wbxml2 -- Found Expat: /usr/lib/libexpat.so -- checking for one of the modules 'check' -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for getopt -- Looking for getopt - found -- ================================================== -- verbose mode OFF -- POSIX getopt ON -- unit tests OFF -- perl binary (test generated XML) ON -- diff binary (test generated XML) ON -- enable string tables ON -- enable WML support ON -- enable WTA support ON -- enable SI support ON -- enable SL support ON -- enable CO support ON -- enable PROV support ON -- enable EMN support ON -- enable DRMREL support ON -- enable OTA_SETTINGS support ON -- enable SYNCML support ON -- enable WV support ON -- enable AIRSYNC support ON -- build dynamic documentation OFF -- install documentation ON CMake Error: File /home/jas/opensync-head/wbxml2/tests/launchTests.sh does not exist. CMake Error at CMakeLists.txt:248 (CONFIGURE_FILE): configure_file Problem configuring file CMake Error: File /home/jas/opensync-head/wbxml2/tests/normalize_xml.pl does not exist. CMake Error at CMakeLists.txt:249 (CONFIGURE_FILE): configure_file Problem configuring file -- Configuring incomplete, errors occurred! |