https://bugs.freedesktop.org/show_bug.cgi?id=54070
Bug #: 54070
Summary: BUILD: LibreOffice does not build on Mac OS 10.7 or
higher
Classification: Unclassified
Product: LibreOffice
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Mac OS X (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Libreoffice
AssignedTo: [email protected]
ReportedBy: [email protected]
(I am filing this as a bug so that others may find it with google, and it can
get closed once the issue is fixed, and also as a sort of documentation on my
experiences trying to compile, for those who may follow me)
>From http://www.neooffice.org/neojava/en/build.php :
"Building NeoOffice 3.3 on Mac OS X 10.7 or higher is not feasible and the
build will eventually fail. Numerous pieces of NeoOffice's underlying
OpenOffice.org source code would need to be rewritten in order for NeoOffice to
compile on Mac OS X 10.6 or higher so we compile NeoOffice on the oldest Mac OS
X version that NeoOffice can run on and use dynamic loading for APIs and
features on newer Mac OS X versions."
I too have yet to succeed in building LibreOffice on Mac OS 10.7 at the present
time (post 3.6.0). I tried both with and without various combinations of the
following configuration options:
./autogen.sh --with-max-jobs=8 --with-num-cpus=8 --with-macosx-sdk=10.[467]
--enable-debug --with-boost=no --with-system-boost=no --without-doxygen
--disable-odk --disable-mozilla
I have also used:
$ sudo xcode-select /Applications/Xcode.app # builds with Xcode 4.3.2
$ sudo xcode-select /Developer # builds with Xcode 4.1
$ sudo xcode-select /Developer-old # builds with Xcode 3.2.6
With "--with-macosx-sdk=10.4", ./autogen fails with the following:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Error running configure at ./autogen.sh line 187.
(config.log only contains "configure: exit 1")
With other SDKs the build fails after 35 minutes (in 81/85 Tail build) with
errors talking about libraries with duplicate installation names, all relating
somehow to "unxmacxi.pro". An example is:
ld: warning: dylibs with same install name:
/Users/nickshanks/Projects/LibreOffice/core/solver/unxmacxi.pro/lib/libuno_sal.dylib
and
/Users/nickshanks/Projects/LibreOffice/core/solver/unxmacxi.pro/lib/libuno_sal.dylib.3
I believe this relates to the Uno Office Development Kit, which is why I tried
--disable-odk (although this doesn't seem to prevent pyuno from appearing in
the terminal as LO is built)
The failure is an infinite loop and if left unchecked (I built overnight) with
fill up 16 Exabytes of virtual memory and make the computer unresponsive to
input.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs