Build errors in nss and jurt modules (Mac OS X).

Boris Dušek dusek at brailcom.org
Mon Jul 9 08:33:37 PDT 2012


Hello Issa,

7. 7. 2012 v 8:50, Issa Alkurtass:

> My autogen.lastrun was:
> --disable-mozilla
> --disable-nss-module
> --with-macosx-sdk=10.6
> --with-max-jobs=8
> --with-num-cpus=8
> --without-java
> --without-junit
> --without-doxygen
> --without-myspell-dicts

I think you need to explicitely build for i386, that is, to specify in the configure (or autogen) command this at the end, just like you specify --disable-mozilla etc.:

./configure ...other options... CC="gcc -arch i386" CXX="g++ -arch i386"

or if you wish to build with clang:

./configure ...other options... CC="clang -arch i386" CXX="clang++ -arch i386"

Both of the build errors you mention are from my experience because 64-bit binary gets built where
32-bit is expected (or vice versa). At least my experience with Xcode 4.3.3.

Also note that AFAIK LO is not 64-bit-capable on Mac ATM, so you *have* to build it for 32-bit
to get anything meaningful.

HTH,
Boris



More information about the LibreOffice mailing list