[Libreoffice] Errors during my first build attempts
Beemen Beshara
beemen.beshara.libreoffice at gmail.com
Sun Oct 16 03:37:12 PDT 2011
Dear all
I have been trying to the a full build of LibreOffice on windows XP over the
last week. Following the instructions on
http://wiki.documentfoundation.org/index.php?title=Development/Native_Build,
I finally managed to reach the last step (make).
However, on my last make attempt, I got the following build error (more
details in attached file "Build error 2.txt")
ERROR: error 65280 occurred while making /home/Beemen/git/libo/libgsf
ERROR: error 65280 occurred while making /home/Beemen/git/libo/icu
ERROR: error 65280 occurred while making /home/Beemen/git/libo/python
ERROR: error 65280 occurred while making /home/Beemen/git/libo/i18nutil/prj
ERROR: error 65280 occurred while making /home/Beemen/git/libo/o3tl/prj
ERROR: error 65280 occurred while making /home/Beemen/git/libo/libxml2
ERROR: error 65280 occurred while making /home/Beemen/git/libo/xmlreader/prj
My latest autogen command was
./autogen.sh --with-asm-home="/cygdrive/C/Program Files/Microsoft Visual
Studio 9.0/VC/bin" --with-cl-home="/cygdrive/C/Program Files/Microsoft
Visual Studio 9.0/VC"
--with-csc-path="/cygdrive/C/WINDOWS/Microsoft.NET/Framework/v3.5/csc.exe"
--with-frame-home="/cygdrive/C/WINDOWS/Microsoft.NET/Framework/v3.5"
--with-mspdb-path="/cygdrive/C/Program Files/Microsoft Visual Studio
9.0/Common7/IDE" --with-directx-home="/cygdrive/C/Program Files/Microsoft
DirectX SDK (February 2010)" --with-mingwin=yes
--with-nsis-path="/cygdrive/C/Program Files/NSIS"
--with-psdk-home="/cygdrive/C/Program Files/Microsoft SDKs/Windows/v6.0A"
--disable-mozilla --without-junit
--with-ant-home="/cygdrive/C/apache-ant-1.8.2"
--with-midl-path="/cygdrive/C/Program Files/Microsoft
SDKs/Windows/v6.0A/bin" --disable-build-mozilla --disable-nss-module
--disable-atl --disable-activex
The exact errors in each module are attached
Please pardon me if I am asking obvious questions, I am new to the whole
process :)
Thank you in advance
Best Regards
Beemen Beshara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111016/321e364d/attachment.html>
-------------- next part --------------
Beemen at CRW14 ~/git/libo/icu
$ build
=============
Building module icu
=============
Entering /home/Beemen/git/libo/icu
mkdir: cannot create directory `./wntmsci13.pro/misc/build/icu/source': File exists
Microsoft (R) Build Engine Version 3.5.30729.1
[Microsoft .NET Framework, Version 2.0.50727.3623]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 16/10/2011 12:23:37.
Project "C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln" on node 0 (defau
lt targets).
Building solution configuration "Release|Win32".
C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln.cache(10975,5): error MSB6
001: Invalid command line switch for "VCBuild.exe". Item has already been added. Key in dictionary: 'lib' Key being ad
ded: 'lib'
Done Building Project "C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln" (d
efault targets) -- FAILED.
Build FAILED.
"C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln" (default target) (1) ->
(stubdata target) ->
C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln.cache(10975,5): error MS
B6001: Invalid command line switch for "VCBuild.exe". Item has already been added. Key in dictionary: 'lib' Key being
added: 'lib'
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.34
dmake: Error code 1, while making './wntmsci13.pro/misc/build/so_built_so_icu'
Retrying /home/Beemen/git/libo/icu
mkdir: cannot create directory `./wntmsci13.pro/misc/build/icu/source': File exists
Microsoft (R) Build Engine Version 3.5.30729.1
[Microsoft .NET Framework, Version 2.0.50727.3623]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 16/10/2011 12:23:39.
Project "C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln" on node 0 (defau
lt targets).
Building solution configuration "Release|Win32".
C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln.cache(10975,5): error MSB6
001: Invalid command line switch for "VCBuild.exe". Item has already been added. Key in dictionary: 'lib' Key being ad
ded: 'lib'
Done Building Project "C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln" (d
efault targets) -- FAILED.
Build FAILED.
"C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln" (default target) (1) ->
(stubdata target) ->
C:\cygwin\home\Beemen\git\libo\icu\wntmsci13.pro\misc\build\icu\source\allinone\allinone.sln.cache(10975,5): error MS
B6001: Invalid command line switch for "VCBuild.exe". Item has already been added. Key in dictionary: 'lib' Key being
added: 'lib'
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.04
dmake: Error code 1, while making './wntmsci13.pro/misc/build/so_built_so_icu'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /home/Beemen/git/libo/icu
it seems that the error is inside 'icu', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
rm -Rf C:/cygwin/home/Beemen/git/libo/icu/wntmsci13.pro # optional module 'clean'
/usr/bin/sh
cd C:/cygwin/home/Beemen/git/libo
source ./Env.Host.sh
cd icu
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
-------------- next part --------------
Beemen at CRW14 ~/git/libo/i18nutil/prj
$ build
This module has been migrated to GNU make.
You can only use build --all/--since here with build.pl.
To do the equivalent of 'build && deliver' call:
make -r
in the module root.
-------------- next part --------------
Beemen at CRW14 ~/git/libo/libgsf
$ build
cygwin warning:
MS-DOS style path detected: C:/cygwin/home/Beemen/git/libo/solenv/bin/build.pl
Preferred POSIX equivalent is: /home/Beemen/git/libo/solenv/bin/build.pl
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
=============
Building module libgsf
=============
Entering /home/Beemen/git/libo/libgsf
mkdir: cannot create directory `./wntmsci13.pro/misc/build/libgsf-1.14.19/gsf': File exists
Compiling: libgsf/wntmsci13.pro/misc/build/libgsf-1.14.19/gsf/gsf-infile-msvba.c
..\gsf/gsf-libxml.h(27) : fatal error C1083: Cannot open include file: 'libxml/tree.h': No such file or directory
dmake: Error code 2, while making '../../../../../wntmsci13.pro/slo/gsf-infile-msvba.obj'
dmake: Error code 255, while making './wntmsci13.pro/misc/build/so_built_so_libgsf'
Retrying /home/Beemen/git/libo/libgsf
mkdir: cannot create directory `./wntmsci13.pro/misc/build/libgsf-1.14.19/gsf': File exists
Compiling: libgsf/wntmsci13.pro/misc/build/libgsf-1.14.19/gsf/gsf-infile-msvba.c
..\gsf/gsf-libxml.h(27) : fatal error C1083: Cannot open include file: 'libxml/tree.h': No such file or directory
dmake: Error code 2, while making '../../../../../wntmsci13.pro/slo/gsf-infile-msvba.obj'
dmake: Error code 255, while making './wntmsci13.pro/misc/build/so_built_so_libgsf'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /home/Beemen/git/libo/libgsf
it seems that the error is inside 'libgsf', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
rm -Rf C:/cygwin/home/Beemen/git/libo/libgsf/wntmsci13.pro # optional module 'clean'
/usr/bin/sh
cd C:/cygwin/home/Beemen/git/libo
source ./Env.Host.sh
cd libgsf
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
-------------- next part --------------
Beemen at CRW14 ~/git/libo/libxml2
$ build
=============
Building module libxml2
=============
Entering /home/Beemen/git/libo/libxml2
mkdir: cannot create directory `./wntmsci13.pro/misc/build/libxml2-2.7.6/win32': File exists
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
link.exe /nologo /VERSION:2.7 /LIBPATH:bin.msvc /LIBPATH:.\lib /DLL /IMPLIB:bin.msvc\libxml2.lib /OUT:bin.msvc
\libxml2.dll int.msvc\c14n.obj int.msvc\catalog.obj int.msvc\chvalid.obj int.msvc\debugXML.obj int.msvc\dict.obj int.ms
vc\DOCBparser.obj int.msvc\encoding.obj int.msvc\entities.obj int.msvc\error.obj int.msvc\globals.obj int.msvc\hash.obj
int.msvc\HTMLparser.obj int.msvc\HTMLtree.obj int.msvc\legacy.obj int.msvc\list.obj int.msvc\nanoftp.obj int.msvc\nano
http.obj int.msvc\parser.obj int.msvc\parserInternals.obj int.msvc\pattern.obj int.msvc\relaxng.obj int.msvc\SAX2.obj i
nt.msvc\SAX.obj int.msvc\schematron.obj int.msvc\threads.obj int.msvc\tree.obj int.msvc\uri.obj int.msvc\valid.obj int.
msvc\xinclude.obj int.msvc\xlink.obj int.msvc\xmlIO.obj int.msvc\xmlmemory.obj int.msvc\xmlreader.obj int.msvc\xmlregex
p.obj int.msvc\xmlmodule.obj int.msvc\xmlsave.obj int.msvc\xmlschemas.obj int.msvc\xmlschemastypes.obj int.msvc\xmlunic
ode.obj int.msvc\xmlwriter.obj int.msvc\xpath.obj int.msvc\xpointer.obj int.msvc\xmlstring.obj wsock32.lib ws2_32.lib
kernel32.lib
LINK : fatal error LNK1181: cannot open input file 'wsock32.lib'
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2.0\VC\bin\link.exe' : return code '0x49d'
Stop.
dmake: Error code 2, while making './wntmsci13.pro/misc/build/so_built_so_libxml2'
Retrying /home/Beemen/git/libo/libxml2
mkdir: cannot create directory `./wntmsci13.pro/misc/build/libxml2-2.7.6/win32': File exists
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
link.exe /nologo /VERSION:2.7 /LIBPATH:bin.msvc /LIBPATH:.\lib /DLL /IMPLIB:bin.msvc\libxml2.lib /OUT:bin.msvc
\libxml2.dll int.msvc\c14n.obj int.msvc\catalog.obj int.msvc\chvalid.obj int.msvc\debugXML.obj int.msvc\dict.obj int.ms
vc\DOCBparser.obj int.msvc\encoding.obj int.msvc\entities.obj int.msvc\error.obj int.msvc\globals.obj int.msvc\hash.obj
int.msvc\HTMLparser.obj int.msvc\HTMLtree.obj int.msvc\legacy.obj int.msvc\list.obj int.msvc\nanoftp.obj int.msvc\nano
http.obj int.msvc\parser.obj int.msvc\parserInternals.obj int.msvc\pattern.obj int.msvc\relaxng.obj int.msvc\SAX2.obj i
nt.msvc\SAX.obj int.msvc\schematron.obj int.msvc\threads.obj int.msvc\tree.obj int.msvc\uri.obj int.msvc\valid.obj int.
msvc\xinclude.obj int.msvc\xlink.obj int.msvc\xmlIO.obj int.msvc\xmlmemory.obj int.msvc\xmlreader.obj int.msvc\xmlregex
p.obj int.msvc\xmlmodule.obj int.msvc\xmlsave.obj int.msvc\xmlschemas.obj int.msvc\xmlschemastypes.obj int.msvc\xmlunic
ode.obj int.msvc\xmlwriter.obj int.msvc\xpath.obj int.msvc\xpointer.obj int.msvc\xmlstring.obj wsock32.lib ws2_32.lib
kernel32.lib
LINK : fatal error LNK1181: cannot open input file 'wsock32.lib'
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2.0\VC\bin\link.exe' : return code '0x49d'
Stop.
dmake: Error code 2, while making './wntmsci13.pro/misc/build/so_built_so_libxml2'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /home/Beemen/git/libo/libxml2
it seems that the error is inside 'libxml2', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
rm -Rf C:/cygwin/home/Beemen/git/libo/libxml2/wntmsci13.pro # optional module 'clean'
/usr/bin/sh
cd C:/cygwin/home/Beemen/git/libo
source ./Env.Host.sh
cd libxml2
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
-------------- next part --------------
Beemen at CRW14 ~/git/libo/o3tl/prj
$ build
This module has been migrated to GNU make.
You can only use build --all/--since here with build.pl.
To do the equivalent of 'build && deliver' call:
make -r
in the module root.
-------------- next part --------------
$ build
=============
Building module python
=============
Entering /home/Beemen/git/libo/python
dmake: Warning: -- Found file corresponding to virtual target [./wntmsci13.pro/misc/build/Python-2.6.1/PC/pyconfig.h].
mkdir: cannot create directory `./wntmsci13.pro/misc/build/Python-2.6.1/PC/VS10.0': File exists
Microsoft (R) Build Engine Version 3.5.30729.1
[Microsoft .NET Framework, Version 2.0.50727.3623]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 16/10/2011 12:24:24.
Project "C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln" on node 0 (
Build target(s)).
C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln.cache(253,5): error M
SB4062: The "Microsoft.Build.Tasks.Message" task could not be loaded from the assembly Microsoft.Build.Tasks.v4.0, Vers
ion=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.Build.Tasks.v
4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot f
ind the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependen
cies are available.
Done Building Project "C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sl
n" (Build target(s)) -- FAILED.
Build FAILED.
"C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln" (Build target) (1)
->
(ValidateSolutionConfiguration target) ->
C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln.cache(253,5): error
MSB4062: The "Microsoft.Build.Tasks.Message" task could not be loaded from the assembly Microsoft.Build.Tasks.v4.0, Ve
rsion=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.Build.Tasks
.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its depend
encies are available.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.92
dmake: Error code 1, while making './wntmsci13.pro/misc/build/so_built_so_python'
Retrying /home/Beemen/git/libo/python
dmake: Warning: -- Found file corresponding to virtual target [./wntmsci13.pro/misc/build/Python-2.6.1/PC/pyconfig.h].
mkdir: cannot create directory `./wntmsci13.pro/misc/build/Python-2.6.1/PC/VS10.0': File exists
Microsoft (R) Build Engine Version 3.5.30729.1
[Microsoft .NET Framework, Version 2.0.50727.3623]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 16/10/2011 12:24:25.
Project "C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln" on node 0 (
Build target(s)).
C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln.cache(253,5): error M
SB4062: The "Microsoft.Build.Tasks.Message" task could not be loaded from the assembly Microsoft.Build.Tasks.v4.0, Vers
ion=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.Build.Tasks.v
4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot f
ind the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependen
cies are available.
Done Building Project "C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sl
n" (Build target(s)) -- FAILED.
Build FAILED.
"C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln" (Build target) (1)
->
(ValidateSolutionConfiguration target) ->
C:\cygwin\home\Beemen\git\libo\python\wntmsci13.pro\misc\build\Python-2.6.1\PC\VS10.0\pcbuild.sln.cache(253,5): error
MSB4062: The "Microsoft.Build.Tasks.Message" task could not be loaded from the assembly Microsoft.Build.Tasks.v4.0, Ve
rsion=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.Build.Tasks
.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its depend
encies are available.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.15
dmake: Error code 1, while making './wntmsci13.pro/misc/build/so_built_so_python'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /home/Beemen/git/libo/python
it seems that the error is inside 'python', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
rm -Rf C:/cygwin/home/Beemen/git/libo/python/wntmsci13.pro # optional module 'clean'
/usr/bin/sh
cd C:/cygwin/home/Beemen/git/libo
source ./Env.Host.sh
cd python
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
-------------- next part --------------
Beemen at CRW14 ~/git/libo/xmlreader/prj
$ build
This module has been migrated to GNU make.
You can only use build --all/--since here with build.pl.
To do the equivalent of 'build && deliver' call:
make -r
in the module root.
-------------- next part --------------
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /home/Beemen/git/libo/libgsf
ERROR: error 65280 occurred while making /home/Beemen/git/libo/icu
ERROR: error 65280 occurred while making /home/Beemen/git/libo/python
ERROR: error 65280 occurred while making /home/Beemen/git/libo/i18nutil/prj
ERROR: error 65280 occurred while making /home/Beemen/git/libo/o3tl/prj
ERROR: error 65280 occurred while making /home/Beemen/git/libo/libxml2
ERROR: error 65280 occurred while making /home/Beemen/git/libo/xmlreader/prj
it seems you are using a threaded build, which means that the
actual compile error is probably hidden far above, and could be
inside any of these other modules:
icu python o3tl libgsf i18nutil xmlreader
please re-run build inside each one to isolate the problem.
-----------------------------------------------------------------------
rm -Rf C:/cygwin/home/Beemen/git/libo/libxml2/wntmsci13.pro # optional module 'clean'
/usr/bin/sh
cd C:/cygwin/home/Beemen/git/libo
source ./Env.Host.sh
cd libxml2
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
make: *** [all] Error 1
More information about the LibreOffice
mailing list