On 4/23/12 9:32 AM, Dave Fisher wrote:
I have some questions about building for MacOSX
The project wiki is not very clear. [1][2]
(1) Where can I get a copy of Mac 10.4 SDK?
(2) What version of XCode should I install?
Google answers (1) and (2) with the TDF's wiki[2]. I downloaded XCode 3.2.6 for
my MacOSX 10.6.8 system and checked the Mac 10.4 SDK option during
installation. Took a couple of hours, but worked fine.
(3) dmake and epm. It should be more obvious that the config step can build
these.
(4) The Java 1.6 vs. 1.5 issue is confusing as well. I'm on 10.6.8 and have
Java SE 1..6.0_31- yes I applied the Flashback update. Will everything work ok?
(5) I did the autoconfig and bootstrap i put the files from
http://www.openoffice.org/tools/moz_prebuild/OOo3.2/ into moz/zipped/ as the
config process suggested. I started the build, after quite awhile I had an
error with moz. I am unsure what to do next
can you tell us which configure switches you have used?
For example --disable-build-mozilla is important here. See for example
the configure switches I have used to build the binaries
https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots#AOO3.4UnofficialDeveloperSnapshots-buildflags
Juergen
Here is my moz directory structure:
./extractfiles.mk
./makefile.mk
./patches/arm_build_fix.patch
./patches/brokenmakefile.patch
./patches/consecutive_ldap_queries.patch
./patches/cygwin_paths_in_ldap_sdk.patch
./patches/dtoa.patch
./patches/embed_manifest.patch
./patches/gcc46.patch
./patches/index.txt
./patches/link_fontconfig.patch
./patches/no_core_abspath_in_nss.patch
./patches/nss_linux.patch
./patches/respect_disable_pango.patch
./patches/wchart_on_msvc8.patch
./prj/build.lst
./prj/d.lst
./README
./seamonkey-source-1.1.14.patch
./unxmacxi.pro/inc/myworld.mk
./zipped/MACOSXGCCIinc.zip
./zipped/MACOSXGCCIlib.zip
./zipped/MACOSXGCCIruntime.zip
Here is the output:
Entering /Users/dave/Documents/AOO/aoo-3.4.0/main/moz
mkout -- version: 1.8
Use of internal mozilla is disabled.
Entering /Users/dave/Documents/AOO/aoo-3.4.0/main/moz/zipped
-----------------------------------------------
Error: No makefile.mk found!
-----------------------------------------------
force_dmake_to_error
dmake: Error executing 'force_dmake_to_error': No such file or directory
dmake: Error code -1, while making 'no_traget'
1 module(s):
moz
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making
/Users/dave/Documents/AOO/aoo-3.4.0/main/moz/zipped
When you have fixed the errors in that module you can resume the build by
running:
build --all:moz
Regards,
Dave
[1]
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_MacOsX
[2]
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_MacOSX
[3] http://wiki.documentfoundation.org/Development/Install_Mac_OS_X_Dependencies