Difference between revisions of "Mozilla2Seamonkey/Problem Log/Windows"
Line 40: | Line 40: | ||
[http://www.cygwin.com/ml/cygwin/2006-07/msg00376.html (source)] | [http://www.cygwin.com/ml/cygwin/2006-07/msg00376.html (source)] | ||
+ | |||
+ | Fixed in seamonkey-source-1.1.12.patch. | ||
+ | |||
+ | {{TODO|commit changes}} | ||
+ | |||
+ | === compiling IDLs fails === | ||
+ | |||
+ | ==== problem ==== | ||
+ | |||
+ | during compilation of some IDL files, message boxes pop up saying something about runtime libraries used in an invalid way | ||
+ | |||
+ | ==== cause ==== | ||
+ | |||
+ | The vc71*.zip archives to be put into the download folder contain DLLs which are not compatible with the 2005 compiler. | ||
+ | |||
+ | ==== workaround ==== | ||
+ | |||
+ | place the files extracted from [ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc8/vc8-moztools.zip vc8-moztools.zip] | ||
+ | in <code>%SRC_ROOT\wntmsci11.pro\misc\build\moztoolsinst</code> and <code>%SRC_ROOT\wntmsci11.pro\misc\build\moztoolsinst\vc71</code> | ||
+ | |||
+ | {{TODO|clarify: why is there moztoolsinst and moztoolsinst\vc71, in parts containing the same files?}} | ||
+ | |||
+ | ==== solution ==== | ||
+ | |||
+ | None yet. {{TODO|Implement a real solution which requires vc8-moztools.zip to be present in the download folder}} |
Revision as of 21:20, 2 November 2008
The following problems appeared while building the Seamonkey sources on Windows, after the great preliminary work done by Pierre Pasteau.
Building with Microsoft Visual Studio 2005
msvcp.dll not found
problem
Configure fails with a complaint that msvcp.dll is not found in C:\Program Files\Microsoft Visual Studio 8\VC\..\SDK\v2.0\bin
. Well, that's true, it's in %SRC_ROOT\external\msvcp80
- actually, that's a pre-requisite. Submitted as Issue 95642
workaround
copy all the files from %SRC_ROOT\external\msvcp80
to the locate where configure expects them
cairo not found during configure
problem
the configure step for Mozilla fails, with a "package cairo was not found ..." message.
solution
Fixed in makefile.mk (use --enable-system-cairo on non-Windows platforms only)
TODO: commit changes
strange error message in .../ldap/include
problem
Building Mozilla in directory/c-sdk/ldap/include fails with an error message
Makefile:89: *** target pattern contains no `%'. Stop.
Huh?
solution
Aunt Google says: make 1.81, as currently part of cygwin, does not support Windows paths anymore. So, targets, and target dependencies, in the makefile need to be converted to cygwin notation.
Fixed in seamonkey-source-1.1.12.patch.
TODO: commit changes
compiling IDLs fails
problem
during compilation of some IDL files, message boxes pop up saying something about runtime libraries used in an invalid way
cause
The vc71*.zip archives to be put into the download folder contain DLLs which are not compatible with the 2005 compiler.
workaround
place the files extracted from vc8-moztools.zip
in %SRC_ROOT\wntmsci11.pro\misc\build\moztoolsinst
and %SRC_ROOT\wntmsci11.pro\misc\build\moztoolsinst\vc71
TODO: clarify: why is there moztoolsinst and moztoolsinst\vc71, in parts containing the same files?
solution
None yet.TODO: Implement a real solution which requires vc8-moztools.zip to be present in the download folder