incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tapas <tapas...@gmail.com>
Subject Hi, AOO 3.4.1 build breaks in Windows XP
Date Fri, 21 Sep 2012 17:31:15 GMT
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

Mime
View raw message