Difference between revisions of "Mozilla2Seamonkey/Problem Log/Windows"
(→solution) |
(→build breaks in mozilla/security/coreconf) |
||
Line 91: | Line 91: | ||
Unfortunately, the patch at [https://bugzilla.mozilla.org/show_bug.cgi?id=249782 Bug 249782] doesn't semm to solve this, but we probably need a similar solution. Need to try the patch at [https://bugzilla.mozilla.org/show_bug.cgi?id=249782#c44 Bug 249782]. | Unfortunately, the patch at [https://bugzilla.mozilla.org/show_bug.cgi?id=249782 Bug 249782] doesn't semm to solve this, but we probably need a similar solution. Need to try the patch at [https://bugzilla.mozilla.org/show_bug.cgi?id=249782#c44 Bug 249782]. | ||
− | === | + | === building mozilla/security/coreconf fails === |
==== problem ==== | ==== problem ==== |
Revision as of 21:25, 2 November 2008
The following problems appeared while building the Seamonkey sources on Windows, after the great preliminary work done by Pierre Pasteau.
Contents
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
building mozilla/xpcom/base fails
problem
build fails in mozilla/xpcom/base without a meaningful error message
cause
That seems to be a problem with manifest files - the xpidl.exe and xpt_link.exe used during the build need a manifest file.
workaround
after the build breaks the first time, then in wntmsci11.pro/misc/build/mozilla, do a
cp xpcom/typelib/xpidl/xpidl.exe.manifest dist/bin cp xpcom/typelib/xpt/tools/xpt_link.exe.manifest dist/bin
solution
None yet.
TODO: implement a proper solution.
Unfortunately, the patch at Bug 249782 doesn't semm to solve this, but we probably need a similar solution. Need to try the patch at Bug 249782.
building mozilla/security/coreconf fails
problem
builds fails in mozilla/security/coreconf with
../coreconf/rules.mk:383: target `g' doesn't match the target pattern ../coreconf/rules.mk:430: target `g' doesn't match the target pattern ../coreconf/rules.mk:431: warning: overriding commands for target `g' ../coreconf/rules.mk:384: warning: ignoring old commands for target `g' ../coreconf/rules.mk:461: target `g' doesn't match the target pattern ../coreconf/rules.mk:462: warning: overriding commands for target `g' ../coreconf/rules.mk:431: warning: ignoring old commands for target `g' ../coreconf/rules.mk:469: target `g' doesn't match the target pattern ../coreconf/rules.mk:470: warning: overriding commands for target `g' ../coreconf/rules.mk:462: warning: ignoring old commands for target `g' ../coreconf/rules.mk:473: target `g' doesn't match the target pattern ../coreconf/rules.mk:474: warning: overriding commands for target `g' ../coreconf/rules.mk:470: warning: ignoring old commands for target `g' ../coreconf/rules.mk:488: target `g' doesn't match the target pattern ../coreconf/rules.mk:489: warning: overriding commands for target `g' ../coreconf/rules.mk:474: warning: ignoring old commands for target `g' ../coreconf/rules.mk:492: target `g' doesn't match the target pattern ../coreconf/rules.mk:493: warning: overriding commands for target `g' ../coreconf/rules.mk:489: warning: ignoring old commands for target `g' ../coreconf/rules.mk:990: *** multiple target patterns. Stop.