Ben Staveley-Taylor wrote:
>
> I'm trying to build on Mac OS X and having difficulties. I have followed
> the instructions on http://wiki.services.openoffice.org/wiki/AquaBuild as
> best I can but I'm not sure how up to date they are. Does anyone have
> experience of doing this successfully?
>
>
> The build kicks off and runs for a couple of minutes but then fail.
> Snippet from the end of the build log:
>
> gcc -o out/Darwin_SINGLE_SHLIB/drbg.o -c -O2 -fPIC -Di386 -Wmost
> -fpascal-strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR
> -DHAVE_BSD_FLOCK -DXP_UNIX -DSHLIB_SUFFIX=\"dylib\"
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG
> -DUSE_UTIL_DIRECTLY -DMP_API_COMPATIBLE -I../../../../dist/out/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss -Impi -Iecl
> drbg.c
> drbg.c: In function 'RNG_RandomUpdate':
> drbg.c:516: error: size of array 'arg' is negative
> make[3]: *** [out/Darwin_SINGLE_SHLIB/drbg.o] Error 1
> make[2]: *** [libs] Error 2
> make[1]: *** [libs] Error 2
> make: *** [libs] Error 2
> dmake: Error code 2, while making
> './unxmacxi.pro/misc/build/so_built_nss'
>
> ....
>
I do not know, if this can help, but I just compiled an intel version of
ooo-build-3.2.0.9 in a terminal :
- by adding http://old.nabble.com/file/p28125787/others-mac10.6.diff
others-mac10.6.diff
http://old.nabble.com/file/p28125787/solenv-mac10.6.diff solenv-mac10.6.diff
in ooo-build-3.2.0.9/patches/dev300/
- and then by patching :
diff --git patches/dev300/apply.orig patches/dev300/apply
index 4bb776f..2401a77 100644
--- patches/dev300/apply.orig
+++ patches/dev300/apply
@@ -2405,6 +2405,8 @@ SectionOwner => thorsten
apple-remote-update.diff, i#107648, thorsten
sfx2-global-scope-fix.diff, thorsten
cws-kohei03-sc-macfix.diff, thorsten
+solenv-mac10.6.diff, osnola
+others-mac10.6.diff, osnola
[ PardusOnly ]
pardus-default-ExternalMailer.diff
diff --git distro-configs/GoOoMacOSX.conf.in
distro-configs/GoOoMacOSX.conf.in
index 82d1f24..df7581d 100644
--- distro-configs/GoOoMacOSX.conf.in
+++ distro-configs/GoOoMacOSX.conf.in
@@ -7,3 +7,4 @@
--enable-wiki-publisher
--enable-report-builder
--with-extension-integration
+--with-agg
- and finally by patching by hand :-~ :
Index: solenv/bin/modules/installer/servicesfile.pm
===================================================================
--- build/ooo320-m12/solenv/bin/modules/installer/servicesfile.pm
+++ build/ooo320-m12/solenv/bin/modules/installer/servicesfile.pm
@@ -458,7 +458,8 @@
if ( $#unocomponents > -1 ) { $uno_error_occured =
register_unocomponents($allvariableshashref, \...@unocomponents,
$regcompfileref, $servicesfile, $nativeservicesurlprefix); }
if ( $#javacomponents > -1 ) { $java_error_occured =
register_javacomponents($allvariableshashref, \...@javacomponents,
$regcompfileref, $servicesfile, $regcomprdb, $javaservicesurlprefix); }
- if ( $#pythoncomponents > -1 ) { $python_error_occured =
register_pythoncomponents(\...@pythoncomponents, $regcompfileref,
$servicesfile, $includepatharrayref); }
+# OSNOLA : if set, stocservices.uno.dylib do no preregisted :-~
+# if ( $#pythoncomponents > -1 ) { $python_error_occured =
register_pythoncomponents(\...@pythoncomponents, $regcompfileref,
$servicesfile, $includepatharrayref); }
if ( $uno_error_occured || $java_error_occured ||
$python_error_occured ) { $registererrorflag = 1; }
--
View this message in context:
http://old.nabble.com/Mac-OS-X-10.6-%28Snow-Leopard%29-build-problems-with-OOO320-tp28027006p28125787.html
Sent from the openoffice - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org