Dear All,

this is to inform you that I am trying to make our shared Mac Mini
able to build AOO41X.

The sources of information on this topic are:

 - the Building guide on our Wiki [1] and [2],

 - the build script for AOO 4.1.10 [3].

I am a bit struggling behind the differences between the two
documents, in terms of what should come from macports and what should
be compiled and installed into /usr/local. If someone (Jim?) could
help me merging them, I would be grateful.

As AOO 4.1.X should target MacOS 10.7, I installed Xcode 12.0.1 and
used XcodeLegacy.sh to install the SDK for Xcode 10.11. This seems the
only way to achieve the goal under macOS Catalina. Some environment
variables have to be set -- I can share them with anyone interested.

I started with a macports-only approach, but the compilation got stuck
at the jvmfwk module with a very obscure error about the iconv's
dynamic libraries' RPATH.  I will send more information if my current
attempt fails again.

The AOO41X branch did not compile as-is. In particular, all configure
scripts fail when compiling test programs using exit(3) and sometimes
even printf(3). The fix consists of including the proper headers,
stdlib.h and stdio.h respectively. I will fork a branch when I will
have reached a meaningful state.

I will keep you up to date. I am open to questions, comments,
complaints etc.

References:

 1: https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO

 2: 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_MacOsX

 3: 
https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
-- 
Arrigo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to