Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C7B59B32 for ; Fri, 16 Dec 2011 18:34:48 +0000 (UTC) Received: (qmail 21882 invoked by uid 500); 16 Dec 2011 18:34:48 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 21828 invoked by uid 500); 16 Dec 2011 18:34:48 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 21812 invoked by uid 99); 16 Dec 2011 18:34:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 18:34:48 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.25.134.18] (HELO mailout04.t-online.de) (194.25.134.18) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 18:34:37 +0000 Received: from fwd18.aul.t-online.de (fwd18.aul.t-online.de ) by mailout04.t-online.de with smtp id 1Rbcbp-0003FF-91; Fri, 16 Dec 2011 19:34:17 +0100 Received: from [192.168.0.23] (TJNf+0ZaghNJO-xUu3k0AYYnoNknXIMPdMTKVLT-4iZcMYAiMpPFUyDS0-ZldpSgVb@[87.161.159.254]) by fwd18.t-online.de with esmtp id 1Rbcbc-1uSVGa0; Fri, 16 Dec 2011 19:34:04 +0100 Message-ID: <4EEB8F1C.6010606@t-online.de> Date: Fri, 16 Dec 2011 19:34:04 +0100 From: Regina Henschel User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: [build] Windows build inclusive nss and moz References: <4EEB4D07.9050309@googlemail.com> In-Reply-To: <4EEB4D07.9050309@googlemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: TJNf+0ZaghNJO-xUu3k0AYYnoNknXIMPdMTKVLT-4iZcMYAiMpPFUyDS0-ZldpSgVb X-TOI-MSGID: 7b7e8604-dec3-4df3-94e1-efe48291fe11 X-Virus-Checked: Checked by ClamAV on apache.org Hi Oliver, I struggled about mozilla in LibreOffice too. Perhaps you use my notices http://wiki.documentfoundation.org/Development/BuildingOnWindowsWithCygwinAndMSVCExpress But my last build of AOO is some time ago, so I do not know, whether this really helps. Kind regards Regina Oliver-Rainer Wittmann schrieb: > Hi, > > until yesterday all my local Windows builds of AOO on the way to our "IP > cleared" milestone are made more or less without the copy-left > components - using configure option --disable-copyleft (it is currently > the default). > > As Andre has started working on a certain configure option to enable the > build of copy-left (category-b) components I wanted to try to build nss > and moz in advance. > In the following I am documenting my experiences and my solutions to get > a corresponding build done. > > In advance, here in my system setup: > - Windows 7 > - Visual Studio C++ 2008 Express > - Windows SDK for Windows 2008 Server > - JDK 1.6.0_27 > Thus, I am also using the configure options --disable-directx, > --disable-atl and --disable-activex. > > Here is my journey: > As default configure option --disable-copyleft disables the build of nss > and moz I added configure option --enable-copyleft to my configure call. > The following configure run did not succeed: > > [snip] > checking whether to enable build of Mozilla/Mozilla NSS-using > components... yes > checking whether to build Mozilla addressbook connectivity... yes > checking whether to build XML Security support... yes > checking whether to build LDAP configuration backend... yes > checking which LDAP SDK to use... Netscape/Mozilla > checking which mozilla to use... internal > checking for toolkit mozilla should use... checking whether to build > Mozilla/SeaMonkey... yes > checking whether to build provided NSS module... yes > checking for Mozilla build tooling... ok > configure: error: Building SeaMonkey is supported with Microsoft Visual > Studio .NET 2005 only. > > > I remembered that in the Windows building guide [1] something about > prebuilts and Mozilla binary distribution was said. Thus, I added > configure option --disable-build-mozilla and copied the corresponding > prebuilts, found at [2], in the folder main/moz/zipped/ > > The next run of the configure did not succeed, too: > > [snip] > checking whether to enable build of Mozilla/Mozilla NSS-using > components... yes > checking whether to build Mozilla addressbook connectivity... yes > checking whether to build XML Security support... yes > checking whether to build LDAP configuration backend... yes > checking which LDAP SDK to use... Netscape/Mozilla > checking which mozilla to use... internal > checking for toolkit mozilla should use... checking whether to build > Mozilla/SeaMonkey... no > checking whether to build provided NSS module... yes > checking for Mozilla build tooling... configure: error: Mozilla build > tooling not found. > Use the --with-mozilla-build option after installing the tools obtained > from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32 > > Now, I was somehow confused: > I have specified that the build of moz is disable, why should I install > Mozilla build tooling. Consulting the configure.in (source for the > configure script) and the Internet gave me the answer. For building nss > the Mozilla build tooling is needed. > Thus, I installed the Mozilla build tooling, found at the above given > location, and I added configure option > --with-mozilla-build=c:/mozilla-build. > The following configure run went well, but having the configure options > --disable-build-mozilla and --with-mozilla-build=c:/mozilla-build side > by side looks very strange. > Now, it was time to start the build. The build took some time and failed > in module instsetoo_native. Build of modules nss and moz worked well, > while in module moz the prebuilts are unpacked instead of performing a > build. > The build failed in module instsetoo_native due to some missing files in > main/external/msvcp71/ and main/external/msvcp80/ > - msvcr71.dll in main/external/msvcp71/ - it comes from the Visual > Studio C++ 2003 - I am not sure, if it is really needed. > - msvcp80.dll and msvcr80.dll in main/external/msvcp80/ - these come > from the Visual Studio C++ 2005 - may be there are needed for the > prebuilts in module moz (SeaMonkey), but I am not sure. > After providing these files in the corresponding folders the build > succeeded. > > The following features are available in the installed Apache OpenOffice: > - Digital signatures (Menu File - Digital Signatures) > - Macro Security (Menu Tools - Options - Security - button "Macro > Security") > - Uno Service com.sun.star.security.CertificateContainer is available. > This can be tested with the following Basic script: > > test = createUnoService("com.sun.star.security.CertificateContainer") > msgbox test.dbg_methods > > > I hope this helps others to get a Windows build inclusive nss and moz. > > May be Andre is inspired in his work regaring the configure script - the > one or the other improved hint or message from the configure script > might help. > > I think that the prebuilts for module moz (SeaMonkey version 1.1.4) > should be available inside our SVN repository. One option would be to > directly check them in into folder main/moz/zipped/ where they are > needed. Another option would be that the bootstrap script triggers a > corresponding download, similar to our ext_sources mechanism. > More options? > Which option do we prefer? > > > Best regards, Oliver. > > [1] > http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows > > [2] http://tools.openoffice.org/moz_prebuild/OOo3.2 >