Windows Prerequisites

  • Revision slug: Talk:Developer_Guide/Build_Instructions/Windows_Prerequisites
  • Revision title: Windows Prerequisites
  • Revision id: 2397
  • Created:
  • Creator: Sancus
  • Is current revision? No
  • Comment

Revision Content

Should the packages list also mention the "patch" and "cvs" packages? I remember being annoyed that it wasn't installed, but I'm not 100% sure that it was required to get patch. - DBaron 19:34:14, 2005-10-05 (PDT)

There is an older version of the MS PSDK from 2003 here. One user in the Mozillazine forums said he had better luck building with this than the newer one, which was released in 2005. - Napolj2 09:08:48, 2005-11-11 (PST)

I wanted to mention that I was compiling xulrunner on win2k with no OS service pack, and the compile was dying during the final link of the toolkit. I tried numerous things to get the compile to work, but they all failed. I then installed the win2k SP4, and after this the build worked. This led me to wonder if the Hardware Requirements section was incomplete. Perhaps a service pack is needed? - Briprowe 15:43, 12 December 2005 (PST)

Can somebody explain why choosing DOS line endings is recommended? The cygwin manual strongly recommends against them "unless you have a very good reason to switch". Momoko 07:16, 19 December 2005 (PST)

As for the MS PSDK, Microsoft explicitly warns that the one linked to in the main page (Windows 2003 Server SP1 PSDK) does {{mediawiki.external('b')}}not{{mediawiki.external('/b')}} work with Visual C++ 6.0. I made a mistake of not reading the 'not-so-fine' print in the page and installing it only to get a link error while compiling xpcom. Fortunately, I installed it in a different directory from the directory where Feb. 2003 edition of SDK was installed so that I could just revert to the old PSDK changing environment variables, PATH, LIB and INCLUDE without doing the chore of reinstalling it. Jshin 2006-02-03 10:42 (UTC)

Shouldn't binutils be listed under necessary cygwin patches or at least recommended for non-debug builds? Autoconfig will detect that strip isn't available and happily continue but installing binutils and making strip.exe available greatly reduces the resultant binaries... -Jay Lee


I think you need to add the Make package to the list of things needed after default. Doing the default didn't have Make for me at least. comrade693


Problem: "target `c' doesn't match the target pattern" error

In the FAQs, it stated that the error can be fixed by changing the version of Make from 3.81 to 3.80 during the Cygwin installation. However, when I installed Cygwin yesterday, it didn't allow me to choose Make 3.80. In previous versions of Cygwin, you could easily "rollback" the version of Make from 3.81 to 3.80.

Should the documentation outline this problem and the solution so other users who try to build will not have to spend the whole night trying solutions that don't work??

Here is my documentation to the Problem and Solution. 13:22, 16 September 2006 (EST) elichak

Per the Cygwin mailing list they've deleted make 3.80 from the packages normally available to the installer. I edited the documentation to suggest googling for the package, and also provided a link to a mirror that is preserving it(several are). There is also a patched version of 3.81 that is being tested, per that message, and we can recommend it instead if someone tests it. Also, I /really/ need to pay attention to which account I have logged in when I post something. Thanks for bringing attention to this! Sancus 17:03, 16 September 2006 (EST)

Revision Source

<p>Should the packages list also mention the "patch" and "cvs" packages?  I remember being annoyed that it wasn't installed, but I'm not 100% sure that it was required to get patch. - <a href="User:DBaron">DBaron</a> 19:34:14, 2005-10-05 (PDT)
</p><p>There is an older version of the MS PSDK from 2003 <a class="external" href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm">here</a>.  One user in the Mozillazine forums said he had better luck building with this than the newer one, which was released in 2005. - <a href="User:Napolj2">Napolj2</a> 09:08:48, 2005-11-11 (PST)
</p><p>I wanted to mention that I was compiling xulrunner on win2k with no OS service pack, and the compile was dying during the final link of the toolkit.  I tried numerous things to get the compile to work, but they all failed.  I then installed the win2k SP4, and after this the build worked.  This led me to wonder if the Hardware Requirements section was incomplete.  Perhaps a service pack is needed? - <a href="User:Briprowe">Briprowe</a> 15:43, 12 December 2005 (PST)
</p><p>Can somebody explain why choosing DOS line endings is recommended? The cygwin manual strongly recommends against them "unless you have a very good reason to switch". <a href="User:Momoko">Momoko</a> 07:16, 19 December 2005 (PST)
</p><p>As for the MS PSDK, Microsoft explicitly warns that <a class="external" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&amp;displaylang=en">the one linked to in the main page (Windows 2003 Server SP1 PSDK)</a> does {{mediawiki.external('b')}}not{{mediawiki.external('/b')}} work with Visual C++ 6.0. I made a mistake of not reading the 'not-so-fine' print in the page and installing it only to get a link error while compiling xpcom. Fortunately, I installed it in a different directory from the directory where <a class="external" href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm">Feb. 2003 edition of SDK</a> was installed so that I could just revert to the old PSDK changing environment variables, PATH, LIB and INCLUDE without doing the chore of reinstalling it. <a href="User:Jshin">Jshin</a> 2006-02-03 10:42 (UTC)
</p><p>Shouldn't binutils be listed under necessary cygwin patches or at least recommended for non-debug builds?  Autoconfig will detect that strip isn't available and happily continue but installing binutils and making strip.exe available greatly reduces the resultant binaries... -Jay Lee
</p><p><br>
I think you need to add the Make package to the list of things needed after default.  Doing the default didn't have Make for me at least. <a href="User:Comrade693">comrade693</a>
</p><p><br>
<b>Problem: "target `c' doesn't match the target pattern" error</b>
</p><p>In the FAQs, it stated that the error can be fixed by changing the version of Make from 3.81 to 3.80 during the Cygwin installation. However, when I installed Cygwin yesterday, it didn't allow me to choose Make 3.80. In previous versions of Cygwin, you could easily "rollback" the version of Make from 3.81 to 3.80. 
</p><p>Should the documentation outline this problem and the solution so other users who try to build will not have to spend the whole night trying solutions that don't work?? 
</p><p>Here is my documentation to the <a class="external" href="http://cs1.senecac.on.ca/wiki/index.php/Liz_Chak_Assignment_1#Problem:_.22target_.60c.27_doesn.27t_match_the_target_pattern.22_error">Problem</a> and <a class="external" href="http://cs1.senecac.on.ca/wiki/index.php/Liz_Chak_Assignment_1#Solution_to_.22target_.60c.27_doesn.27t_match_the_target_pattern.22_error">Solution</a>.  
13:22, 16 September 2006 (EST)
<a href="User:Elichak">elichak</a>
</p><p>Per the <a class="external" href="http://cygwin.com/ml/cygwin/2006-09/msg00315.html">Cygwin mailing list</a> they've deleted make 3.80 from the packages normally available to the installer. I edited the documentation to suggest googling for the package, and also provided a link to a mirror that is preserving it(several are). There is also a patched version of 3.81 that is being tested, per that message, and we can recommend it instead if someone tests it. Also, I /really/ need to pay attention to which account I have logged in when I post something. Thanks for bringing attention to this!
<a href="User:Sancus">Sancus</a> 17:03, 16 September 2006 (EST)
</p>
Revert to this revision