Issue 18082 - ./configure not happy about path to mspdb60.dll
Summary: ./configure not happy about path to mspdb60.dll
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: quetschke
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-09 19:49 UTC by simonbr
Modified: 2010-11-10 17:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description simonbr 2003-08-09 19:49:57 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.
Comment 1 quetschke 2003-08-10 09:23:38 UTC
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.
Comment 2 simonbr 2003-08-10 10:06:38 UTC
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
Comment 3 simonbr 2003-08-10 10:20:57 UTC
After applying the patch, no errors were generated by ./configure.
Comment 4 quetschke 2003-08-10 17:38:03 UTC
Approved by Ken on releases@openoffice.org, committed.
Comment 5 Martin Hollmichel 2004-02-15 07:27:51 UTC
verfied in 1.1.0.
Comment 6 Martin Hollmichel 2004-02-15 07:31:02 UTC
close issue
Comment 7 writedinlo 2010-11-10 17:27:09 UTC
Created attachment 73485