Hi *,

On Tue, Sep 29, 2009 at 9:59 AM, Stephan Bergmann
<stephan.bergm...@sun.com> wrote:
> -Hi all,
>
> For what its worth, the below script is my (failed) attempt at building OOo
> (DEV300m60) on Mac OS X Snow Leopard (10.6).  Maybe somebody finds this
> helpful.  Some remarks:
>
> [hints/patch to compile a 10.6 version, against the 10.6 SDK]

As mentioned previously, the alternative is to use the 4.0 version of
the compiler and the 10.4u sdk (is not selected by default when
installing XCode 3.2). Then, all you need to do is to apply the patch
from issue 106059
http://qa.openoffice.org/issues/show_bug.cgi?id=106059 - I'll just
copy the text from the issue:

Building on Mac OS X 10.6 (Snow Leopard) for 10.4 requires the use of gcc-4.0
compiler and a compatible python version.

The patch adds the corresponding configure-checks
* error if gcc is not 4.0.x,
* use python2.3 from the SDK (the copy in /System/.... is broken),
* default to CC/CXX for the objc/obj++ compilers,
* modify lpsolve patch to also use $CC,
* disable the use of the seperate nss (the libsqlite3.dylib conflicts with the
copy from the 10.6 system)

for the last one, issue 104832 took a different aproach (used for
HH-environment) - there it is solved by forcing the libsqlite3 from the system.

*** Don't forget to run autoconf ***

apply the patch, run autoconf, run

CC=gcc-4.0 CXX=g++-4.0 ./configure --with-use-shell=bash
[--disable-nss-module] …

and you'll get a working build. Instead of setting CC and CXX, you can of course
also use appropriate symlinks so that gcc and g++ will be the 4.0 version

ciao
Christian

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

Reply via email to