You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by tapas <ta...@gmail.com> on 2012/09/21 19:31:15 UTC
Hi, AOO 3.4.1 build breaks in Windows XP
Hi,
I am trying to build apache open office 3.4.1 on windows XP. I followed
tutorial from
http://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows
I am using following versions of toolset to build apache open office 3.4.1
on windows XP professional SP2.
1) Cygwin toolset (1.7.16),
2) apache-ant-1.8.4
3) JDK 1.6
I installed these as per suggestions of above wiki.
My Cgywin path variable contains *SPACES *like :
$ echo $PATH
.:/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/bin:/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/bin:/cygdrive/c/PROGRA~1/Java/JDK16~1.0_1/bin:/cygdrive/c/PROGRA~1/Java/JDK16~1.0_1/jre/bin/client:/cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~1/MICROS~1.0/Common7/IDE:/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.1/Bin:/cygdrive/c/WINDOWS/MICROS~
1.NET/FRAMEW~1/v3.5:/cygdrive/c/PROGRA~1/MICROS~1.0/VC/Bin:/usr/bin:/cygdrive/c/PROGRA~1/NSIS:/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.1/bin:/usr/local/bin:/cygdrive/c/ProgramFiles/PC
Connectivity
Solution:/cygdrive/c/sml/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/pjproject-2.0/pjproject_2.0_latest/SDL_2.0_latest/SDL/VisualC/SDL/Debug:/cygdrive/c/pjproject-2.0/pjproject_2.0_latest/SDL_2.0_latest/SDL/VisualC/SDLmain/Debug:/cygdrive/c/MySQL/MySQL_Connector_C_6.0.2/lib/debug:/cygdrive/c/OpenSSL-Win32:/cygdrive/c/Program
Files/Microsoft Visual Studio
9.0/VC/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.8.1/msvc2008/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.8.1/msvc2008/lib:/cygdrive/c/Program
Files/Subversion/bin:/cygdrive/e/New folder (2)/app:/cygdrive/c/Program
Files/Java/jdk1.6.0_14/bin:/cygdrive/f/apache-ant-1.8.4-bin/apache-ant-1.8.4/bin
I issued following configure command which works fine :
Tapas@donttouchlaptop /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main
$ ./configure --with-dmake-url=
http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2--with-epm-url=
http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz --enable-category-b
--enable-bundled-dictionaries --disable-directx --disable-mozilla
--without-junit --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual
Studio 9.0/VC" --with-mspdb-path="/cygdrive/c/Program Files/Microsoft
Visual Studio 9.0/Common7/IDE" --with-frame-home="/cygdrive/c/Program
Files/Microsoft SDKs/Windows/v6.1" --with-psdk-home="/cygdrive/c/Program
Files/Microsoft SDKs/Windows/v6.1" --with-midl-path="/cygdrive/c/Program
Files/Microsoft SDKs/Windows/v6.1/Bin" --with-asm-home="/cygdrive/c/Program
Files/Microsoft Visual Studio 9.0/VC/Bin"
--with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5"
--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.6.0_14"
--with-ant-home="/cygdrive/f/apache-ant-1.8.4-bin/apache-ant-1.8.4"
--enable-dbgutil --enable-verbose
then I run bootstrap comand. It also worked fine without any error and
warning.
Then I issued following commands:
Tapas@donttouchlaptop /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main
$ source winenv.set.sh
Tapas@donttouchlaptop/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/instsetoo_native
$ build --all
*THEN I GOT FOLLOWING ERROR:*
Building module x11_extensions
=============
x11_extensions deliver
deliver -- version: 275594
LOG: writing
F:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/x11_extensions/deliver.log
Module 'x11_extensions' delivered successfully. 0 files copied, 7 files
unchanged
=============
Building module soltools
=============
Entering
/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/winunistd
Entering
/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
Compiling: soltools/mkdepend/cppsetup.c
Cflags: -Zm500 -Zc:forScope,wchar_t- -GR -GS -c -nologo -Gs -Ob1 -Oxs -Oy-
-DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I.
-I../wntmsci12/inc/make_makedepend -I../inc -I../inc/pch -I../inc
-I../WIN/inc -I../wntmsci12/inc -I.
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/external
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/inc
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/inc
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/res
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
-IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
-IC:/PROGRA~1/Java/JDK16~1.0_1/include
-IC:/PROGRA~1/MI2578~1/Windows/v6.1/include
-IC:/PROGRA~1/MICROS~1.0/VC/include
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/offuh
-I. -I../res -I.
C:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -GS
-c -nologo -Gs -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I. -I../wntmsci12/inc/make_makedepend
-I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmsci12/inc -I.
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/external
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/inc
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/inc
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/res
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
-IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
-IC:/PROGRA~1/Java/JDK16~1.0_1/include
-IC:/PROGRA~1/MI2578~1/Windows/v6.1/include
-IC:/PROGRA~1/MICROS~1.0/VC/include
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/offuh
-I. -I../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251
-wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625
-wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503
-wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189
-wd4005 -wd4180 -wd4255 -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL
-D_STLP_DEBUG -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK
-DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0500
-D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=341
-DDBG_UTIL -DOSL_DEBUG_LEVEL=1 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DNO_X11
-DXP_PC -DHW_THREADS -D_DEBUG -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL
-Fo../wntmsci12/obj/cppsetup.obj cppsetup.c
cppsetup.c
f:\aoo-3.4.1-incubating-src\aoo-3.4.1\main\soltools\mkdepend\def.h(42) :
fatal error C1083: Cannot open include file: 'unistd.h': No such file or
directory
dmake: Error code 2, while making '../wntmsci12/obj/cppsetup.obj'
1 module(s):
soltools
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making
/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
When you have fixed the errors in that module you can resume the build by
running:
build --all:soltools
It seems to me source code repository is broken. Please let me know how to
solve it. I attached detailed log with this email.
Regards
Tapas
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by tapas <ta...@gmail.com>.
Hi Zuo Jun,
It is not that problem. Other modules are already built and delivered in
1st build command ($build --all). So, those modules need not be build 2nd
time. So, those modules are showing "0 files delivered" in 2nd build
command ($build --all).
If you see the compilation error log then you will see following things:
>* C:/PROGRA~1/MICROS~1.0/VC/bin/*
*cl.exe* -Zm500 -Zc:forScope,wchar_t- -GR -GS
> -c -nologo -Gs -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
> -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I. -I../wntmsci12/inc/make_makedepend
> -I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmsci12/inc -I.
>
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
>
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/external
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/res
>
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> -IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
> -IC:/PROGRA~1/Java/JDK16~1.0_1/include
> -IC:/PROGRA~1/MI2578~1/Windows/v6.1/include
> -IC:/PROGRA~1/MICROS~1.0/VC/include
>
-IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/offuh
> -I. -I../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251
> -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611
-wd4625
> -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820
-wd4503
> -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692
-wd4189
> -wd4005 -wd4180 -wd4255 -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL
> -D_STLP_DEBUG -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
> -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK
> -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0500
> -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=341
> -DDBG_UTIL -DOSL_DEBUG_LEVEL=1 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DNO_X11
> -DXP_PC -DHW_THREADS -D_DEBUG -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL
> -Fo../wntmsci12/obj/cppsetup.obj cppsetup.c
> cppsetup.c
It is passing "-I <header file location>" command to
"*C:/PROGRA~1/MICROS~1.0/VC/bin/
**cl.exe"* . But "cl.exe" is a visual c++ compiler and it cannot
understrand "-I" command at all. It can understand only "/I <header file
location>" . It seems to me that it is actual problem and some file is
needed which will convert gcc include commands to cl.exe include command.
These happened for other modules (which built successfully i.e those
modules which you are seeing as '0 files delivered'). but it is not
happening for soltools module. This is surprising to me.
So I am guessing most likely it is source code problems.
Please help me.
Tapas
On Sat, Sep 22, 2012 at 8:12 AM, ZuoJun Chen <zj...@gmail.com> wrote:
> HI,
>
> It is always 0 files delivered from each module in your log, Seems that
> it is permission problem under you solver directory or
>
> check your deliver.pl in solenv module.
>
> Regards -- Zuo Jun
>
>
> 2012/9/22 tapas <ta...@gmail.com>
>
> > Hi,
> >
> > I am trying to build apache open office 3.4.1 on windows XP. I followed
> > tutorial from
> >
> http://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows
> >
> > I am using following versions of toolset to build apache open office
> 3.4.1
> > on windows XP professional SP2.
> >
> > 1) Cygwin toolset (1.7.16),
> > 2) apache-ant-1.8.4
> > 3) JDK 1.6
> >
> > I installed these as per suggestions of above wiki.
> >
> > My Cgywin path variable contains *SPACES *like :
> >
> > $ echo $PATH
> >
> >
> .:/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/bin:/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/bin:/cygdrive/c/PROGRA~1/Java/JDK16~1.0_1/bin:/cygdrive/c/PROGRA~1/Java/JDK16~1.0_1/jre/bin/client:/cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~1/MICROS~1.0/Common7/IDE:/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.1/Bin:/cygdrive/c/WINDOWS/MICROS~
> >
> 1.NET/FRAMEW~1/v3.5:/cygdrive/c/PROGRA~1/MICROS~1.0/VC/Bin:/usr/bin:/cygdrive/c/PROGRA~1/NSIS:/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.1/bin:/usr/local/bin:/cygdrive/c/ProgramFiles/PC<http://1.NET/FRAMEW%7E1/v3.5:/cygdrive/c/PROGRA%7E1/MICROS%7E1.0/VC/Bin:/usr/bin:/cygdrive/c/PROGRA%7E1/NSIS:/cygdrive/c/PROGRA%7E1/MI2578%7E1/Windows/v6.1/bin:/usr/local/bin:/cygdrive/c/ProgramFiles/PC>Connectivity
> >
> Solution:/cygdrive/c/sml/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/pjproject-2.0/pjproject_2.0_latest/SDL_2.0_latest/SDL/VisualC/SDL/Debug:/cygdrive/c/pjproject-2.0/pjproject_2.0_latest/SDL_2.0_latest/SDL/VisualC/SDLmain/Debug:/cygdrive/c/MySQL/MySQL_Connector_C_6.0.2/lib/debug:/cygdrive/c/OpenSSL-Win32:/cygdrive/c/Program
> > Files/Microsoft Visual Studio
> >
> 9.0/VC/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.8.1/msvc2008/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.8.1/msvc2008/lib:/cygdrive/c/Program
> > Files/Subversion/bin:/cygdrive/e/New folder (2)/app:/cygdrive/c/Program
> >
> Files/Java/jdk1.6.0_14/bin:/cygdrive/f/apache-ant-1.8.4-bin/apache-ant-1.8.4/bin
> >
> >
> > I issued following configure command which works fine :
> >
> > Tapas@donttouchlaptop/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main
> > $ ./configure --with-dmake-url=
> >
> http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2--with-epm-url=
> >
> http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz--enable-category-b--enable-bundled-dictionaries --disable-directx
> > --disable-mozilla --without-junit --with-cl-home="/cygdrive/c/Program
> > Files/Microsoft Visual Studio 9.0/VC"
> > --with-mspdb-path="/cygdrive/c/Program Files/Microsoft Visual Studio
> > 9.0/Common7/IDE" --with-frame-home="/cygdrive/c/Program Files/Microsoft
> > SDKs/Windows/v6.1" --with-psdk-home="/cygdrive/c/Program Files/Microsoft
> > SDKs/Windows/v6.1" --with-midl-path="/cygdrive/c/Program Files/Microsoft
> > SDKs/Windows/v6.1/Bin" --with-asm-home="/cygdrive/c/Program
> Files/Microsoft
> > Visual Studio 9.0/VC/Bin"
> > --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5"
> > --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.6.0_14"
> > --with-ant-home="/cygdrive/f/apache-ant-1.8.4-bin/apache-ant-1.8.4"
> > --enable-dbgutil --enable-verbose
> >
> > then I run bootstrap comand. It also worked fine without any error and
> > warning.
> >
> > Then I issued following commands:
> >
> > Tapas@donttouchlaptop/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main
> > $ source winenv.set.sh
> >
> > Tapas@donttouchlaptop
> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/instsetoo_native
> > $ build --all
> >
> >
> > *THEN I GOT FOLLOWING ERROR:*
> >
> > Building module x11_extensions
> > =============
> > x11_extensions deliver
> > deliver -- version: 275594
> > LOG: writing
> >
> F:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/x11_extensions/deliver.log
> > Module 'x11_extensions' delivered successfully. 0 files copied, 7 files
> > unchanged
> >
> > =============
> > Building module soltools
> > =============
> >
> > Entering
> > /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/winunistd
> >
> >
> > Entering
> > /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
> >
> > Compiling: soltools/mkdepend/cppsetup.c
> > Cflags: -Zm500 -Zc:forScope,wchar_t- -GR -GS -c -nologo -Gs -Ob1 -Oxs
> -Oy-
> > -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I.
> > -I../wntmsci12/inc/make_makedepend -I../inc -I../inc/pch -I../inc
> > -I../WIN/inc -I../wntmsci12/inc -I.
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/external
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/inc
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/inc
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/res
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> > -IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
> > -IC:/PROGRA~1/Java/JDK16~1.0_1/include
> > -IC:/PROGRA~1/MI2578~1/Windows/v6.1/include
> > -IC:/PROGRA~1/MICROS~1.0/VC/include
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/offuh
> > -I. -I../res -I.
> > C:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -GS
> > -c -nologo -Gs -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
> > -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I.
> -I../wntmsci12/inc/make_makedepend
> > -I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmsci12/inc -I.
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/external
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/inc
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/inc
> > -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/res
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> > -IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
> > -IC:/PROGRA~1/Java/JDK16~1.0_1/include
> > -IC:/PROGRA~1/MI2578~1/Windows/v6.1/include
> > -IC:/PROGRA~1/MICROS~1.0/VC/include
> >
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/offuh
> > -I. -I../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251
> > -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611
> -wd4625
> > -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820
> -wd4503
> > -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692
> -wd4189
> > -wd4005 -wd4180 -wd4255 -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL
> > -D_STLP_DEBUG -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
> > -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK
> > -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0500
> > -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=341
> > -DDBG_UTIL -DOSL_DEBUG_LEVEL=1 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DNO_X11
> > -DXP_PC -DHW_THREADS -D_DEBUG -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL
> > -Fo../wntmsci12/obj/cppsetup.obj cppsetup.c
> > cppsetup.c
> > f:\aoo-3.4.1-incubating-src\aoo-3.4.1\main\soltools\mkdepend\def.h(42) :
> > fatal error C1083: Cannot open include file: 'unistd.h': No such file or
> > directory
> > dmake: Error code 2, while making '../wntmsci12/obj/cppsetup.obj'
> >
> > 1 module(s):
> > soltools
> > need(s) to be rebuilt
> >
> > Reason(s):
> >
> > ERROR: error 65280 occurred while making
> > /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
> >
> > When you have fixed the errors in that module you can resume the build by
> > running:
> >
> > build --all:soltools
> >
> >
> > It seems to me source code repository is broken. Please let me know how
> to
> > solve it. I attached detailed log with this email.
> >
> > Regards
> > Tapas
> >
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by ZuoJun Chen <zj...@gmail.com>.
HI,
It is always 0 files delivered from each module in your log, Seems that
it is permission problem under you solver directory or
check your deliver.pl in solenv module.
Regards -- Zuo Jun
2012/9/22 tapas <ta...@gmail.com>
> Hi,
>
> I am trying to build apache open office 3.4.1 on windows XP. I followed
> tutorial from
> http://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows
>
> I am using following versions of toolset to build apache open office 3.4.1
> on windows XP professional SP2.
>
> 1) Cygwin toolset (1.7.16),
> 2) apache-ant-1.8.4
> 3) JDK 1.6
>
> I installed these as per suggestions of above wiki.
>
> My Cgywin path variable contains *SPACES *like :
>
> $ echo $PATH
>
> .:/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/bin:/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/bin:/cygdrive/c/PROGRA~1/Java/JDK16~1.0_1/bin:/cygdrive/c/PROGRA~1/Java/JDK16~1.0_1/jre/bin/client:/cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~1/MICROS~1.0/Common7/IDE:/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.1/Bin:/cygdrive/c/WINDOWS/MICROS~
> 1.NET/FRAMEW~1/v3.5:/cygdrive/c/PROGRA~1/MICROS~1.0/VC/Bin:/usr/bin:/cygdrive/c/PROGRA~1/NSIS:/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.1/bin:/usr/local/bin:/cygdrive/c/ProgramFiles/PC Connectivity
> Solution:/cygdrive/c/sml/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/pjproject-2.0/pjproject_2.0_latest/SDL_2.0_latest/SDL/VisualC/SDL/Debug:/cygdrive/c/pjproject-2.0/pjproject_2.0_latest/SDL_2.0_latest/SDL/VisualC/SDLmain/Debug:/cygdrive/c/MySQL/MySQL_Connector_C_6.0.2/lib/debug:/cygdrive/c/OpenSSL-Win32:/cygdrive/c/Program
> Files/Microsoft Visual Studio
> 9.0/VC/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.8.1/msvc2008/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.8.1/msvc2008/lib:/cygdrive/c/Program
> Files/Subversion/bin:/cygdrive/e/New folder (2)/app:/cygdrive/c/Program
> Files/Java/jdk1.6.0_14/bin:/cygdrive/f/apache-ant-1.8.4-bin/apache-ant-1.8.4/bin
>
>
> I issued following configure command which works fine :
>
> Tapas@donttouchlaptop /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main
> $ ./configure --with-dmake-url=
> http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2--with-epm-url=
> http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz--enable-category-b --enable-bundled-dictionaries --disable-directx
> --disable-mozilla --without-junit --with-cl-home="/cygdrive/c/Program
> Files/Microsoft Visual Studio 9.0/VC"
> --with-mspdb-path="/cygdrive/c/Program Files/Microsoft Visual Studio
> 9.0/Common7/IDE" --with-frame-home="/cygdrive/c/Program Files/Microsoft
> SDKs/Windows/v6.1" --with-psdk-home="/cygdrive/c/Program Files/Microsoft
> SDKs/Windows/v6.1" --with-midl-path="/cygdrive/c/Program Files/Microsoft
> SDKs/Windows/v6.1/Bin" --with-asm-home="/cygdrive/c/Program Files/Microsoft
> Visual Studio 9.0/VC/Bin"
> --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5"
> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.6.0_14"
> --with-ant-home="/cygdrive/f/apache-ant-1.8.4-bin/apache-ant-1.8.4"
> --enable-dbgutil --enable-verbose
>
> then I run bootstrap comand. It also worked fine without any error and
> warning.
>
> Then I issued following commands:
>
> Tapas@donttouchlaptop /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main
> $ source winenv.set.sh
>
> Tapas@donttouchlaptop/cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/instsetoo_native
> $ build --all
>
>
> *THEN I GOT FOLLOWING ERROR:*
>
> Building module x11_extensions
> =============
> x11_extensions deliver
> deliver -- version: 275594
> LOG: writing
> F:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/x11_extensions/deliver.log
> Module 'x11_extensions' delivered successfully. 0 files copied, 7 files
> unchanged
>
> =============
> Building module soltools
> =============
>
> Entering
> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/winunistd
>
>
> Entering
> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
>
> Compiling: soltools/mkdepend/cppsetup.c
> Cflags: -Zm500 -Zc:forScope,wchar_t- -GR -GS -c -nologo -Gs -Ob1 -Oxs -Oy-
> -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I.
> -I../wntmsci12/inc/make_makedepend -I../inc -I../inc/pch -I../inc
> -I../WIN/inc -I../wntmsci12/inc -I.
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/external
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/res
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> -IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
> -IC:/PROGRA~1/Java/JDK16~1.0_1/include
> -IC:/PROGRA~1/MI2578~1/Windows/v6.1/include
> -IC:/PROGRA~1/MICROS~1.0/VC/include
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/offuh
> -I. -I../res -I.
> C:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -GS
> -c -nologo -Gs -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
> -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I. -I../wntmsci12/inc/make_makedepend
> -I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmsci12/inc -I.
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/external
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/wntmsci12/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solenv/inc
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/res
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/incdont_use_stl
> -IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
> -IC:/PROGRA~1/Java/JDK16~1.0_1/include
> -IC:/PROGRA~1/MI2578~1/Windows/v6.1/include
> -IC:/PROGRA~1/MICROS~1.0/VC/include
> -IF:/aoo-3.4.1-incubating-src/aoo-3.4.1/main/solver/341/wntmsci12/inc/offuh
> -I. -I../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251
> -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625
> -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503
> -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189
> -wd4005 -wd4180 -wd4255 -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL
> -D_STLP_DEBUG -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
> -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK
> -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0500
> -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=341
> -DDBG_UTIL -DOSL_DEBUG_LEVEL=1 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DNO_X11
> -DXP_PC -DHW_THREADS -D_DEBUG -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL
> -Fo../wntmsci12/obj/cppsetup.obj cppsetup.c
> cppsetup.c
> f:\aoo-3.4.1-incubating-src\aoo-3.4.1\main\soltools\mkdepend\def.h(42) :
> fatal error C1083: Cannot open include file: 'unistd.h': No such file or
> directory
> dmake: Error code 2, while making '../wntmsci12/obj/cppsetup.obj'
>
> 1 module(s):
> soltools
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
>
> When you have fixed the errors in that module you can resume the build by
> running:
>
> build --all:soltools
>
>
> It seems to me source code repository is broken. Please let me know how to
> solve it. I attached detailed log with this email.
>
> Regards
> Tapas
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by tapas <ta...@gmail.com>.
Hi Aried/ALL,
I am getting new errors after two hours of building :
=============
Building module connectivity
=============
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/inc
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/source/parse
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/source/commontools
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/qa
Making: ConnectivityComplexTests.dpj
javadeps
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
/bin/rm -f ../wntmsci12.pro/misc/ConnectivityComplexTests_dummy.java
javac -classpath ".;../
wntmsci12.pro/class;C:/PROGRA~1/Java/JDK16~1.0_1/jre/lib/
rt.jar;.;F:/aoo3.4.1svn/main/solver/350/
wntmsci12.pro/bin/ridl.jar;F:/aoo3.4.1sv
n/main/solver/350/
wntmsci12.pro/bin/unoil.jar;F:/aoo3.4.1svn/main/solver/350/wnt
msci12.pro/bin/jurt.jar;F:/aoo3.4.1svn/main/solver/350/wntmsci12.pro/bin/juh.jar
;F:/aoo3.4.1svn/main/solver/350/
wntmsci12.pro/bin/java_uno.jar;F:/aoo3.4.1svn/ma
in/solver/350/
wntmsci12.pro/bin/OOoRunner.jar;F:/aoo3.4.1svn/main/solver/350/wnt
msci12.pro/bin/hsqldb.jar;;F:/aoo3.4.1svn/main/solver/350/wntmsci12.pro/lib"
-d
../wntmsci12.pro/class @F:/cygwinlatest/tmp/mkDI3GRQ
Note: complex\connectivity\FlatFileAccess.java uses unchecked or unsafe
operatio
ns.
Note: Recompile with -Xlint:unchecked for details.
Making: ConnectivityComplexTests.dpj
javadeps
echo Manifest-Version: 1.0 > ../
wntmsci12.pro/class/ConnectivityComplexTests/MET
A-INF/MANIFEST.MF
echo "Solar-Version: 350m1(Build:9610)" >> ../
wntmsci12.pro/class/ConnectivityCo
mplexTests/META-INF/MANIFEST.MF
cd ../wntmsci12.pro/class/ConnectivityComplexTests && zip -u -rX
../Connectivit
yComplexTests.jar META-INF/MANIFEST.MF || ret=$?; if [[ "$ret" != "12" &&
"$ret
" != "1" ]] ; then exit $ret ; fi && echo "Nothing to update for zip"
updating: META-INF/MANIFEST.MF (deflated 11%)
cd ../wntmsci12.pro/class && zip -u -rX ConnectivityComplexTests.jar
complex/co
nnectivity || ret=$?; if [[ "$ret" != "12" && "$ret" != "1" ]] ; then exit
$ret
; fi && echo "Nothing to update for zip"
updating: complex/connectivity/dbase/DBaseDateFunctions.class (deflated 59%)
updating: complex/connectivity/dbase/DBaseNumericFunctions.class (deflated
61%)
updating: complex/connectivity/dbase/DBaseSqlTests.class (deflated 54%)
updating: complex/connectivity/dbase/DBaseStringFunctions.class (deflated
56%)
updating: complex/connectivity/DBaseDriverTest.class (deflated 50%)
updating: complex/connectivity/FlatFileAccess$EqualityDate.class (deflated
42%)
updating: complex/connectivity/FlatFileAccess$RowSetColumnValueGetter.class
(def
lated 44%)
updating: complex/connectivity/FlatFileAccess$RowSetDateGetter.class
(deflated 4
4%)
updating: complex/connectivity/FlatFileAccess$RowSetIntGetter.class
(deflated 44
%)
updating: complex/connectivity/FlatFileAccess$RowSetValueGetter.class
(deflated
36%)
updating: complex/connectivity/FlatFileAccess.class (deflated 52%)
updating: complex/connectivity/hsqldb/DatabaseMetaData.class (deflated 49%)
updating: complex/connectivity/hsqldb/TestCacheSize.class (deflated 52%)
updating: complex/connectivity/HsqlDriverTest.class (deflated 48%)
updating: complex/connectivity/JdbcLongVarCharTest.class (deflated 47%)
updating: complex/connectivity/SubTestCase.class (deflated 37%)
updating: complex/connectivity/TestCase.class (deflated 16%)
-----------------------------------------------------
- do a dmake show_targets to show available targets
-----------------------------------------------------
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/source/simpledbt
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/qa/connectivity/tools
echo Manifest-Version: 1.0 > ../../../
wntmsci12.pro/class/ConnectivityTools/META
-INF/MANIFEST.MF
echo "Solar-Version: 350m1(Build:9610)" >> ../../../
wntmsci12.pro/class/Connecti
vityTools/META-INF/MANIFEST.MF
cd ../../../wntmsci12.pro/class/ConnectivityTools && zip -u -rX
../Connectivity
Tools.jar META-INF/MANIFEST.MF || ret=$?; if [[ "$ret" != "12" && "$ret"
!= "1"
]] ; then exit $ret ; fi && echo "Nothing to update for zip"
updating: META-INF/MANIFEST.MF (deflated 11%)
cd ../../../wntmsci12.pro/class && zip -u -rX ConnectivityTools.jar
connectivit
y/tools || ret=$?; if [[ "$ret" != "12" && "$ret" != "1" ]] ; then exit
$ret ;
fi && echo "Nothing to update for zip"
Nothing to update for zip
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/source/sdbcx
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/source/resource
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/source/dbtools
Entering /cygdrive/f/aoo3.4.1svn/main/connectivity/source/manager
Making: sdbc2.dll
rc -DWIN32 -I. -I../../wntmsci12.pro/inc/sdbc -I../inc -I../inc
-I../../inc/pch
-I../../inc -I../../WIN/inc -I../../wntmsci12.pro/inc -I.
-IF:/aoo3.4.1svn/main/
solver/350/wntmsci12.pro/inc/stl -IF:/aoo3.4.1svn/main/solver/350/
wntmsci12.pro/
inc/external -IF:/aoo3.4.1svn/main/solver/350/wntmsci12.pro/inc-IF:/aoo3.4.1svn
/main/solenv/wntmsci12/inc -IF:/aoo3.4.1svn/main/solenv/inc
-IF:/aoo3.4.1svn/mai
n/res -IF:/aoo3.4.1svn/main/solver/350/wntmsci12.pro/inc/stl-IC:/PROGRA~1/Java/
JDK16~1.0_1/include/win32 -IC:/PROGRA~1/Java/JDK16~1.0_1/include
-IC:/PROGRA~1/M
I2578~1/Windows/v6.1/include -IC:/PROGRA~1/MICROS~1.0/VC/include
-IF:/aoo3.4.1s
vn/main/solver/350/wntmsci12.pro/inc/offuh -I. -I../../res -I.
../../wntmsci12.
pro/misc/sdbc2_def.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
cat ../../wntmsci12.pro/misc/sdbc2_def.res > ../../
wntmsci12.pro/misc/sdbc2.res
link /MACHINE:IX86 /IGNORE:4102 /IGNORE:4197 @F:/cygwinlatest/tmp/mkiUca8g
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
/MAP /OPT:NOREF -safeseh -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE
-DEBUG -I
NCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmsci12.pro/bin/sdbc2.dll-ma
p:../../wntmsci12.pro/misc/sdbc2.map ../../wntmsci12.pro/lib/isdbc2.exp../../wn
tmsci12.pro/slo/mdrivermanager.obj ../../wntmsci12.pro/slo/mregistration.obj../
../wntmsci12.pro/slo/sdbc2_version.obj icppu.lib icppuhelper.lib
icomphelp.lib i
dbtools.lib iutl.lib isal.lib msvcrt.lib uwinapi.lib kernel32.lib
user32.lib old
names.lib stlport_vc71.lib ../../wntmsci12.pro/misc/sdbc2.res
CVTRES : fatal error CVT1107: 'F:\aoo3.4.1svn\main\connectivity\
wntmsci12.pro\lib\idbtools.lib' is corrupt
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
or corrupt
dmake: Error code 99, while making '../../wntmsci12.pro/bin/sdbc2.dll'
1 module(s):
connectivity
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making
/cygdrive/f/aoo3.4.1svn/main/connectivity/source/manager
When you have fixed the errors in that module you can resume the build by
running:
build --all:connectivity
Can anybody give me any clue of this error?
thanks in advance
Tapas
On Sun, Sep 30, 2012 at 6:40 PM, tapas <ta...@gmail.com> wrote:
> Hi Ariel/ALL,
>
> I solved my earlier problem.
>
> Problem was that I checked out svn repository from command prompt in
> windows xp. And svn command updated every file with CRLF line endings.
>
> So, when I tried to build using build guide , soltools was giving me
> errors like that.
>
> Solution was :
>
> 1) check out open office build repository using svn command in linux.
> This way all file will have LF line ending (as required by unix) .
>
>
> 2) Restart in windows and build the same repository without modifying any
> file.
>
> Regards
>
> Tapas
>
>
> On Sun, Sep 30, 2012 at 6:39 PM, tapas <ta...@gmail.com> wrote:
>
>> Hi Ariel/ALL,
>>
>> I solved my earlier problem.
>>
>> Problem was that I checked out svn repository from command prompt in
>> windows xp. And svn command updated every file with CRLF line endings.
>>
>> So, when I tried to build using build guide , soltools was giving me
>> errors like that.
>>
>> Solution was :
>>
>> 1) check open office build repository using svn command in linux. This
>> way all file will have LF line ending (as required by unix) .
>>
>> 2) Restart in windows and build the same repository without modifying any
>> file.
>>
>> Regards
>> Tapas
>>
>>
>> On Mon, Sep 24, 2012 at 7:59 PM, Ariel Constenla-Haile <
>> arielch@apache.org> wrote:
>>
>>> Hi,
>>>
>>> On Mon, Sep 24, 2012 at 10:51:16AM +0530, tapas wrote:
>>> > Hi Schrieb/ALL,
>>> >
>>> > I also put same things. But I am facing build problem to build it in
>>> > windows.
>>>
>>> note that I've just followed the building guide to set up the
>>> environment, and it worked with:
>>>
>>> * MS Visual C++ 2008 Express Edition
>>> * MS Driver Kit 7 (for ATL/ActiveX)
>>> * cygwin set up with http://cygwin.com/setup.exe on Saturday (no idea
>>> what version will it be, I assume the latest)
>>>
>>>
>>> > Could please send me atleast below things:
>>> > 1) configure command
>>>
>>> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.cmdops
>>> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.parms
>>>
>>> > 2) cygwin version
>>>
>>> I assume the latest, downloaded on Saturday, set up following the
>>> instructions on the building guide.
>>>
>>>
>>> > 3) out put of configure command in cygwin shell
>>>
>>> I didn't save that, but there is the log:
>>> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.log
>>>
>>> > 4) svn revision number of your source tree
>>>
>>> rev. 1389156 as the binaries you can find there
>>> http://people.apache.org/~arielch/packages/r1389156/win/
>>>
>>> > 5) contents of cygwin path variable in cygwin shell.
>>>
>>> *before* sourcing winenv.set.sh
>>>
>>> echo $PATH
>>> /usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
>>>
>>> After sourcing winenv.set.sh PATH is set to the value exported in that
>>> script.
>>>
>>>
>>> > 6) win_env_set.sh file produced by your configure command
>>>
>>> http://people.apache.org/~arielch/packages/r1389156/win/dev/winenv.set.sh
>>>
>>>
>>> Regards
>>> --
>>> Ariel Constenla-Haile
>>> La Plata, Argentina
>>>
>>
>>
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by tapas <ta...@gmail.com>.
Hi Ariel/ALL,
I solved my earlier problem.
Problem was that I checked out svn repository from command prompt in
windows xp. And svn command updated every file with CRLF line endings.
So, when I tried to build using build guide , soltools was giving me errors
like that.
Solution was :
1) check out open office build repository using svn command in linux. This
way all file will have LF line ending (as required by unix) .
2) Restart in windows and build the same repository without modifying any
file.
Regards
Tapas
On Sun, Sep 30, 2012 at 6:39 PM, tapas <ta...@gmail.com> wrote:
> Hi Ariel/ALL,
>
> I solved my earlier problem.
>
> Problem was that I checked out svn repository from command prompt in
> windows xp. And svn command updated every file with CRLF line endings.
>
> So, when I tried to build using build guide , soltools was giving me
> errors like that.
>
> Solution was :
>
> 1) check open office build repository using svn command in linux. This way
> all file will have LF line ending (as required by unix) .
>
> 2) Restart in windows and build the same repository without modifying any
> file.
>
> Regards
> Tapas
>
>
> On Mon, Sep 24, 2012 at 7:59 PM, Ariel Constenla-Haile <arielch@apache.org
> > wrote:
>
>> Hi,
>>
>> On Mon, Sep 24, 2012 at 10:51:16AM +0530, tapas wrote:
>> > Hi Schrieb/ALL,
>> >
>> > I also put same things. But I am facing build problem to build it in
>> > windows.
>>
>> note that I've just followed the building guide to set up the
>> environment, and it worked with:
>>
>> * MS Visual C++ 2008 Express Edition
>> * MS Driver Kit 7 (for ATL/ActiveX)
>> * cygwin set up with http://cygwin.com/setup.exe on Saturday (no idea
>> what version will it be, I assume the latest)
>>
>>
>> > Could please send me atleast below things:
>> > 1) configure command
>>
>> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.cmdops
>> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.parms
>>
>> > 2) cygwin version
>>
>> I assume the latest, downloaded on Saturday, set up following the
>> instructions on the building guide.
>>
>>
>> > 3) out put of configure command in cygwin shell
>>
>> I didn't save that, but there is the log:
>> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.log
>>
>> > 4) svn revision number of your source tree
>>
>> rev. 1389156 as the binaries you can find there
>> http://people.apache.org/~arielch/packages/r1389156/win/
>>
>> > 5) contents of cygwin path variable in cygwin shell.
>>
>> *before* sourcing winenv.set.sh
>>
>> echo $PATH
>> /usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
>>
>> After sourcing winenv.set.sh PATH is set to the value exported in that
>> script.
>>
>>
>> > 6) win_env_set.sh file produced by your configure command
>>
>> http://people.apache.org/~arielch/packages/r1389156/win/dev/winenv.set.sh
>>
>>
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Argentina
>>
>
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by tapas <ta...@gmail.com>.
Hi Ariel/ALL,
I solved my earlier problem.
Problem was that I checked out svn repository from command prompt in
windows xp. And svn command updated every file with CRLF line endings.
So, when I tried to build using build guide , soltools was giving me errors
like that.
Solution was :
1) check open office build repository using svn command in linux. This way
all file will have LF line ending (as required by unix) .
2) Restart in windows and build the same repository without modifying any
file.
Regards
Tapas
On Mon, Sep 24, 2012 at 7:59 PM, Ariel Constenla-Haile
<ar...@apache.org>wrote:
> Hi,
>
> On Mon, Sep 24, 2012 at 10:51:16AM +0530, tapas wrote:
> > Hi Schrieb/ALL,
> >
> > I also put same things. But I am facing build problem to build it in
> > windows.
>
> note that I've just followed the building guide to set up the
> environment, and it worked with:
>
> * MS Visual C++ 2008 Express Edition
> * MS Driver Kit 7 (for ATL/ActiveX)
> * cygwin set up with http://cygwin.com/setup.exe on Saturday (no idea
> what version will it be, I assume the latest)
>
>
> > Could please send me atleast below things:
> > 1) configure command
>
> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.cmdops
> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.parms
>
> > 2) cygwin version
>
> I assume the latest, downloaded on Saturday, set up following the
> instructions on the building guide.
>
>
> > 3) out put of configure command in cygwin shell
>
> I didn't save that, but there is the log:
> http://people.apache.org/~arielch/packages/r1389156/win/dev/config.log
>
> > 4) svn revision number of your source tree
>
> rev. 1389156 as the binaries you can find there
> http://people.apache.org/~arielch/packages/r1389156/win/
>
> > 5) contents of cygwin path variable in cygwin shell.
>
> *before* sourcing winenv.set.sh
>
> echo $PATH
> /usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
>
> After sourcing winenv.set.sh PATH is set to the value exported in that
> script.
>
>
> > 6) win_env_set.sh file produced by your configure command
>
> http://people.apache.org/~arielch/packages/r1389156/win/dev/winenv.set.sh
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi,
On Mon, Sep 24, 2012 at 10:51:16AM +0530, tapas wrote:
> Hi Schrieb/ALL,
>
> I also put same things. But I am facing build problem to build it in
> windows.
note that I've just followed the building guide to set up the
environment, and it worked with:
* MS Visual C++ 2008 Express Edition
* MS Driver Kit 7 (for ATL/ActiveX)
* cygwin set up with http://cygwin.com/setup.exe on Saturday (no idea
what version will it be, I assume the latest)
> Could please send me atleast below things:
> 1) configure command
http://people.apache.org/~arielch/packages/r1389156/win/dev/config.cmdops
http://people.apache.org/~arielch/packages/r1389156/win/dev/config.parms
> 2) cygwin version
I assume the latest, downloaded on Saturday, set up following the
instructions on the building guide.
> 3) out put of configure command in cygwin shell
I didn't save that, but there is the log:
http://people.apache.org/~arielch/packages/r1389156/win/dev/config.log
> 4) svn revision number of your source tree
rev. 1389156 as the binaries you can find there
http://people.apache.org/~arielch/packages/r1389156/win/
> 5) contents of cygwin path variable in cygwin shell.
*before* sourcing winenv.set.sh
echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
After sourcing winenv.set.sh PATH is set to the value exported in that
script.
> 6) win_env_set.sh file produced by your configure command
http://people.apache.org/~arielch/packages/r1389156/win/dev/winenv.set.sh
Regards
--
Ariel Constenla-Haile
La Plata, Argentina
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by tapas <ta...@gmail.com>.
Hi Schrieb/ALL,
I also put same things. But I am facing build problem to build it in
windows.
Could please send me atleast below things:
1) configure command
2) cygwin version
3) out put of configure command in cygwin shell
4) svn revision number of your source tree
5) contents of cygwin path variable in cygwin shell.
6) win_env_set.sh file produced by your configure command
Thank you in advance. It will really save my life
Tapas
On Mon, Sep 24, 2012 at 2:08 AM, Regina Henschel <rb...@t-online.de>wrote:
> Hi tapas,
>
> tapas schrieb:
>
> Hi Ariel/ALL
>>
>> If you can't upload full source tree then at least attach following things
>> for windows build:
>>
>> 1) configure command
>> 2) cygwin version
>> 3) out put of configure command in cygwin shell
>> 4) svn revision number of your source tree
>> 5) contents of cygwin path variable in cygwin shell.
>> 6) win_env_set.sh file produced by your configure command
>> 7) if possible then please also let me know contents of main/external/
>> directory and send dmake source file/link OR dmake executable in windows
>>
>
> I'm not sure whether all of them are needed, but I put the debug versions
> of the dll's into those folders too, for example Microsoft.VC90.DebugCRT.*
> *manifest, msvcm90d.dll, msvcp90d.dll, and msvcr90d.dll.
>
> It should be in configure
> --with-dmake-url="http://**dmake.apache-extras.org.**
> codespot.com/files/dmake-4.12.**tar.bz2<http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2>"
> \
>
> Kind regards
> Regina
>
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by Regina Henschel <rb...@t-online.de>.
Hi tapas,
tapas schrieb:
> Hi Ariel/ALL
>
> If you can't upload full source tree then at least attach following things
> for windows build:
>
> 1) configure command
> 2) cygwin version
> 3) out put of configure command in cygwin shell
> 4) svn revision number of your source tree
> 5) contents of cygwin path variable in cygwin shell.
> 6) win_env_set.sh file produced by your configure command
> 7) if possible then please also let me know contents of main/external/
> directory and send dmake source file/link OR dmake executable in windows
I'm not sure whether all of them are needed, but I put the debug
versions of the dll's into those folders too, for example
Microsoft.VC90.DebugCRT.manifest, msvcm90d.dll, msvcp90d.dll, and
msvcr90d.dll.
It should be in configure
--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
\
Kind regards
Regina
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by tapas <ta...@gmail.com>.
Hi Ariel/ALL
If you can't upload full source tree then at least attach following things
for windows build:
1) configure command
2) cygwin version
3) out put of configure command in cygwin shell
4) svn revision number of your source tree
5) contents of cygwin path variable in cygwin shell.
6) win_env_set.sh file produced by your configure command
7) if possible then please also let me know contents of main/external/
directory and send dmake source file/link OR dmake executable in windows
I can try to find faults in my build with these information. Please help
me.
Thank you
tapas
On Sun, Sep 23, 2012 at 10:38 PM, tapas <ta...@gmail.com> wrote:
> Hi,
>
> Could you please upload your source tree and build environment (cygwin
> etc) in zip format.
>
> It will save my life. Please help me.
>
> I am trying to build it on windows XP / windows 7 for last 2 weeks.
>
> Thanks in advance
> Tapas
>
>
> On Sun, Sep 23, 2012 at 4:14 AM, Ariel Constenla-Haile <arielch@apache.org
> > wrote:
>
>> Hi
>>
>> On Fri, Sep 21, 2012 at 11:01:15PM +0530, tapas wrote:
>> > -Fo../wntmsci12/obj/cppsetup.obj cppsetup.c cppsetup.c
>> >
>> f:\aoo-3.4.1-incubating-src\aoo-3.4.1\main\soltools\mkdepend\def.h(42)
>> > : fatal error C1083: Cannot open include file: 'unistd.h': No such
>> > file or directory dmake: Error code 2, while making
>> > '../wntmsci12/obj/cppsetup.obj'
>> >
>> > 1 module(s): soltools need(s) to be rebuilt
>> >
>> > Reason(s):
>> >
>> > ERROR: error 65280 occurred while making
>> > /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
>>
>>
>> In my build there is a dummy unistd.h in soltools\wntmsci12.pro\inc\
>> it is built in soltools\winunistd
>>
>> And soltools\winunistd is built after main\soltools\mkdepend according
>> to soltools\prj\build.lst
>>
>> Isn't unistd.h there on your build?
>>
>> > Entering
>> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/winunistd
>> >
>> >
>> > Entering
>> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
>>
>> According to the build order, it should be there
>>
>> >
>> > Compiling: soltools/mkdepend/cppsetup.c
>> > Cflags: [...] -I../wntmsci12/inc
>>
>> and this directory is always in the include path. I've no idea what
>> could be wrong, here it's building fine.
>>
>>
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Argentina
>>
>
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by tapas <ta...@gmail.com>.
Hi,
Could you please upload your source tree and build environment (cygwin etc)
in zip format.
It will save my life. Please help me.
I am trying to build it on windows XP / windows 7 for last 2 weeks.
Thanks in advance
Tapas
On Sun, Sep 23, 2012 at 4:14 AM, Ariel Constenla-Haile
<ar...@apache.org>wrote:
> Hi
>
> On Fri, Sep 21, 2012 at 11:01:15PM +0530, tapas wrote:
> > -Fo../wntmsci12/obj/cppsetup.obj cppsetup.c cppsetup.c
> > f:\aoo-3.4.1-incubating-src\aoo-3.4.1\main\soltools\mkdepend\def.h(42)
> > : fatal error C1083: Cannot open include file: 'unistd.h': No such
> > file or directory dmake: Error code 2, while making
> > '../wntmsci12/obj/cppsetup.obj'
> >
> > 1 module(s): soltools need(s) to be rebuilt
> >
> > Reason(s):
> >
> > ERROR: error 65280 occurred while making
> > /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
>
>
> In my build there is a dummy unistd.h in soltools\wntmsci12.pro\inc\
> it is built in soltools\winunistd
>
> And soltools\winunistd is built after main\soltools\mkdepend according
> to soltools\prj\build.lst
>
> Isn't unistd.h there on your build?
>
> > Entering
> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/winunistd
> >
> >
> > Entering
> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
>
> According to the build order, it should be there
>
> >
> > Compiling: soltools/mkdepend/cppsetup.c
> > Cflags: [...] -I../wntmsci12/inc
>
> and this directory is always in the include path. I've no idea what
> could be wrong, here it's building fine.
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>
Re: Hi, AOO 3.4.1 build breaks in Windows XP
Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi
On Fri, Sep 21, 2012 at 11:01:15PM +0530, tapas wrote:
> -Fo../wntmsci12/obj/cppsetup.obj cppsetup.c cppsetup.c
> f:\aoo-3.4.1-incubating-src\aoo-3.4.1\main\soltools\mkdepend\def.h(42)
> : fatal error C1083: Cannot open include file: 'unistd.h': No such
> file or directory dmake: Error code 2, while making
> '../wntmsci12/obj/cppsetup.obj'
>
> 1 module(s): soltools need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
> /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
In my build there is a dummy unistd.h in soltools\wntmsci12.pro\inc\
it is built in soltools\winunistd
And soltools\winunistd is built after main\soltools\mkdepend according
to soltools\prj\build.lst
Isn't unistd.h there on your build?
> Entering /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/winunistd
>
>
> Entering /cygdrive/f/aoo-3.4.1-incubating-src/aoo-3.4.1/main/soltools/mkdepend
According to the build order, it should be there
>
> Compiling: soltools/mkdepend/cppsetup.c
> Cflags: [...] -I../wntmsci12/inc
and this directory is always in the include path. I've no idea what
could be wrong, here it's building fine.
Regards
--
Ariel Constenla-Haile
La Plata, Argentina