Hi Henrik,
I'm new to this list. I was hoping to build OOo on XP. I've installed
"Visual C++ Express Edition" and "Microsoft DirectX SDK (December
2005)"
My command line for configure is getting rather long (all parameters
are added due to separate error reports from configure),
./configure --with-cl-home="/cygdrive/c/Program/Microsoft Visual
Studio .NET 2003/Vc7"
Is this "Visual C++ Express Edition"? If this is what was called
"Microsoft Visual C++ Toolkit 2003" it will not work. See
<http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements>
Btw, I doubt that a .NET2005 build will work without problems, as the
corresponding cws is not yet finished/integrated. See
<http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Id=2981&Path=SRC680%2Fobo2005b>
--with-jdk-home="/cygdrive/c/Program/Java/j2sdk1.4.2_10"
--with-use-shell=tcsh --with-midl-path="/cygdrive/c/Program\Microsoft
Platform SDK\Bin"
--with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322"
--with-frame-home="/cygdrive/c/Program/Microsoft.NET/SDK/v1.1"
--disable-directx
--with-ant-home="/cygdrive/c/Program/apache-ant-1.6.5"
Problems:
1 DirectX
a) with --with-directx-home="/cygdrive/c/Program/Microsoft DirectX
SDK (December 2005)" I get:
checking for DirectX SDK files... configure: error: DirectX SDK files
not found, please use --with-directx-home or -disable-directx.
Hmmm, did you follow
<http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements>
and also install "DirectX 9.0 SDK Update - (????? 2005) Extras"? If yes, can
you please
tell me where MS now put "strmif.h" and "strmiids.lib"? These are the files that
configure checks to see if you have everything from DirectX SDK.
b) with --disable-directx I get:
checking for DirectX SDK files... cat:
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX SDK/* Doc
Path: No such file or directory
cygpath: can't convert empty path
cygpath: can't convert empty path
Hmm, looks like a bug as configure shouldn't search in the registry
when --disable-directx is given ;( (can you file a bug to the tools
project?)
But as you have the directx SDK installed you shouldn't trip this bug.
Obviously M$ changed some registry keys. Can you tell me the output
of the following command:
$ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*
Obviously this has to be entered in a cygwin shell.
2) Can I get these files legally, without bying anything from
Microsoft (there is no tools-directory in my "c:\Program
Files\Microsoft Visual Studio .NET 2003\Common7")?
checking for instmsia.exe/instmsiw.exe... configure: error:
instmsia.exe and/or instmsiw.exe are/is missing in the default
location.
These programs are part of the .NET installation and should be found in a
directory similar to:
"c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\Deployment\MsiRedist\"
As the automatic detection fails please copy the files to external/msi/.
checking for instmsia.exe/instmsiw.exe... configure: error:
instmsia.exe and/or instmsiw.exe are/is missing in the default
location.
These programs are part of the .NET installation and should be found in a
directory similar to:
"c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\Deployment\MsiRedist\"
As the automatic detection fails please copy the files to external/msi/.
As I said, the Visual Toolkit build is not supported and these files are
included in a regular MS Visual C++ .net 2003 compiler.
3) If I comment away the test for instmsia.exe I finally get:
********************************************************************
* *
* Setting up the build environment variables. *
* *
********************************************************************
checking solver path... default
configure: creating ./config.status
config.status: creating set_soenv
Setting up the environment for building OpenOffice.org
.. är inte ett internt kommando, externt kommando,
program eller kommandofil.
Setting platform independent values...
set_soenv: Cannot figure out what platform you are running
For .
(I.e. .. is not an internal or external command). What's happening?
What does this mean?
Can you check if there is a "config.guess" file in solenv/bin/ ?
4) I'm using Windows XP home edition and trying to compile
OOo_2.0.0rc3_src. Is there any hope for me? Do I need to buy programs
from MicroSoft (except the OS) to be able to compile OOo on XP?
At the moment it looks like it. This may change with .NET2005, maybe.
Volker
--
If you like my work consider: http://www.scytek.de/donations.html
PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D