Apache OpenOffice (AOO) Bugzilla – Issue 18082
./configure not happy about path to mspdb60.dll
Last modified: 2010-11-10 17:27:09 UTC
In 1.1 RC3, taken from CVS this afternoon, when running configure it gives an error about the path to mspdb60.dll. It finds this dll all right, but apparently the path is expanded Windows style, and a subsequent command regards the path (containing spaces) as multiple command arguments. When, as suggested in the error message, I added the flag --with-mspdb- path=/cygdrive/c/progra~1/micros~2/common/msdev98/bin, a similar error message was shown but this time configure completed (and the build appears to proceed normally so far). I did not have this problem with RC2, using exactly the same setup and the same arguments to ./configure.
Yes, I guess there really is a problem. It would really help if you would show me the errorlog next time instead of saying it gives an error. Can you try this: ---- patch ---- Index: config_office/configure.in =================================================================== RCS file: /cvs/tools/config_office/configure.in,v retrieving revision 1.55.2.9 diff -u -r1.55.2.9 configure.in --- config_office/configure.in 5 Aug 2003 16:21:41 -0000 1.55.2.9 +++ config_office/configure.in 10 Aug 2003 08:18:33 -0000 @@ -646,7 +646,7 @@ dnl .NET Compiler? AC_PATH_PROG(MSPDB_PATH, mspdb70.dll) if test -n "$MSPDB_PATH";then - MSPDB_PATH=`dirname $MSPDB_PATH` + MSPDB_PATH=`dirname "$MSPDB_PATH"` fi if test -e "$with_mspdb_path/mspdb70.dll"; then MSPDB_PATH="$with_mspdb_path" @@ -658,7 +658,7 @@ dnl MSVC 6 Compiler? AC_PATH_PROG(MSPDB_PATH, mspdb60.dll) if test -n "$MSPDB_PATH";then - MSPDB_PATH=`dirname $MSPDB_PATH` + MSPDB_PATH=`dirname "$MSPDB_PATH"` fi if test -e "$with_mspdb_path/mspdb60.dll"; then MSPDB_PATH="$with_mspdb_path" ---- patch ---- You have to run autoconf in config_office after applying the patch. I set the target to 1.1RC, I'd like to get this fixed until 1.1 final.
Here is the last part of the ./configure output (run without the -- with-mspdb flag) checking the Microsoft C/C++ Compiler... checking for mspdb70.dll... no checking for mspdb60.dll... /cygdrive/c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin/mspdb60.dll dirname: too many arguments Try `dirname --help' for more information. configure: error: You need a mspdb?0.dll, make sure it's in the path or use --with-mspdb-path Simon@max /cygdrive/c/ooo_11rc3_src/config_office
After applying the patch, no errors were generated by ./configure.
Approved by Ken on releases@openoffice.org, committed.
verfied in 1.1.0.
close issue
Created attachment 73485