incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chao Huang <>
Subject Build AOOo on Mac OS X 10.7
Date Thu, 22 Sep 2011 06:49:15 GMT
hi, all

On Mac OS X 10.7, I'm trying to build AOOo in following steps as I did
on Mac OS 10.6/10.5 :
   1) download source code through "svn co ooo"

   2) download mozilla archives from
        put them under dir "ooo/main/moz/zipped"

   3) run commands under dir "ooo/main" like this
           ./configure --disable-odk --disable-pasf --disable-gtk
--disable-headless --disable-build-mozilla --disable-fontconfig
--without-nas --with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home
--with-stlport=no --disable-mediawiki --enable-werror --disable-vba

   4) there will be a break with error message (due to the restriction
of gcc version 4.0 in configure)
           checking for gcc... /usr/bin/gcc
           checking the GNU gcc compiler version... configure: error:
You need to use the gcc-4.0 compiler (gcc 4.2.1 won't work with the
MacOSX10.4u.sdk) - set CC accordingly

It seems like that there is only gcc-4.2.1 in Mac OS X 10.7 with Xcode
4.1. The "MacOSX10.4u.sdk" is not supported by Mac OS X 10.7. There
are only "MacOSX10.6.sdk" and "MacOSX10.7.sdk" under dir
           $ ls /usr/bin/gcc*
           /usr/bin/gcc		/usr/bin/gcc-4.2

I'm going to remove the gcc-4.0 restriction and restart building.

Is there anyone who built out AOOo successfully on Mac OS X 10.7
(Intel) ? Thanks!

Best regards,

Chao Huang

View raw message