Build fail with MacOs in connectivity part

julien2412 serval2412 at yahoo.fr
Sun Jun 8 09:05:36 PDT 2014


Hello,

I gave a try to a MacOs build and had this error:
[build CXX] connectivity/source/drivers/odbc/OTools.cxx
/lo/core/connectivity/source/drivers/odbc/OPreparedStatement.cxx:338:9:
error: static_assert failed "sizeof(SQLWCHAR) == 2"
        BOOST_STATIC_ASSERT( sizeof(SQLWCHAR)    == 2 );
        ^                    ~~~~~~~~~~~~~~~~~~~~~~~~
/lo/core/workdir/UnpackedTarball/boost/boost/static_assert.hpp:78:41: note:
expanded from macro 'BOOST_STATIC_ASSERT'
#     define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__,
#__VA_ARGS__)
                                        ^
[build CXX] connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx
1 error generated.
make[1]: ***
[/lo/core/workdir/CxxObject/connectivity/source/drivers/odbc/OPreparedStatement.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
/lo/core/connectivity/source/drivers/odbc/OTools.cxx:420:9: error:
static_assert failed "sizeof(SQLWCHAR) == 2"
        BOOST_STATIC_ASSERT(sizeof(SQLWCHAR)    == 2);
        ^                   ~~~~~~~~~~~~~~~~~~~~~~~~
/lo/core/workdir/UnpackedTarball/boost/boost/static_assert.hpp:78:41: note:
expanded from macro 'BOOST_STATIC_ASSERT'
#     define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__,
#__VA_ARGS__)
                                        ^
1 error generated.
make[1]: ***
[/lo/core/workdir/CxxObject/connectivity/source/drivers/odbc/OTools.o] Error
1
make: *** [build] Error 2

I use MacOs 10.9.3
XCode: 5.1.1

autogen.input:
--with-system-odbc
--enable-ext-barcode
--enable-ext-diagram
--enable-ext-hunart
--enable-ext-nlpsolver
--enable-ext-ct2n
--enable-ext-numbertext
--enable-postgresql-sdbc
--enable-ext-typo
--enable-ext-validator
--enable-ext-watch-window
--enable-ext-wiki-publisher
--enable-dbus
--enable-graphite
--enable-werror
--enable-debug
--enable-dbgutil
--enable-crashdump
--enable-dependency-tracking
--enable-online-update
--enable-extra-sample
--enable-extra-template
--enable-extra-gallery
--enable-python=internal
#--enable-ext-mariadb-connector
#--with-system-mariadb
#--enable-bundle-mariadb
--enable-avahi
--enable-eot
--disable-gstreamer-0.10
--enable-gstreamer
--enable-odk
#--with-lang=en-US it fr de es pt ru cs hu pl da sv el sk is nl
--with-lang=ALL
--with-myspell-dicts
--without-junit

Any idea?

Julien





--
View this message in context: http://nabble.documentfoundation.org/Build-fail-with-MacOs-in-connectivity-part-tp4111804.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list