Build Problem with Lode

Jason Marshall j_k_marshall_2004 at live.com
Sun Dec 11 12:58:53 UTC 2016


Jason Marshall <j_k_marshall_2004 at live.com> wrote:

[snip]

> I am attempting to build LibreOffice on a Windows 7 32-but platform.

[snip]

> However, at a relatively advanced stage of the build, I receive the following error message and the build terminates:

{snip]

> [build UNO] cppuhelper
> Microsoft (R) Windows Script Host Version 5.8
> Copyright (C) Microsoft Corporation. All rights reserved.

> C:\cygwin\lode\dev\core\workdir\UnpackedTarball\xml2\win32\configure.js(181, 2) Microsoft JScript > runtime error: Automation server can't create object

> Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
> Copyright (C) Microsoft Corporation.  All rights reserved.

> NMAKE : fatal error U1064: MAKEFILE not found and no target specified
> Stop.
> make[1]: *** [C:/cygwin/lode/dev/core/external/libxml2/ExternalProject_xml2.mk:34: > C:/cygwin/lode/dev/core/workdir/ExternalProject/xml2/build] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [Makefile:266: build] Error 2


Noel Grandin <noelgrandin at gmail.com> wrote:


>> That smells to me like an over enthusiastic anti virus program


I have completely disabled the F-Secure anti-virus program and also ensured that Windows Defender is switched off, meaning that no ant-virus systems are active during the build.  However, I still receive the following error messages as the build terminates on two consecutive attempts:


Jason and Emma at JasonandEmma-PC /lode/dev/core
$ ../../opt/bin/make 2>&1 | tee build.log
C:/cygwin/lode/opt/bin/make -j 2  -rs -f C:/cygwin/lode/dev/core/Makefile.gbuild    all
[build DEP] LNK:Library/shlxthdl_x64.dll
[build DEP] LNK:Library/shlxthdl.dll
[build HPP] udkapi
[build UNO] offapi
[build DBc] offapi
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\cygwin\lode\dev\core\workdir\UnpackedTarball\xml2\win32\configure.js(181, 2) Microsoft JScript runtime error: Automation server can't create object

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
make[1]: *** [C:/cygwin/lode/dev/core/external/libxml2/ExternalProject_xml2.mk:34: C:/cygwin/lode/dev/core/workdir/ExternalProject/xml2/build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:266: build] Error 2


Jason and Emma at JasonandEmma-PC /lode/dev/core
$ ../../opt/bin/make 2>&1 | tee build.log
C:/cygwin/lode/opt/bin/make -j 2  -rs -f C:/cygwin/lode/dev/core/Makefile.gbuild    all
[build HPP] offapi
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\cygwin\lode\dev\core\workdir\UnpackedTarball\xml2\win32\configure.js(181, 2) Microsoft JScript runtime error: Automation server can't create object

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
make[1]: *** [C:/cygwin/lode/dev/core/external/libxml2/ExternalProject_xml2.mk:34: C:/cygwin/lode/dev/core/workdir/ExternalProject/xml2/build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:266: build] Error 2


This is the same message as is received when F-Secure was not disabled.  However, perhaps interestingly the failure seems to be associated or else coincide with different build tasks (i. e. '[build DBc] offapi' on first build and then '[build HPP] offapi' on second build).


Having consulted the 'build.log' file, the contents are essentially as above on the second build attempt, but the file identifies that the build process is called with the following parameters:


C:/cygwin/lode/opt/bin/make -j 2  -rs -f C:/cygwin/lode/dev/core/Makefile.gbuild   all


Any further ideas would be much appreciated.


Thanks


Jason



________________________________
From: Noel Grandin <noelgrandin at gmail.com>
Sent: 04 December 2016 15:50
To: Jason Marshall; libreoffice at lists.freedesktop.org
Subject: Re: Build Problem with Lode

That smells to me like an over enthusiastic anti virus program
On Sun, 04 Dec 2016 at 15:17, Jason Marshall <j_k_marshall_2004 at live.com<mailto:j_k_marshall_2004 at live.com>> wrote:

Dear Sir/ Madam


I am attempting to build LibreOffice on a Windows 7 32-but platform.  Initially I attempted to do this without recourse to lode but the build failed.  I was advised to re-attempt a build but using the Lode project.  I have been able to successfully get Lode to setup a dev build environment, with the following command completing successfully:


./setup --dev


Following that, I then run the following:


cd dev/core
./autogen.sh
../../opt/bin/make 2>&1 | tee build.log


However, at a relatively advanced stage of the build, I receive the following error message and the build terminates:


[build UNO] cppuhelper
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\cygwin\lode\dev\core\workdir\UnpackedTarball\xml2\win32\configure.js(181, 2) Microsoft JScript runtime error: Automation server can't create object

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
make[1]: *** [C:/cygwin/lode/dev/core/external/libxml2/ExternalProject_xml2.mk:34: C:/cygwin/lode/dev/core/workdir/ExternalProject/xml2/build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:266: build] Error 2


This message is precisely the same as that which was received when I attempted to build without Lode.  Accordingly, it would seem that the use of Lode has not solved the problem, with likely the problem lying elsewhere.

I note that the error message above makes reference to the following script:


C:\cygwin\lode\dev\core\workdir\UnpackedTarball\xml2\win32\configure.js(181, 2) Microsoft JScript runtime error: Automation server can't create object


I have viewed this script at the line identified in the error, which is pasted as follows:


fso = new ActiveXObject("Scripting.FileSystemObject");


I would infer that this is a JScript issue, but am not absolutely familiar with such scripting.  It looks like the command above is fairly simple, which perhaps indicates that the issues lies elsewhere.


Would anybody have any ideas as to what the problem may be?


Thank you for your time.


Yours faithfully


Jason Marshall

_______________________________________________
LibreOffice mailing list
LibreOffice at lists.freedesktop.org<mailto:LibreOffice at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/libreoffice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20161211/bcc5c606/attachment.html>


More information about the LibreOffice mailing list