hi,all

I have met some problems when I am building OOo_SRC680_m247 with MinGW on 
Windows XP. I just want to compile with mingw now. 

I got the information here:
http://tools.openoffice.org/dev_docs/build_windows_mingw.html

My problems are:
1. I cannot pass configure when I use mingw shell (there is only "sh" in the 
/bin ), and I will get the error information. So I have to 
turn to help from Cygwin, and I am not sure whether it is right or wrong.

2. When I am doing configure with Cygwin, the compiler is looking for 
"mspdb71.dll", but I want to use g++ instead of cl.exe, why does it 
still need this file?

 Error Information:
 *****************
checking for friendly registry keys... done
configure: error: You need a mspdb71.dll, make sure it's in the path or use 
--with-mspdb-path
 *****************

3. then, I copy "mspdb71.dll" into C: , and do configure again, and it is wrong.
  I don't know why does it look for cl.exe.

Error information:
 *****************
checking for friendly registry keys... Can't find MS Visual Studio / VC++ at ./o
owintool line 176.
done
checking for mspdb71.dll... /cygdrive/c
checking the Microsoft C/C++ Compiler... checking for cl.exe... no
configure: error: Microsoft C/C++ Compiler not found. Use --with-cl-home or set
path to cl.exe.
****************** 

Have you ever met/dealed such problem ?

My Build Env is:

1. Windows XP SP2
2. CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57
3. MinGW , with gcc version 3.4.5 (mingw special r3)
4. msys 1.0.9, with:
   MSYS-1.0.9.exe,
   msysDTK-1.0.1.exe,
   binutils-2.18.50-20080109-2-src.tar.gz( I don't know  how to patch it, so I 
didn't do that.)
   mingw-runtime-3.2-src.tar.gz,
   w32api-2.5-src.tar.gz,
   bison,
   flex.
5. MS 2005 Professional
6. Windows Software Development Kit (SDK) for Windows Server 2008 and .NET 
Framework 3.5 Release 

And My configure:
*************
./configure --with-mingwin=/cygdrive/c/MinGW 
--with-jdk-home=/cygdrive/c/OOENV/jdk1.5.0_16 
--with-psdk-home="/cygdrive/c/OOENV/PSDK" 
--with-ant-home=/cygdrive/c/OOENV/ant1.7 --disable-odk --disable-activex 
--disable-directx --with-asm-home="/cygdrive/c/Program 
Files/Microsoft Visual Studio 8/VC/bin" --disable-mozilla 
--without-myspell-dicts --with-mspdb-path=/cygdrive/c
**************

P.S:

I do not use "binutils-2.13.90-20030111-1-src.tar.gz",  for I cannot  "make 
install" it, with information: 
*********************
./arlex.l: line 11: syntax error near unexpected token `any'
./arlex.l: line 11: `(at your option) any later version.'
make[3]: *** [arlex.c] Error 1
make[3]: Leaving directory `/usr/src/binutils-2.13.90-20030111-1-src/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/binutils-2.13.90-20030111-1-src/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/binutils-2.13.90-20030111-1-src/binutils'
make: *** [all-binutils] Error 2
*********************
I have patched binutils-2.13 with this version. And I checked the flex and 
bison. I found yacc is in "C:\MinGW\bin" , and flex is in 
"C:\Program Files\GnuWin32\bin" on my mechine. Is there anything I have missed? 
Then I changed it to binutils-2.18.50-20080109-2.

Any hint? Thank you in advance! 

Best Regards,
Cynthia
2008-10-27

Reply via email to