Hi Henrik,
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>
I don't know the differences between the different Microsoft packages.
I've got these installed (according to the control panel):
Microsoft .NET Framework 1.1
Microsoft .NET Framework SDK (English) 1.1
Microsoft .NET Framework 2.0
Microsoft DirectX SDK (December 2005)
Microsoft Platform SDK (3790.1830)
Microsoft Visual C++ 2005 Express Edition - ENU
Microsoft Visual C++ Toolkit 2003
Ah, this is what you used with --with-cl-home="/cygdrive/c/Program/Microsoft
Visual Studio .NET 2003/Vc7
Unfortunately the Microsoft Visual C++ Toolkit 2003 is not enough to build
OOo. The compiler is fine, but MS omitted some libraries that are needed to
build OOo but that are only available in the sold Standard or Professional
version. See <http://qa.openoffice.org/issues/show_bug.cgi?id=32040>
for problems with VCTK.
Microsoft Visual C++ 2005 Express Edition - ENU might work, but OOo itself
is not ready yet to be build with a .NET 2005 :(
I was missing ml.exe, but was able to find it in
http://www.masm32.com/ (I hope it is legal).
ml is also included in the Standard or Professional version but
not in the VCTK. But the version you found should work.
--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"?
No I didn't think it was appropriate to add older Updates in the
December 2005-version.
There are some files in it that were needed at that time.
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.
I haven't downloaded anything extra for DirectX. At
http://msdn.microsoft.com/directx/sdk/ i can not find Extras. And this
is said about Symbols (I therefore did not download it (I've got XP
SP2):
This download contains all the symbol files for the DirectX release
for Windows 98, Windows ME, Windows 2000, Windows XP, and Windows
Server 2003. The Windows XP Service Pack 2 symbol files are located in
the Platform SDK.
I found strmiids.lib at: C:\Program\Microsoft Platform SDK\Lib
and strmif.h at: C:\Program\Microsoft Platform SDK\Include
I should choose a better check then and really check for a DirectX
related file. Earlier these files were not in the PlatformSDK.
Sorry, but MS is shuffeling stuff around.
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.
$ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX:
total 0
-r--r----- 1 Administratörer SYSTEM 0 Dec 18 00:24 @
-r--r----- 1 Administratörer SYSTEM 2 Dec 18 00:24 Debug
-r--r----- 1 Administratörer SYSTEM 4 Dec 18 00:24 InstallMDX
-r--r----- 1 Administratörer SYSTEM 8 Dec 18 00:24 InstalledVersion
-r--r----- 1 Administratörer SYSTEM 4 Dec 18 00:24 PvtDXBuild
-r--r----- 1 Administratörer SYSTEM 2 Dec 18 00:24 RC
-r--r----- 1 Administratörer SYSTEM 14 Dec 18 00:24 SDKVersion
-r--r----- 1 Administratörer SYSTEM 13 Dec 18 00:24 Version
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX Diagnostic Tool:
total 0
-r-------- 1 Henrik Ingen 3 Apr 18 2003 TxtPath
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX SDK:
Was there a DirectX documentation that you didn't install. The configure
test was looking looked for ../Microsoft/DirectX SDK/* Doc Path .
total 0
dr-xr-x--- 2 Administratörer SYSTEM 0 Dec 18 00:24 SampleBrowser
Do you still want me to file a bug?
Yes, call it: configure cannot handle Dec 2005 DirectX SDK. Assign it to
vq.
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/ ?
Yes, and it is 1454 lines long (from 2003-05-07).
Hmm, I don't know what happens here but there are enough other problens ;)
Can you try:
$ ./solenv/bin/config.guess
and see what happens. (You should get "i686-pc-cygwin")
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 I would say yes. Sad but true :(
Thanks for trying
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