wbxml from svn head does not build

View: New views
3 Messages — Rating Filter:   Alert me  

wbxml from svn head does not build

by Jason Grant-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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!



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users

Re: wbxml from svn head does not build

by Michael Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jason,

Jason Grant wrote:

>
> 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.

It looks like your svn client does not checkout the svn:externals.

svn propget svn:externals

cmake https://svn.opensync.org/branches/3rd-party-cmake-modules
tests https://svn.opensync.org/libwbxml/wbxmlTestSuite/trunk

Best regards

Michael
- --
___________________________________________________________________

Michael Bell                        Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704           Unter den Linden 6
michael.bell@...       D-10099 Berlin
___________________________________________________________________

PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkomhEMACgkQ2L0ZGCAwWqs7agCg06pnI6VKZXd0+SG3PpDWSV4i
k+AAoMvdjVQ4BlEvKPdvA/HVT9bdGylD
=HwJs
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users

Re: wbxml from svn head does not build

by Jason Grant-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-03 at 16:10 +0200, Michael Bell wrote:
> It looks like your svn client does not checkout the svn:externals.

Ah, thanks Michael,

FYI, an svn co results in the untrusted cert message below.  I must have
inadvertently rejected this.

Cheers,

J.

----------------------------------

svn co http://svn.opensync.org/libwbxml/wbxml2/trunk

....

Fetching external item into 'trunk/cmake'
Error validating server certificate for 'https://svn.opensync.org:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: milliways.cynapses.org
 - Valid: from Sun, 22 Feb 2009 13:56:41 GMT until Tue, 22 Feb 2011
13:56:41 GMT
 - Issuer: http://www.cacert.org, Root CA
 - Fingerprint:
f0:59:d4:c8:34:61:57:8d:16:de:2f:0e:31:76:a9:50:10:b9:a5:2b
(R)eject, accept (t)emporarily or accept (p)ermanently?



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users