Re: [dev] Some issues building Open Office on OSX
Hi Everyone, It compiles! Ship it! I've gotten it to build on OSX Leopard successfully. It even installs and runs too. Yay! Taking your advice Philipp, I did a clean make by doing a checkout and another make (obviously the wrong way to do things but I couldn't find the correct way to do a make clean :-( Any advice here?). After that, I had to apply a patch that I found here: http://www.mail-archive.com/m...@porting.openoffice.org/msg02942.html Apparently, in order to get libjpipe.jnilib to be detected I had to change a line in the source. After that it built and I got a dmg! Thank you Kirill, Mathias, and Philipp for all your help. Next up, I'll update the AquaBuild wiki page as it seems like some of the instructions are out-of-date: http://wiki.services.openoffice.org/wiki/AquaBuild . Hopefully it'll help the next poor sap who tries to do what I did. Regards, Peter On Tue, Jan 5, 2010 at 12:41 AM, Philipp Lohmann philipp.lohm...@sun.comwrote: On 1/4/10 4:07 PM, Peter Kaufman wrote: Hi Kirill and Mathias, Thanks for the help! I recompiled with --disable-mozilla switch and it got a lot farther but now it's hit another wall: - .. checking required files ... . searching zip ... Found: /usr/bin/zip .. analyzing ../util/openoffice.lst ... rmdir: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/: Directory not empty .. reading include pathes ... .. analyzing script: /Users/peterkaufman/open_office/solver/300/ unxmacxi.pro/bin/setup_osl.ins ... .. analyzing directories ... .. analyzing files ... .. analyzing scpactions ... .. analyzing shortcuts ... .. analyzing unix links ... .. analyzing profile ... .. analyzing profileitems ... .. analyzing modules ... .. languages en-US ... .. analyzing files ... ERROR: The following files could not be found: ERROR: File not found: libjpipe.jnilib ERROR: File not found: ldapbe2.uno.dylib ERROR: File not found: libplmxi.dylib ERROR: File not found: libxsec_fw.dylib ERROR: File not found: libxmlsecurity.dylib ERROR: File not found: libxsec_xmlsec.dylib ERROR: File not found: mozruntime.zip ERROR: File not found: xmlsecen-US.res .. cleaning the output tree ... .. removing directory /tmp/ooopackaging/i_728461262616865 ... ** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ** ** ERROR: Saved logfile: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/en-US/log_DEV300_en-US.log ** Mon Jan 4 23:54:29 2010 (00:04 min.) dmake: Error code 255, while making 'openoffice_en-US.dmg' 1 module(s): instsetoo_native need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --all:instsetoo_native - OK, to be frank, I'm not at all sure what the issue is. It seems like a lot of the XML related dylibs aren't building. I don't know why it's still looking for mozruntime.zip as I had the --disable-mozilla switch. If you could help point me in the right direction, it would be a big help. Thank you very much for all your help so far. -Peter As a guess: you didn't clean up all modules after configuring ? In that case you'll need to rebuilt (at least) scp2 which creates the set of files to install (which seems to include mozilla still). Just my 2 cents, pl -- One SVN to rule them all, One SVN to check out from, One SVN to commit them all and on the harddisks bind them In Las Vegas where the server lies. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Some issues building Open Office on OSX
Dear Peter, You said: I did a clean make by doing a checkout and another make (obviously the wrong way to do things but I couldn't find the correct way to do a make clean :-( Any advice here?). Maybe you can use [dmake clean] command to this end Sincerely yours, Kirill 2010/1/11 Peter Kaufman peterkaufmanena...@gmail.com Hi Everyone, It compiles! Ship it! I've gotten it to build on OSX Leopard successfully. It even installs and runs too. Yay! Taking your advice Philipp, I did a clean make by doing a checkout and another make (obviously the wrong way to do things but I couldn't find the correct way to do a make clean :-( Any advice here?). After that, I had to apply a patch that I found here: http://www.mail-archive.com/m...@porting.openoffice.org/msg02942.html Apparently, in order to get libjpipe.jnilib to be detected I had to change a line in the source. After that it built and I got a dmg! Thank you Kirill, Mathias, and Philipp for all your help. Next up, I'll update the AquaBuild wiki page as it seems like some of the instructions are out-of-date: http://wiki.services.openoffice.org/wiki/AquaBuild . Hopefully it'll help the next poor sap who tries to do what I did. Regards, Peter On Tue, Jan 5, 2010 at 12:41 AM, Philipp Lohmann philipp.lohm...@sun.com wrote: On 1/4/10 4:07 PM, Peter Kaufman wrote: Hi Kirill and Mathias, Thanks for the help! I recompiled with --disable-mozilla switch and it got a lot farther but now it's hit another wall: - .. checking required files ... . searching zip ... Found: /usr/bin/zip .. analyzing ../util/openoffice.lst ... rmdir: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/: Directory not empty .. reading include pathes ... .. analyzing script: /Users/peterkaufman/open_office/solver/300/ unxmacxi.pro/bin/setup_osl.ins ... .. analyzing directories ... .. analyzing files ... .. analyzing scpactions ... .. analyzing shortcuts ... .. analyzing unix links ... .. analyzing profile ... .. analyzing profileitems ... .. analyzing modules ... .. languages en-US ... .. analyzing files ... ERROR: The following files could not be found: ERROR: File not found: libjpipe.jnilib ERROR: File not found: ldapbe2.uno.dylib ERROR: File not found: libplmxi.dylib ERROR: File not found: libxsec_fw.dylib ERROR: File not found: libxmlsecurity.dylib ERROR: File not found: libxsec_xmlsec.dylib ERROR: File not found: mozruntime.zip ERROR: File not found: xmlsecen-US.res .. cleaning the output tree ... .. removing directory /tmp/ooopackaging/i_728461262616865 ... ** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ** ** ERROR: Saved logfile: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/en-US/log_DEV300_en-US.log ** Mon Jan 4 23:54:29 2010 (00:04 min.) dmake: Error code 255, while making 'openoffice_en-US.dmg' 1 module(s): instsetoo_native need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --all:instsetoo_native - OK, to be frank, I'm not at all sure what the issue is. It seems like a lot of the XML related dylibs aren't building. I don't know why it's still looking for mozruntime.zip as I had the --disable-mozilla switch. If you could help point me in the right direction, it would be a big help. Thank you very much for all your help so far. -Peter As a guess: you didn't clean up all modules after configuring ? In that case you'll need to rebuilt (at least) scp2 which creates the set of files to install (which seems to include mozilla still). Just my 2 cents, pl -- One SVN to rule them all, One SVN to check out from, One SVN to commit them all and on the harddisks bind them In Las Vegas where the server lies. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Some issues building Open Office on OSX
On 1/11/10 11:33 AM, Peter Kaufman wrote: Taking your advice Philipp, I did a clean make by doing a checkout and another make (obviously the wrong way to do things but I couldn't find the correct way to do a make clean :-( Any advice here?). Personally I'd use a build --prepare --from solenv - which is kind of non-obvious. I think a rm -rf */unxmacxi.pro should do the trick, but you are right, there probably should be a make distclean equivalent. Kind regards, pl -- One SVN to rule them all, One SVN to check out from, One SVN to commit them all and on the harddisks bind them In Las Vegas where the server lies. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Some issues building Open Office on OSX
Hi Philipp, On Monday, 2010-01-11 14:31:24 +0100, Philipp Lohmann wrote: Personally I'd use a build --prepare --from solenv - which is kind of non-obvious. I think a rm -rf */unxmacxi.pro should do the trick, but you are right, there probably should be a make distclean equivalent. dmake distclean dmake clean do exist. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the e...@sun.com account, which I use for mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks. pgpt5Jr3MvS9n.pgp Description: PGP signature
Re: [dev] Some issues building Open Office on OSX
Dear Peter, I used --disable-mozilla too (simultaneously with --disable-build-mozilla) Sincerely yours, Kirill 2010/1/4 Mathias Bauer nospamfor...@gmx.de Peter Kaufman wrote: Hi Kirill, My current ./configure is loaded from a shell script. It looks like this: #!/bin/sh export BASE=`pwd` export OOVERSION=`echo $BASE|sed 's/^\/.*\///'` echo Building from : $BASE echo OpenOffice Version: $OOVERSION ./configure \ --with-lang=en-US de fr \ --disable-odk \ --disable-pasf \ --disable-gtk \ --disable-headless \ --disable-build-mozilla \ --with-build-version=$OOVERSION-`date +%d-%m-%y` \ --disable-fontconfig \ --without-nas \ --with-use-shell=bash \ --with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home \ --with-stlport=no \ --disable-mediawiki \ --enable-werror \ --disable-vba Note the --disable-build-mozilla. I think I've already disabled building mozilla. Unless I'm missing another configure option I need? Moz is not built in your build, it is just unpacked (you can see that from the Entering /Users/peterkaufman/open_office/moz/zipped line in your log file). OOo expects to find zipped precompiled content in this directory. Perhaps you didn't provide it? You can either fix that (I have to look where you can find this precompiled content in case you wanted to do that) or you can use the switch --disable-mozilla instead. Please note that this will prevent OOo from accessing any Mozilla/Thunderbird address books and from working with LDAP and Digital Signatures (as these functions are implemented with Mozilla code on Mac OSX). Regards, Mozilla -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Some issues building Open Office on OSX
Hi Kirill and Mathias, Thanks for the help! I recompiled with --disable-mozilla switch and it got a lot farther but now it's hit another wall: - ... checking required files ... .. searching zip ... Found: /usr/bin/zip ... analyzing ../util/openoffice.lst ... rmdir: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/: Directory not empty ... reading include pathes ... ... analyzing script: /Users/peterkaufman/open_office/solver/300/ unxmacxi.pro/bin/setup_osl.ins ... ... analyzing directories ... ... analyzing files ... ... analyzing scpactions ... ... analyzing shortcuts ... ... analyzing unix links ... ... analyzing profile ... ... analyzing profileitems ... ... analyzing modules ... ... languages en-US ... ... analyzing files ... ERROR: The following files could not be found: ERROR: File not found: libjpipe.jnilib ERROR: File not found: ldapbe2.uno.dylib ERROR: File not found: libplmxi.dylib ERROR: File not found: libxsec_fw.dylib ERROR: File not found: libxmlsecurity.dylib ERROR: File not found: libxsec_xmlsec.dylib ERROR: File not found: mozruntime.zip ERROR: File not found: xmlsecen-US.res ... cleaning the output tree ... ... removing directory /tmp/ooopackaging/i_728461262616865 ... ** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ** ** ERROR: Saved logfile: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/en-US/log_DEV300_en-US.log ** Mon Jan 4 23:54:29 2010 (00:04 min.) dmake: Error code 255, while making 'openoffice_en-US.dmg' 1 module(s): instsetoo_native need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --all:instsetoo_native - OK, to be frank, I'm not at all sure what the issue is. It seems like a lot of the XML related dylibs aren't building. I don't know why it's still looking for mozruntime.zip as I had the --disable-mozilla switch. If you could help point me in the right direction, it would be a big help. Thank you very much for all your help so far. -Peter On Mon, Jan 4, 2010 at 6:17 PM, K S pgmb...@gmail.com wrote: Dear Peter, I used --disable-mozilla too (simultaneously with --disable-build-mozilla) Sincerely yours, Kirill 2010/1/4 Mathias Bauer nospamfor...@gmx.de Peter Kaufman wrote: Hi Kirill, My current ./configure is loaded from a shell script. It looks like this: #!/bin/sh export BASE=`pwd` export OOVERSION=`echo $BASE|sed 's/^\/.*\///'` echo Building from : $BASE echo OpenOffice Version: $OOVERSION ./configure \ --with-lang=en-US de fr \ --disable-odk \ --disable-pasf \ --disable-gtk \ --disable-headless \ --disable-build-mozilla \ --with-build-version=$OOVERSION-`date +%d-%m-%y` \ --disable-fontconfig \ --without-nas \ --with-use-shell=bash \ --with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home \ --with-stlport=no \ --disable-mediawiki \ --enable-werror \ --disable-vba Note the --disable-build-mozilla. I think I've already disabled building mozilla. Unless I'm missing another configure option I need? Moz is not built in your build, it is just unpacked (you can see that from the Entering /Users/peterkaufman/open_office/moz/zipped line in your log file). OOo expects to find zipped precompiled content in this directory. Perhaps you didn't provide it? You can either fix that (I have to look where you can find this precompiled content in case you wanted to do that) or you can use the switch --disable-mozilla instead. Please note that this will prevent OOo from accessing any Mozilla/Thunderbird address books and from working with LDAP and Digital Signatures (as these functions are implemented with Mozilla code on Mac OSX). Regards, Mozilla -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Some issues building Open Office on OSX
On 1/4/10 4:07 PM, Peter Kaufman wrote: Hi Kirill and Mathias, Thanks for the help! I recompiled with --disable-mozilla switch and it got a lot farther but now it's hit another wall: - .. checking required files ... . searching zip ... Found: /usr/bin/zip .. analyzing ../util/openoffice.lst ... rmdir: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/: Directory not empty .. reading include pathes ... .. analyzing script: /Users/peterkaufman/open_office/solver/300/ unxmacxi.pro/bin/setup_osl.ins ... .. analyzing directories ... .. analyzing files ... .. analyzing scpactions ... .. analyzing shortcuts ... .. analyzing unix links ... .. analyzing profile ... .. analyzing profileitems ... .. analyzing modules ... .. languages en-US ... .. analyzing files ... ERROR: The following files could not be found: ERROR: File not found: libjpipe.jnilib ERROR: File not found: ldapbe2.uno.dylib ERROR: File not found: libplmxi.dylib ERROR: File not found: libxsec_fw.dylib ERROR: File not found: libxmlsecurity.dylib ERROR: File not found: libxsec_xmlsec.dylib ERROR: File not found: mozruntime.zip ERROR: File not found: xmlsecen-US.res .. cleaning the output tree ... .. removing directory /tmp/ooopackaging/i_728461262616865 ... ** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ** ** ERROR: Saved logfile: /Users/peterkaufman/open_office/instsetoo_native/ unxmacxi.pro/OpenOffice/dmg/logging/en-US/log_DEV300_en-US.log ** Mon Jan 4 23:54:29 2010 (00:04 min.) dmake: Error code 255, while making 'openoffice_en-US.dmg' 1 module(s): instsetoo_native need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --all:instsetoo_native - OK, to be frank, I'm not at all sure what the issue is. It seems like a lot of the XML related dylibs aren't building. I don't know why it's still looking for mozruntime.zip as I had the --disable-mozilla switch. If you could help point me in the right direction, it would be a big help. Thank you very much for all your help so far. -Peter As a guess: you didn't clean up all modules after configuring ? In that case you'll need to rebuilt (at least) scp2 which creates the set of files to install (which seems to include mozilla still). Just my 2 cents, pl -- One SVN to rule them all, One SVN to check out from, One SVN to commit them all and on the harddisks bind them In Las Vegas where the server lies. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Some issues building Open Office on OSX
Hi Kirill, My current ./configure is loaded from a shell script. It looks like this: #!/bin/sh export BASE=`pwd` export OOVERSION=`echo $BASE|sed 's/^\/.*\///'` echo Building from : $BASE echo OpenOffice Version: $OOVERSION ./configure \ --with-lang=en-US de fr \ --disable-odk \ --disable-pasf \ --disable-gtk \ --disable-headless \ --disable-build-mozilla \ --with-build-version=$OOVERSION-`date +%d-%m-%y` \ --disable-fontconfig \ --without-nas \ --with-use-shell=bash \ --with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home \ --with-stlport=no \ --disable-mediawiki \ --enable-werror \ --disable-vba Note the --disable-build-mozilla. I think I've already disabled building mozilla. Unless I'm missing another configure option I need? Regards, Peter On Sun, Jan 3, 2010 at 6:01 PM, K S pgmb...@gmail.com wrote: What about disabling Mozilla bilding through the configure command? Sinrerely yours, Kirill 2010/1/3, Peter Kaufman peterkaufmanena...@gmail.com: Hello. I'm trying to build Open Office on OSX 10.5 (Intel). I've almost gotten it there, but I've hit a snag. It looks like the moz module isn't being built. Here is the error message I'm getting: build -- version: 275224 There are active module in . Inactive modules will be skipped. = Building module moz = Entering /Users/peterkaufman/open_office/moz Never Build Mozilla. Entering /Users/peterkaufman/open_office/moz/zipped mv ../unxmacxi.pro/inc/nspr ../unxmacxi.pro/inc/nspr_remove_me mv ../unxmacxi.pro/inc/nss ../unxmacxi.pro/inc/nss_remove_me echo /dev/null mv: cannot stat `../unxmacxi.pro/inc/nspr': No such file or directory dmake: Error code 1, while making '../ unxmacxi.pro/misc/replace_old_nss_libs' 1 module(s): moz need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --all:moz Some notes: 1. I used hg pull to get the source as per the wiki here: http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Getting_the_source . The build instructions available were for m46, but if I did an hg pull, I would have been using the latest version of the source, correct? I wasn't sure if I should try to build with the latest, or just use m46. Should I just build it using m46? 2. I had to install libxml2 via macports before transex3 would build. Not sure why that was. IIRC, libxml is already included on the Mac by default--something screwy on my machine I guess. 3. I downloaded 3 seamonkey files for OSX/Intel, and left them zipped in moz/zipped. I noticed that there were two versions on the wiki page, one which is available on the eric.bachard.free.fr server and the other which is available on the tools.openoffice.org server. It appears that the one available on tools.openoffice.org is the newer version, so I grabbed that one. 4. It looks like some of the instructions on the Aqua Build page ( http://wiki.services.openoffice.org/wiki/AquaBuild) are out of date: 1. I had to add the --html flag to ./configure. Without it, the compiler complained. 2. I tried to apply the SeaMonkey patch The patch supplied on the page for Sea Monkey no longer seems to work. It complained about each chunk. It looks like chunk #2 #4 and #6 were already applied to the source, #3 and #6 were just whitespace, and #1 and #5 couldn't be applied because the source changed. #1 and #5 applied a DMOZILLA_INTERNAL_API flag. It looked like the source changed a lot, so I decided not to apply the patches manually. Thank you very much for the help!! Sorry if I'm going about things the wrong way but I wasn't sure exactly what I should do. -Peter
[dev] Some issues building Open Office on OSX
Hello. I'm trying to build Open Office on OSX 10.5 (Intel). I've almost gotten it there, but I've hit a snag. It looks like the moz module isn't being built. Here is the error message I'm getting: build -- version: 275224 There are active module in . Inactive modules will be skipped. = Building module moz = Entering /Users/peterkaufman/open_office/moz Never Build Mozilla. Entering /Users/peterkaufman/open_office/moz/zipped mv ../unxmacxi.pro/inc/nspr ../unxmacxi.pro/inc/nspr_remove_me mv ../unxmacxi.pro/inc/nss ../unxmacxi.pro/inc/nss_remove_me echo /dev/null mv: cannot stat `../unxmacxi.pro/inc/nspr': No such file or directory dmake: Error code 1, while making '../ unxmacxi.pro/misc/replace_old_nss_libs' 1 module(s): moz need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --all:moz Some notes: 1. I used hg pull to get the source as per the wiki here: http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Getting_the_source. The build instructions available were for m46, but if I did an hg pull, I would have been using the latest version of the source, correct? I wasn't sure if I should try to build with the latest, or just use m46. Should I just build it using m46? 2. I had to install libxml2 via macports before transex3 would build. Not sure why that was. IIRC, libxml is already included on the Mac by default--something screwy on my machine I guess. 3. I downloaded 3 seamonkey files for OSX/Intel, and left them zipped in moz/zipped. I noticed that there were two versions on the wiki page, one which is available on the eric.bachard.free.fr server and the other which is available on the tools.openoffice.org server. It appears that the one available on tools.openoffice.org is the newer version, so I grabbed that one. 4. It looks like some of the instructions on the Aqua Build page ( http://wiki.services.openoffice.org/wiki/AquaBuild) are out of date: 1. I had to add the --html flag to ./configure. Without it, the compiler complained. 2. I tried to apply the SeaMonkey patch The patch supplied on the page for Sea Monkey no longer seems to work. It complained about each chunk. It looks like chunk #2 #4 and #6 were already applied to the source, #3 and #6 were just whitespace, and #1 and #5 couldn't be applied because the source changed. #1 and #5 applied a DMOZILLA_INTERNAL_API flag. It looked like the source changed a lot, so I decided not to apply the patches manually. Thank you very much for the help!! Sorry if I'm going about things the wrong way but I wasn't sure exactly what I should do. -Peter