Post-Build Limited Functionality

2017-02-26 Thread Jason Marshall
Dear Sir/ Madam


I have recently built LibreOffice on Lubuntu, with the call to 'make' having 
been preceded by successfully running 'sudo apt-get build-dep libreoffice' and 
then 'autogen.sh' with the following arguments:


--without-java--without-help--without-myspell-dicts


The actual build was interrupted a couple of times, but having been re-started, 
concluded with the following final output, which I am assuming signalled 
success:


[build ALL] top level modules: build-non-l10n-only build-l10n-only


I then called 'soffice' from the terminal, but was instructed by a message to 
install 'libreoffice-common', which I duly did with success.  Running 'soffice' 
resulted in libreoffice successfully starting and presenting the initial 
screen, where one is invited to open a file or else start one of the 
applications, such as Writer or Calc etc..  When I click to start one of the 
applications, nothing happens.  When I then go to open a template from this 
same start screen, LibreOffice crashes and presents me with the document 
recovery dialog box, stating the following:


Due to an unexpected error, LibreOffice crashed


Within this dialog box, there is an empty list of files that will be recovered.


In the same vein as the above, I note that I cannot start the individual 
applications from the terminal.  For example, if I enter the following:


soffice --writer


The splash screen will appear and then disappear, but nothing further will 
happen, although control from the terminal is not returned to me, as if 
something is attempting to run.  At the same time, Lubuntu Task Manager 
identifies that 'soffice.bin' is running.


Does anybody have any idea as to why LibreOffice is not fully functioning 
following what appears to be a successful build?


Thank you.


Jason Marshall
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build Time Query

2017-02-23 Thread Jason Marshall
Dear Sir/ Madam

I am attempting to build LibreOffice on the following platform:


  *
OS: Lubuntu
  *
Processor: Intel Atom Z530 1.6 GHz
  *
RAM: 1Gb
  *
Disk: 60Gb SSD

I have successfully done the following:


  *
Installed build dependencies
  *
Cloned the repository
  *
Run autogen.sh with the parameters --without-java --without-help 
--without-myspell-dicts
  *
Run make

The actual build triggered by running ‘make' initially ran for approximately 
ten hours, but unfortunately the battery failed on my computer meaning that the 
build presumably was interrupted.  Clearly, the battery failure issue was 
unfortunate, but I am unclear as to the expected build times on the above 
specification of platform.  Would greater than ten hours be expected, as I am 
aware that the hardware specification above is quite low.  In addition, if the 
failed build is simply re-started by running the ‘make' command, will it simply 
pick-up from the point that the failure occurred, or is this not possible?

Thanks

Jason
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build Problem with Lode

2016-12-14 Thread Jason Marshall
Hi Yossi

On 13/12/2016 08:00, Yossi Zahn wrote:


On 11/12/2016 11:30 PM, Jason Marshall wrote:
I have tried to get some understanding of JScript and have inferred that for 
the purpose of building LibreOffice that it would require 'JScript .NET' as 
opposed to simply 'JScript', where the latter is for hosting JScript inside a 
webpage.  I have therefore checked the installation status of '.NET Framework' 
and can report that the following items are installed:
AFAIK the windows scripting host does not require .net framework at all.
Do you get the same error when creating a text file containing the following 
single line:
var fso = new ActiveXObject("Scripting.FileSystemObject");
and running it as such:
cscript /e:javascript path/to/file

I have created a text file test script in compliance with your instructions and 
called 'cscript' by directly defining the script engine using the 
'/e:javascript' parameter.  The call and output are as follows, but it seems 
that despite using the parameter, the same error arises as with the build:

Jason and Emma@JasonandEmma-PC ~
$ cscript /e:javascript scripttest.txt
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\cygwin\home\Jason and Emma\scripttest.txt(1, 1) Microsoft JScript runtime 
error: Automation server can't create object

I guess that this would imply an issue with my individual set-up, as it seems 
that the use of the parameter that you and Thorsten have identified would work 
in the majority of cases.

Would anybody know what may have prevented this from working?

Thank you.

Jason
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build Problem with Lode

2016-12-11 Thread Jason Marshall
Hi Noel

Noel Grandin wrote:

> Jason what kind of Windows is this? Because it seems like some part of the 
> Windows jscript runtime is not properly installed. Did you remove any Windows 
> components perhaps?

My Windows set-up is described as follows:

  *   Windows 7 Home Premium
  *   Service Pack 1
  *   32-bit

I can also confirm that the 'Programs and Features' part of Control Panel 
identifies that 'Microsoft Visual Studio Community 2013 with Update 5' is 
installed.

I have tried to get some understanding of JScript and have inferred that for 
the purpose of building LibreOffice that it would require 'JScript .NET' as 
opposed to simply 'JScript', where the latter is for hosting JScript inside a 
webpage.  I have therefore checked the installation status of '.NET Framework' 
and can report that the following items are installed:

  *   Microsoft .NET Framework 4.5 Multi-Targeting Pack
  *   Microsoft .NET Framework 4.5 SDK
  *   Microsoft .NET Framework 4.5.1 Multi-Targeting Pack
  *   Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)
  *   Microsoft .NET Framework 4.5.1 SDK
  *   Microsoft .NET Framework 4.6.1

I have also checked in the 'Services' section of the 'Administrative Tools' 
section of Control Panel and have identified that the following entries are 
apparent with the associated 'Status' and 'Startup Type':

  *   Microsoft .NET Framework NGEN v2.0.50727_X86
 *   Status: null
 *   Startup Type: Disabled
  *   Microsoft .NET Framework NGEN v4.0.30319_X86
 *   Status: null
 *   Startup Type: Automatic (Delayed Start)

Assuming there is nothing untoward about the JScript set-up as described above 
and that I am not 'barking up the wrong tree' in making reference to the .NET 
Framework, is there any way to more generally confirm that my JScript set-up in 
Windows is okay?

Thanks

Jason
On 11/12/2016 17:42, Noel Grandin wrote:
Jason what kind of Windows is this? Because it seems like some part of the 
Windows jscript runtime is not properly installed. Did you remove any Windows 
components perhaps?
On Sun, 11 Dec 2016 at 19:39, Oliver Brinzing 
> wrote:

Hi Jason,

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

i cannot confirm your build problems, but building current master with a fresh 
lode setup (win 10
64bit, vs2013) fails for me too.



Regards
Oliver


[SLC] sw
warn:sal.rtl:9680:14236:sal/rtl/bootstrap.cxx:379: couldn't open file:
file:///D:/lo_sources/lode/dev/core/workdir/LinkTarget/Executable/cppunittester.ini
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844:
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private 
Schlüssel für die
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: 
PDFDocument::Sign:
PDFWriter::Sign() failed
D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd finished in: 172ms
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844:
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private 
Schlüssel für die
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: 
PDFDocument::Sign:
PDFWriter::Sign() failed
D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd2
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd2 finished in: 23ms
PDFSigningTest::testPDFRemove finished in: 28ms
PDFSigningTest::testPDFRemoveAll finished in: 48ms
PDFSigningTest::testPDF14Adobe finished in: 27ms
PDFSigningTest::testPDF16Adobe finished in: 18ms
func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


Re: Build Problem with Lode

2016-12-11 Thread Jason Marshall
Jason Marshall <j_k_marshall_2...@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 <noelgran...@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@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.gbuildall
[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@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.gbuildall
[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 <noelgran...@gmail.com>
Sent: 04 December 2016 15:50
To: Jason Marshall; libreoffice@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_2...@live.com<mailto:j_k_marshall_2...@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

RE: Build Problem with Lode

2016-12-05 Thread Jason Marshall
Thank you for this information and advice.

From: slacka<mailto:lukebe...@hotmail.com>
Sent: ‎04/‎12/‎2016 23:45
To: libreoffice@lists.freedesktop.org<mailto:libreoffice@lists.freedesktop.org>
Subject: RE: Build Problem with Lode

Jason Marshall wrote
> From your experience, is it best to disable anti-virus entirely during the
> build, or should it be configured to ignore certain programs associated
> with the build?

As you can see from the build notes
<https://wiki.documentfoundation.org/Development/BuildingOnWindows#Norton_Antivirus_breaking_the_build>
ever different anti-virus programs have different false positives. If you
want to take the time to review the log and manually whitelist each
quarantined file, you can keep your anti-virus software enabled. Disabling
it is the universal solution with the added bonus of speeding up build
times.



Jason Marshall wrote
> Would the build still proceed if I disconnected my internet connection? I
> ask because if I need to disable anti-virus, I would prefer to also
> disable my internet connection for that period.

I've lost Internet in the middle of builds and still had them succeed.

I've browsed the Internet for years without AV software, and never once been
infected by malware. Then again, my main user account has lacked admin
privileges since my win2K days. I'm fanatical about keeping my OS/Browser
fully updated and have had flash set to only click-to-play and use the
NoScript extension to only allow JS from whitelisted sites since those
options have existed.

No AV software is 100% effective. They do not cover every virus signature
and cannot detect all new threats. I worked in IT for a large corporation.
During that time we were hit several times by 0-day infections that got to
our users before their signature had made it into our vendor’s DB. So if
you're browsing sketchy sites with outdated software and relying 100% on
your AV software to protect you, you're asking for trouble.



--
View this message in context: 
http://nabble.documentfoundation.org/Build-Problem-with-Lode-tp4201726p4201761.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


RE: Build Problem with Lode

2016-12-04 Thread Jason Marshall
Hi Noel

Thanks for your response. From your experience, is it best to disable 
anti-virus entirely during the build, or should it be configured to ignore 
certain programs associated with the build?

Also, I note that at the start of the build some further files are downloaded; 
however, based on these files having successfully downloaded on the first build 
attempt, would the build still proceed if I disconnected my internet 
connection? I ask because if I need to disable anti-virus, I would prefer to 
also disable my internet connection for that period.

Best regards

Jason

From: Noel Grandin<mailto:noelgran...@gmail.com>
Sent: ‎04/‎12/‎2016 15:50
To: Jason Marshall<mailto:j_k_marshall_2...@live.com>; 
libreoffice@lists.freedesktop.org<mailto:libreoffice@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_2...@live.com<mailto:j_k_marshall_2...@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@lists.freedesktop.org<mailto:LibreOffice@lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build Problem with Lode

2016-12-04 Thread Jason Marshall
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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


RE: Lode Build Problem

2016-11-27 Thread Jason Marshall
Dear Norbert/ Jan

Having followed your advice, the setup of the dev build environment has now 
succeeded. Hopefully the build should proceed with similar success.

Thanks again.

Jason

Sent from my Windows Phone

From: Jan Iversen<mailto:j...@documentfoundation.org>
Sent: ‎27/‎11/‎2016 18:04
To: Norbert Thiebaud<mailto:nthieb...@gmail.com>
Cc: Jason Marshall<mailto:j_k_marshall_2...@live.com>; 
libreoffice@lists.freedesktop.org<mailto:libreoffice@lists.freedesktop.org>
Subject: Re: Lode Build Problem



and I'm pretty sure that confused the heck out of git to have spaces there

I can confirm that there are several problems having spaces in the directory, 
which is why we write
"A couple of warning, based on experience from earlier installations:

  *   Do not use a network drive, it will not work. There can also be problems 
with some older USB drives
  *   Do not use names longer than 8 char
  *   Only use a-z and 0-9 in the name, NO spaces or other special characters"

on the lode page:

https://wiki.documentfoundation.org/Development/lode


rgds
jan I.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


RE: Lode Build Problem

2016-11-27 Thread Jason Marshall
Thank you to you both for looking at this. I had seen the warnings on the lode 
guide page, but I had perhaps been too optimistic in assuming the there would 
not be a problem on my system. However, clearly the spaces are a problem and I 
will now follow the earlier instructions to eliminate these and reattempt the 
build. Also, I will more closely next time adhere to guidelines and warnings, 
such as those on the lode guide page.

Best regards

Jason

Sent from my Windows Phone

From: Jan Iversen<mailto:j...@documentfoundation.org>
Sent: ‎27/‎11/‎2016 18:04
To: Norbert Thiebaud<mailto:nthieb...@gmail.com>
Cc: Jason Marshall<mailto:j_k_marshall_2...@live.com>; 
libreoffice@lists.freedesktop.org<mailto:libreoffice@lists.freedesktop.org>
Subject: Re: Lode Build Problem



and I'm pretty sure that confused the heck out of git to have spaces there

I can confirm that there are several problems having spaces in the directory, 
which is why we write
"A couple of warning, based on experience from earlier installations:

  *   Do not use a network drive, it will not work. There can also be problems 
with some older USB drives
  *   Do not use names longer than 8 char
  *   Only use a-z and 0-9 in the name, NO spaces or other special characters"

on the lode page:

https://wiki.documentfoundation.org/Development/lode


rgds
jan I.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Lode Build Problem

2016-11-27 Thread Jason Marshall
Dear Sir/ Madam


I am currently attempting to build LibreOffice on a 32-bit Windows 7 platform 
using Lode.  I have got as far as trying to set-up a dev build environment 
using the following command:


./setup --dev


This runs with the following output but then terminates:


Jason and Emma@JasonandEmma-PC ~/lode
$ ./setup --dev
Check directory 'packages' ... : Exist
Check directory 'opt' ... : Exist
Check directory 'ext_tar' ... : Exist
Check directory 'adm' ... : Exist
Check directory 'tb' ... : Exist
git repo '/home/Jason and Emma/lode/adm/buildbot' exist
ant already installed
junit Already Installed
Check directory 'mirrors' ... : Exist
Cloning into bare repository 'core.git'...
remote: Counting objects: 4708711, done.
remote: Compressing objects: 100% (993620/993620), done.
remote: Total 4708711 (delta 3586930), reused 4702903 (delta 3581848)
Receiving objects: 100% (4708711/4708711), 1.44 GiB | 368.00 KiB/s, done.
Resolving deltas: 100% (3586930/3586930), done.
Checking connectivity... done.
Cloned mirror /home/Jason and Emma/lode/mirrors/core.git
Check directory 'dev' ... : Created
Cloning into 'core'...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 5 (delta 4), reused 2 (delta 2)
fatal: mmap failed: Resource temporarily unavailable
fatal: index-pack failed
Error Cloning /home/Jason and Emma/lode/dev/core


I have attempted to search the archived dev mailing lists for similar such 
issues, but the error above implies that perhaps a resource beyond my control, 
for whatever reason, may not be available at the time that I am running this.


As an aside, you will see that my home directory contains spaces (i. e. Jason 
and Emma) which seems to have been where upon installation, Cygwin simply named 
the home directory after the Windows 7 user account.  Would this likely be an 
issue aggravating the error above, and may it also be an issue in building more 
generally?  If an issue, can I simply rename the home directory in Cygwin to 
remove the spaces and then re-run lode, or would I need to start from a 'clean 
sheet' (I. e. cloning the lode git repo, re-downloading etc.)?


Thank you for your time.


Jason
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build Attempt

2016-11-07 Thread Jason Marshall
Hi Jan


While I consider that I have installed all pre-requisites, I had been trying to 
build manually without recourse to lode, which would likely make my life far 
easier and would likely avoid issues such as the JScript error below.


I will therefore use lode and see how I get on.


Thanks


Jason



From: Jan Iversen <j...@documentfoundation.org>
Sent: 07 November 2016 16:54
To: Jason Marshall
Cc: libreoffice@lists.freedesktop.org
Subject: Re: Build Attempt

Hi.

First question, did you install using our recommendation:
https://wiki.documentfoundation.org/Development/lode
and
https://wiki.documentfoundation.org/Development/GetInvolved

The JScript error, can be due to a faulty/outdated external-tar, but need to be 
investigated further when you are sure you run the right versions of the 
programs.

it also seems /opt/lo/bin is not in your PATH. It needs to be added in front, 
so that it is used in preference to what else you have installed.


rgds
jan i.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build Attempt

2016-11-07 Thread Jason Marshall
Dear Sir/ Madam


I am currently attempting to build Libreoffice on a 32-bit Windows 7 platform.  
I have successfully run autogen.sh using the following command:


/cygdrive/c/sources/libo-core/autogen.sh \
   --with-external-tar=/cygdrive/c/sources/lo-externalsrc \
   --with-junit=/cygdrive/c/sources/junit-4.10.jar \
   --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
   --enable-pch --disable-ccache \
   --disable-activex --disable-atl


I have then commenced the build by running the following command in the same 
directory that I ran the aforementioned autogen.sh in:


/opt/lo/bin/make gb_COLOR=1


The build runs for several hours, but then terminates with the following output:


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

C:\sources\libo-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.
C:/sources/libo-core/external/libxml2/ExternalProject_xml2.mk:34: recipe for 
target 'C:/sources/libo-core/workdir/ExternalProject/xml2/build' failed
make[1]: *** [C:/sources/libo-core/workdir/ExternalProject/xml2/build] Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:266: recipe for target 'build' failed
make: *** [build] Error 2


I have tried to think about this myself and have inferred the following:


  *   The error Microsoft JScript runtime error: Automation server can't create 
object seems to be a fairly generic error that can occur in a range of 
applications of the Microsoft Script Host.
  *   A makefile is expected, but for whatever reason is not found.
  *   The error message makes reference to NMAKE, which I am aware is 
associated with Microsoft Visual Studio.  I have successfully installed Visual 
Studio 2013 as part of the pre-requisites for building.

Any help would be much appreciated.


Thank you.


Jason
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Windows Build Query

2016-11-05 Thread Jason Marshall
Hi


The advice below provided by Christian enabled me to get the build to start 
using the following command within the directory that I had run autogen.sh:


/opt/lo/bin/make gb_COLOR=1


The build however stopped with the following final lines of output and error 
message:


[SLC] xmlscript

[DEP] LNK:Library/uwinapi.dll

[LNK] Library/uwinapi.dll

[PCH] precompiled_sal

[C ] sal/osl/w32/conditn.c

/usr/bin/sh: 
C:/sources/libo-core/solenv/gbuild/platform/filter-showIncludes.awk: 
/usr/bin/gawk: bad interpreter: Permission denied

Creating library C:/sources/libo-core/workdir/LinkTarget/Library/iuwinapi.lib 
and object C:/sources/libo-core/workdir/LinkTarget/Library/iuwinapi.exp

no magic for 
C:/sources/libo-core/workdir/Dep/PrecompiledHeader/nodebug/precompiled_sal.hxx.gch.d.tmp(PrecompiledHeader/nodebug/precompiled_sal.hxx.gch.d.tmp)
 in C:/sources/libo-core/workdir

C:/sources/libo-core/solenv/gbuild/PrecompiledHeaders.mk:40: recipe for target 
'C:/sources/libo-core/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.gch'
 failed

make[1]: *** 
[C:/sources/libo-core/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.gch]
 Error 2

make[1]: *** Deleting file 
'C:/sources/libo-core/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.gch'

make[1]: *** Waiting for unfinished jobs

Makefile:266: recipe for target 'build' failed

make: *** [build] Error 2


I have more generally attempted to search for a solution to this, but have been 
unsuccessful.  Consequently, I am writing to see if anybody would be able to 
provide some pointers.  Equally, if I have missed a source of information that 
would enable me to solve this issue myself on a self-service basis without 
taking people's time on this mailing list, please do point me to this.


Thank you in advance.


Jason



From: LibreOffice <libreoffice-boun...@lists.freedesktop.org> on behalf of 
Christian Lohmaier <lohma...@googlemail.com>
Sent: 10 October 2016 10:26
To: Jason Marshall
Cc: libreoffice@lists.freedesktop.org
Subject: Re: Windows Build Query

Hi Jason,

On Sun, Oct 9, 2016 at 1:11 PM, Jason Marshall
<j_k_marshall_2...@live.com> wrote:
> [...]
> I then run the following command within the directory '/cygdrive/c/cygwin':
>
> /opt/lo/bin/make

you need to run make from with the same directory where you ran autogen.sh from.
That can be the source-directory or another directory you would like
to use for the build.

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

LibreOffice Info Page - 
freedesktop.org<https://lists.freedesktop.org/mailman/listinfo/libreoffice>
lists.freedesktop.org
List for LibreOffice development - please make sure you've read this before 
posting. To see the collection of prior postings to the list, visit the 
LibreOffice ...



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Fw: Windows Build Query

2016-10-09 Thread Jason Marshall




From: Jason Marshall <j_k_marshall_2...@live.com>
Sent: 09 October 2016 11:11
To: libreoffice@lists.freedesktop.org
Subject: Windows Build Query


Dear Sir/ Madam


I am attempting to build on a 32 bit Windows 7 platform.  I have successfully 
configured the build using the following command:


/cygdrive/c/sources/libo-core/autogen.sh \

--with-external-tar=/cygdrive/c/sources/lo-externalsrc \
--with-junit=/cygdrive/c/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
--enable-pch --disable-ccache \
--disable-activex --disable-atl


The final part of the output of running the above is shown in the extract as 
follows, which I assume signals a successful configuration:


config.status: creating config_host/config_python.h

config.status: creating config_host/config_writerperfect.h



?

To build, run:

C:/cygwin/opt/lo/bin/make

?

To view some help, run:

C:/cygwin/opt/lo/bin/make help


I then run the following command within the directory '/cygdrive/c/cygwin':


/opt/lo/bin/make


The following output is received and the command line control on Cygwin is 
immediately returned to me:


make: ***. Stop.


I have made sure that I have installed the GNU make, rather than used that of 
Cygwin.


I have also tried to search for any similar issues involving this problem that 
others may have had, but to no avail, hence writing this e-mail.


Consequently, would anybody know what seems to be stopping the build?


Thanks for your help.


Yours faithfully


Jason
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Windows Build Query

2016-10-09 Thread Jason Marshall
Dear Sir/ Madam


I am attempting to build on a 32 bit Windows 7 platform.  I have successfully 
configured the build using the following command:


/cygdrive/c/sources/libo-core/autogen.sh \

--with-external-tar=/cygdrive/c/sources/lo-externalsrc \
--with-junit=/cygdrive/c/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
--enable-pch --disable-ccache \
--disable-activex --disable-atl


The final part of the output of running the above is shown in the extract as 
follows, which I assume signals a successful configuration:


config.status: creating config_host/config_python.h

config.status: creating config_host/config_writerperfect.h



?

To build, run:

C:/cygwin/opt/lo/bin/make

?

To view some help, run:

C:/cygwin/opt/lo/bin/make help


I then run the following command within the directory '/cygdrive/c/cygwin':


/opt/lo/bin/make


The following output is received and the command line control on Cygwin is 
immediately returned to me:


make: ***. Stop.


I have made sure that I have installed the GNU make, rather than used that of 
Cygwin.


I have also tried to search for any similar issues involving this problem that 
others may have had, but to no avail, hence writing this e-mail.


Consequently, would anybody know what seems to be stopping the build?


Thanks for your help.


Yours faithfully


Jason
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice