Apache OpenOffice (AOO) Bugzilla – Issue 24058
Failed to configure using Cygwin 1.5.5.1
Last modified: 2006-03-14 21:02:56 UTC
When I try to configure OOo 1.1.1a and 1.1.0, I got different error. Attached: config_ooo1.1.1a.log config_ooo1.1.0.log I use MS Visual Studio .net 2002 Entreprise Cygwin 1.5.5.1 4NT 4.0.1 JDK 1.4.1._05 Win Xp pro When I test $ /cygdrive/c/progra~1/micros~2.net/vc7/bin/cl.exe I got error This application has failed to start because mspdb70.dll was not found. reinstalling the application may fix this problem. I already try to repair the installation, but still same result. I also already try to uninstall Visual studio.net and reinstalling it again. I delete the source, and extract it again, and it is same. I check, the mspdb70.dll is exist in C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE If I try to copy mspdb70.dll to C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin When I test utomo@utomo ~ $ /cygdrive/c/progra~1/micros~2.net/vc7/bin/cl.exe Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86 Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] above error gone, but I still got another error Attached config after copy mspdb70.dll .log /out:conftest.exe conftest.obj LINK : fatal error LNK1104: cannot open file 'LIBC.lib' configure:2454: $? = 2 configure: failed program was: | /* confdefs.h. */ Can somebody please help me, how to solve this ? Thankyou very much
Created attachment 12234 [details] Config error using cygwin 1.5.5.1 VS .net 2002
Created attachment 12284 [details] OOo 1.1.1a Config error with patch apply from 23345 and 19167
In none of the five config_office directories of config error.zip the patch from issue 23345 made it into configure. From the rejected patches I see that it doesn't apply cleanly to OOo 1.1.1a, but as there is no cvs tag for OOo 1.1.1a it's not easy to fix and it definitly is fixed in the cws...fix2 branch. I was against releasing the OOo1.1.1a sources as src tarball! I confirm this issue as a real problem for the OOo 1.1.1a tarball, BUT it is already fixed in newer branches.
Created attachment 12329 [details] Using new source,add cygwin component,using patch still other error wdevenv
After update my cygwin and use new source extract. I apply the patch iz23345_v2.diff, autoconf, configure, I got another error complete step by step & config_office dir in third attachement. I already use the convertdsw path. at environtment variable > at User variable and system Variable. ? do I need in both system variable and user variable ? ( I login as administrator) ? But I confuse what is the variable name I must use ? I use Variable name: convertdsw ( I also try path or wdevenv but all is failed) Variable value: C:\Program Files\ConvertDSWSetup ( I also try the dos path c:\progra~1\conver~1 but same error) ? What is wrong so it cannot find the wdevenv ? Thanks Utomo checking for gawk... gawk checking for gawk... /usr/bin/gawk checking for sed... /usr/bin/sed checking the operating system... checked (WINNT) checking the GNU make version... configure: WARNING: not found build may fail checking the Microsoft C/C++ Compiler... checking for mspdb70.dll... no found. checking the Version of Microsoft C/C++ Compiler... found Compiler version 00130 0009466. checking for midl.exe... /cygdrive/c/Program Files/Microsoft SDK/Bin/./midl.exe checking for wdevenv.exe... no configure: error: wdevenv.exe not found. Make sure it's in the path or use -- with-wdevenv-path utomo@utomo /cygdrive/c/oo_1.1.1a_src/config_office $
> I already use the convertdsw path. > at environtment variable > at User variable and system Variable. > ? do I need in both system variable and user variable ? ( I login as > administrator) > > ? But I confuse what is the variable name I must use ? > I use > Variable name: convertdsw ( I also try path or wdevenv but all is failed) > Variable value: C:\Program Files\ConvertDSWSetup ( I also try the dos path > c:\progra~1\conver~1 but same error) > > ? What is wrong so it cannot find the wdevenv ? I don't understand a word. You can easily check if a program is in the path. Just start a cmd window. (Start->Programs->Accessories->Command Prompt) and enter: wdevenv If you get an error saying that the command is not recognized, than it is not in the path. If you don't know how to manipulate the windows path, buy a book or use: --with-wdevenv-path=/cygdrive/c/progra~1/ConvertDSWSetup as a parameter to configure. Just as configure recommends to you.
Utomo > VQ: I use win Xp. I set the path Start > Control panel. System , Tab Advanced. Environtment Variables. in System Variable. New. Variable name: convertdsw ( I also try, using variable path name: path or wdevenv but all is failed). Variable value: C:\Program Files\ConvertDSWSetup What is the correct Variable name ? I also already try the --with-wdevenv-path=/cygdrive/c/progra~1/ConvertDSWSetup But same error. The Config_office also already attached in same last zip file. Thankyou very much
Hi Utomo! > What is the correct Variable name ? PATH > I also already try the > --with-wdevenv-path=/cygdrive/c/progra~1/ConvertDSWSetup > But same error. The Config_office also already attached in same last zip file. No, not the same error. configure passed the wdevenv test, see: > ... > checking for wdevenv.exe... no > checking try to compile exception code... Exceptions type: dwarf2 > ... You found a slight problem, it says no, but it continues. When it continues everything is OK. I'll fix the lying "checking for wdevenv.exe... no" line. BUT you stop with a different error: > checking for flex... no > configure: error: no flex found in $PATH, install flex You need flex. Just start the cygwin setup.exe again and add the flex package. This is issue 23996.
Thanks volker. Actually I already use variable name path (but not PATH in capital, but I think same) but the wdevenv error also occur. I will try using capital name. I will install flex and try again. but I will back in monday (now saturday here). as I didnt have Visual Studio in Office (I try at home). Thanks
Created attachment 12410 [details] environtment path not working
Created attachment 12411 [details] configure OK, but with some warning
Hello, I try again from begining. step by step config_office in attached zip. It look like until step 3 we have no problems. 0 config_office original 1 config_office after patch 23345 (iz23345_v2.diff) 2 config_office after autoconf 3 config_office after configure $ ./configure --with-cl-home=/cygdrive/c/progra~1/micros~2.net/vc7 --with-asm- home=/cygdrive/c/progra~1/micros~2.net/vc7 --with-jdk- home=/cygdrive/c/j2sdk1.4.1_05 --with-unzip-home=/cygdrive/c/unzip --with- wdevenv-path=/cygdrive/c/progra~1/conver~1 It look like we have problem/warning here, is this correct? a) /out:conftest.exe /out:conftest.exe conftest.cc conftest.cc : fatal error LNK1106: invalid file or disk full: cannot seek to 0x2F3E Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86 Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. cl : Command line warning D4024 : unrecognized source file type 'conftest.cc', object file assumed configure:4592: $? = 2 configure: failed program was: | /* confdefs.h. */ b) configure:8526: checking for jakarta-ant configure:8559: result: no configure:8526: checking for ant configure:8559: result: no configure:8526: checking for ant.sh configure:8559: result: no configure:8526: checking for ant.bat configure:8559: result: no configure:8615: WARNING: Ant not found - Some Java projects will not build configure:8852: creating ./config.status Is that correct we need Ant, which is not mention in build guide (same as Flex)? (where to get the Ant?, http://ant.apache.org/ ) 4 config_office after winenv bat (at 4NT shell) After this I don't know what to do. as the build guide not clear enough for me. please help. Before full build guide (after running winenv.bat at 4NT shell) there is some explanation about configure, but it is not clear. in build guide say: run dmake from top level directory $SRC_ROOT>dmake I guess it is from cygwin. But I cannot find dmake at the source root. there is dmake in $SRC_ROOT/dmake (do I need to copy manually the dmake.exe from dmake folder to the source root and run it from cygwin shell ? Please help. Thanks Utomo
> It look like we have problem/warning here, is this correct? Does configure complain? No, you found something in the debugging output. > Is that correct we need Ant, which is not mention in build guide (same as Flex)? > (where to get the Ant?, http://ant.apache.org/ ) See issue 24045 > in build guide say: > run dmake from top level directory > $SRC_ROOT>dmake > I guess it is from cygwin. But I cannot find dmake at the source root. there > is dmake in $SRC_ROOT/dmake Wrong, just read and follow the webside. From the webside: ------ Overview of Performing a Full Build To perform a full build, you need to follow these steps: 1. Get the source code, either from the download webpage (www.openoffice.org/dev_docs/source/download.html) or alternatively via a check-out from the cvs tree against a release tag, e.g. cws_srx644_ooo11beta. 2. Run the configure script in a cygwin bash shell to check all requirements and to create the script winenv.bat. 3. Run the winenv.bat (under 4NT) script to set all environment variables. Please see the last screen from the configure script for more specific information on setting up for your platform. 4. Build typing dmake in $SRC_ROOT, or build --all in the instsetoo module, or build followed by deliver in the individual modules. ------ After 3. there comes 4. Just start dmake (in 4NT).
Created attachment 12428 [details] after dmake and 4NT output
Thanks Volker, Regarding the Ant, do the Ant 1.6 will work, I better to use old Ant 1.54 ? Yes I can run the Dmake. But I got some patch question Which I didnot know. so at the moment I skip it. Attached also the complete 4NT output after dmake. Please help. Thanks cd .\wntmsci8.pro\misc\build && ( type ..\..\..\boost_1_27_0.patch | tr -d "\015 " | patch -b -p2 ) && C:\cygwin\bin\touch.exe so_patched_ooo_boost can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- misc/boost_1_27_0/boost/config/compiler/gcc.hpp |+++ misc/build/boost_1_27_0/boost/config/compiler/gcc.hpp -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 19 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |*** misc/boost_1_27_0/boost/config/user.hpp Thu Feb 7 10:26:05 2002 |--- misc/build/boost_1_27_0/boost/config/user.hpp Fri Apr 11 17:50:51 2003 -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 37 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |*** misc/boost_1_27_0/boost/detail/atomic_count_linux.hpp Thu Feb 7 10:26 :13 2002 |--- misc/build/boost_1_27_0/boost/detail/atomic_count_linux.hpp Wed May 7 11:28:19 2003 -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 73 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |*** misc/boost_1_27_0/boost/detail/shared_array_nmt.hpp Thu Feb 7 10:26 :16 2002 |--- misc/build/boost_1_27_0/boost/detail/shared_array_nmt.hpp Fri Apr 11 17:50 :51 2003 -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 101 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |*** misc/boost_1_27_0/boost/detail/shared_count.hpp Thu Feb 7 10:26:16 2002 |--- misc/build/boost_1_27_0/boost/detail/shared_count.hpp Fri Apr 11 17:50 :51 2003 -------------------------- File to patch: y y: No such file or directory Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 130 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |*** misc/boost_1_27_0/boost/detail/shared_ptr_nmt.hpp Thu Feb 7 10:26:16 2002 |--- misc/build/boost_1_27_0/boost/detail/shared_ptr_nmt.hpp Fri Apr 11 17:50 :51 2003 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored patching file boost_1_27_0/boost/detail/linux_atomic.h dmake.exe: Error code 129, while making '.\wntmsci8.pro\misc\build\so_patched_o oo_boost' ---*TG_SLO.MK*--- ERROR: Error 65280 occurred while making /cygdrive/c/oo_1.1.1a_src/boost dmake: Error code 129, while making 'build_all' ---*TG_SLO.MK*--- [c:\oo_1.1.1a_src]
> Regarding the Ant, do the Ant 1.6 will work, I better to use old Ant 1.54 ? As you don't really need Ant for the 1.1.x series I don't know. Try it! Your problem is not patch, but: ---- cd .\wntmsci8.pro\misc\build && ( gunzip -c ..\..\..\download\boost_1_27_0.tar.g z | tar -xvf -) && C:\cygwin\bin\touch.exe so_unpacked_ooo_boost UnZip 5.50 of 17 February 2002, by Info-ZIP. Maintained by C. Spieler. Send bug reports to the authors at Zip-Bugs@lists.wku.edu; see README for details. Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ; see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites. (snip) ---- Your gunzip behaves as if it is unzip! NOTE that are different programs! What did you do? The build instructions said to check for symlinks and replace them by the real programs. /bin/gunzip.exe normaly is a link to gzip.exe but you obviously replaced it with unzip.exe. Totally wrong!
OOops, It look like I didn't pay enough attention or sleepy when do that. I will repair and test it again. I will pay more attention to the tar also. Thanks
Created attachment 12469 [details] javadep.exe error when build
Hello, I already try to build all. Some module already pass. but it failed in module officecfg. the error message is Javadep.exe Application error. The application failed to initialize properly (0xc0000022), Click on OK to terminate the application 3 times and stop. Before that, there is some warning which simmiliar: c:\progra~1\micros~2.net\vc7\bin\cl.exe @c:\DOCUME~1\utomo\LOCALS~1\Temp\mk13 getopt1.c c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stdio.h(298) : warning C4028: formal parameter 1 different from declaration c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stdio.h(382) : warning C4028: formal parameter 1 different from declaration Please help. Thanks
Hi Utomo, can you please start a new issue. Your javadep problems are no longer related to "Failed to configure using Cygwin 1.5.5.1" I have no idea what the problem is, I routinely build with .NET2002 and I don't see this problem. A general hint: Don't attach whole directories for debugging purposes, what really helps is the complete output of dmake. You don't have to cut-n-paste it from your command line, the easiest way is to do this: (In 4nt shell) $ dmake > build.log 2>&1 This will redirect the complete output into the file build.log
Thanks Volker. I create Issue 24426. I am now updating my config_office, officecfg and soltools. I will try again. including your suggestion.
I assume this issue as closed, please feel free to reopen if not.
Oops sorry not to close this. Yes it is solved. Thanks But if possible it is better if we can reduce the warning like this or others (which did not have effect to our configure/build). /out:conftest.exe /out:conftest.exe conftest.cc conftest.cc : fatal error LNK1106: invalid file or disk full: cannot seek to 0x2F3E Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86 Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. cl : Command line warning D4024 : unrecognized source file type 'conftest.cc', object file assumed configure:4592: $? = 2 configure: failed program was: | /* confdefs.h. */ Close