Hi Thank you Kay and Regina About spaces, actually there were spaces in my originally command line before,but unfortunately, they are gone... I've found the answer to my question. When I added the jdk_home into configure option,the error was gone. My new configure command line looks like:
$ ./configure \ --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ --with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS" \ --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/Bin" \ --with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (June 2010)" \ --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.8.0_05" \ --with-ant-home="/cygdrive/c/ant" \ --with-dmake-url=" http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2" \ --enable-pch \ --disable-atl \ --disable-activex \ --disable-nss-module \ --without-junit \ --enable-category-b \ --with-lang="ja zh mn" \ --with-vendor="ARONSOYOL" \ --with-build-version="aron_2014_08_05" But after I did ./bootstrap source winenv.set.sh cd instsetoo_native/ build --all the following error occurred, ============= Building module soltools ============= Entering /cygdrive/c/aoo/main/soltools/winunistd Entering /cygdrive/c/aoo/main/soltools/mkdepend Compiling: soltools/mkdepend/cppsetup.c c:\aoo\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.pro/obj/cppsetup.obj' 1 module(s): soltools need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /cygdrive/c/aoo/main/soltools/mkdepend When you have fixed the errors in that module you can resume the build by running: build --all:soltools I uploaded the complete output to this URL https://dl.dropboxusercontent.com/u/24062440/build_open_office.html How can I resolve it? Thanks and Regards Aron 2014-08-05 8:41 GMT+09:00 Regina Henschel <rb.hensc...@t-online.de>: > Hi, > > aronsoyol schrieb: > >> Hi there. >> >> This is my first time to build OOo. When I run the command >> >> $ >> ./configure--with-ant-home="/cygdrive/c/ant"--with-dmake-url=" >> http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 >> "--with-epm-url="http://www.msweet.org/files/project2/epm-3.7-source. >> tar.gz"--enable-pch--disable-atl--disable-activex--disable- >> binfilter--without-junit >> >> > Besides the missing spaces Kay already mentioned, I see these differences > to my environment. My configure is > > ./configure \ > --with-directx-home="/cygdrive/c/Program Files/Microsoft DirectX SDK > (June 2010)" \ > --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio > 9.0/VC" \ > --disable-activex \ > --with-mozilla-build="/cygdrive/c/mozillabuild" \ > --enable-category-b \ > --with-asm-home="/cygdrive/c/Program Files/Microsoft Visual Studio > 9.0/VC/bin" \ > --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.6.0_38" \ > --with-ant-home=/ant \ > --with-mspdb-path="/cygdrive/c/Program Files/Microsoft Visual Studio > 9.0/Common7/IDE" \ > --without-junit \ > > --with-dmake-url="http://dmake.apache-extras.org. > codespot.com/files/dmake-4.12.tar.bz2" \ > --without-fonts \ > --with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \ > --with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \ > --with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \ > --with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \ > --with-vendor="Regina_Henschel" \ > --with-build-version="410RC 2014_04_15" > > My ant is installed into a subfolder of cygdrive, therefore it is only > --with-ant-home=/ant > > My configure contains the path to the jdk > --with-jdk-home > > I have installed WinDDK, and therefore atl and mfc are available. > > I have no --disable-binfilter because binfilter no longer exists. > > I have --enable-category-b because I want to be able to change macro > security in the installed OpenOffice. > > I have no --with-epm-url and never had. As far as I know it is not needed > for builds on Windows. > > Kind regards > Regina > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > >