Firefox 1.5.0.2 / 1.5.0.3 build errors

I've been trying all day to build Firefox 1.5.0.2 and 1.5.0.3 under 
Windows XP Pro, using a fresh install of cygwin, and MS Visual Studio 
2003 (i.e., VC7.1).

I've followed all the steps on the web site, I've set my environment 
variables appropriately, and no matter what I do, I end up with an error 
in c:\mozilla\dist\include\string\nsString.h(55):  error C2006: 
'#include' : expected a filename, found 'identifier'.

When I look at the line in question, it's "# include NEW_H"--which is 
obviously invalid.

The only reference I've found to this problem so far is bug 311923, 
which mysteriously went away when the author reinstalled cygwin.  
Unfortunately, I wasn't so lucky.  I reinstalled cygwin and experienced 
the same problem.

Can anyone offer any further insight on this?

-- Chris

R. Christian Call
(Remove the first "i" to reply.)
0
Mozilla
5/13/2006 8:48:05 PM
mozilla.dev.builds 1750 articles. 0 followers. Post Follow

5 Replies
1073 Views

Similar Articles

[PageSpeed] 9

Mozilla wrote:
> The only reference I've found to this problem so far is bug 311923, 
> which mysteriously went away when the author reinstalled cygwin.  
> Unfortunately, I wasn't so lucky.  I reinstalled cygwin and experienced 
> the same problem.
> 
> Can anyone offer any further insight on this?

Although you found the bug that was filed as a result of someone
previously having this problem, one of the messages (and I know a few
other people who've done the same to fix this) suggested changing the
Cygwin text/binary mode. See:
   http://groups.google.com/group/mozilla.dev.builds/msg/c492d6a781c7878b

That didn't work for me, though, and I had to hack configure. Which is
not fun, and I recommend you try reinstalling Cygwin in text mode if it
isn't already.

-- 
James Ross <silver@warwickcompsoc.co.uk>
ChatZilla Developer
0
James
5/13/2006 10:16:10 PM
Mozilla wrote:
> I've been trying all day to build Firefox 1.5.0.2 and 1.5.0.3 under 
> Windows XP Pro, using a fresh install of cygwin, and MS Visual Studio 
> 2003 (i.e., VC7.1).
> 
> I've followed all the steps on the web site, I've set my environment 
> variables appropriately, and no matter what I do, I end up with an error 
> in c:\mozilla\dist\include\string\nsString.h(55):  error C2006: 
> '#include' : expected a filename, found 'identifier'.
> 
> When I look at the line in question, it's "# include NEW_H"--which is 
> obviously invalid.
> 
> The only reference I've found to this problem so far is bug 311923, 
> which mysteriously went away when the author reinstalled cygwin.  
> Unfortunately, I wasn't so lucky.  I reinstalled cygwin and experienced 
> the same problem.
> 
> Can anyone offer any further insight on this?

Reinstalling cygwin doesn't help diagnose the real problem.  We need
more details about the problem.

Is cygwin configured to use dos or unix line-endings?  Either should
work. What is your PATH set to?  How did you get the 1.5.0.x source
trees?  cvs? tarball?  Are you using cygwin cvs or wincvs?  Are you
using cygwin zip or tar or a native dos version?  Can you attach the
output of 'sh -x configure' to bug 311923 ?

- cls
-- 
All men are mortal.  Socrates was mortal.  Therefore, all men are Socrates.
		-- Woody Allen
0
Christopher
5/15/2006 4:24:45 PM
In article <ZpGdnUliUuXeNvXZnZ2dnUVZ_sednZ2d@mozilla.org>, 
cls@seawood.org says...
> Mozilla wrote:
> > I've been trying all day to build Firefox 1.5.0.2 and 1.5.0.3 under 
> > Windows XP Pro, using a fresh install of cygwin, and MS Visual Studio 
> > 2003 (i.e., VC7.1).
> > 
> > I've followed all the steps on the web site, I've set my environment 
> > variables appropriately, and no matter what I do, I end up with an error 
> > in c:\mozilla\dist\include\string\nsString.h(55):  error C2006: 
> > '#include' : expected a filename, found 'identifier'.
> > 
> > When I look at the line in question, it's "# include NEW_H"--which is 
> > obviously invalid.
> > 
> > The only reference I've found to this problem so far is bug 311923, 
> > which mysteriously went away when the author reinstalled cygwin.  
> > Unfortunately, I wasn't so lucky.  I reinstalled cygwin and experienced 
> > the same problem.
> > 
> > Can anyone offer any further insight on this?
> 
> Reinstalling cygwin doesn't help diagnose the real problem.  We need
> more details about the problem.
> 
> Is cygwin configured to use dos or unix line-endings?  Either should
> work. What is your PATH set to?  How did you get the 1.5.0.x source
> trees?  cvs? tarball?  Are you using cygwin cvs or wincvs?  Are you
> using cygwin zip or tar or a native dos version?  Can you attach the
> output of 'sh -x configure' to bug 311923 ?
> 
> - cls
> 

Reinstalling cygwin to use DOS-style line endings did, in fact, get 
around this problem.

I got the source trees by downloading the zipped tar files from 
mozilla.com.

I'm not using cvs to retrieve the sources at all.

I use cygwin only for bzip2 files; otherwise, I use WinZip.

I'm afraid it's too late to do the "sh -x configure", since I've already 
reinstalled cygwin.

I'd be happy to provide as much other information as I can.  Let me know 
what else might be useful.

-- Chris

R. Christian Call
(Remove the first "i" to reply.)
0
Mozilla
5/16/2006 12:54:51 AM
Mozilla wrote:
-- 
I bought some used paint. It was in the shape of a house.
		-- Steven Wright
> In article <ZpGdnUliUuXeNvXZnZ2dnUVZ_sednZ2d@mozilla.org>, 
> cls@seawood.org says...
>> Mozilla wrote:
>>> I've been trying all day to build Firefox 1.5.0.2 and 1.5.0.3 under 
>>> Windows XP Pro, using a fresh install of cygwin, and MS Visual Studio 
>>> 2003 (i.e., VC7.1).
>>>
>>> I've followed all the steps on the web site, I've set my environment 
>>> variables appropriately, and no matter what I do, I end up with an error 
>>> in c:\mozilla\dist\include\string\nsString.h(55):  error C2006: 
>>> '#include' : expected a filename, found 'identifier'.
>>>
>>> When I look at the line in question, it's "# include NEW_H"--which is 
>>> obviously invalid.
>>>
>>> The only reference I've found to this problem so far is bug 311923, 
>>> which mysteriously went away when the author reinstalled cygwin.  
>>> Unfortunately, I wasn't so lucky.  I reinstalled cygwin and experienced 
>>> the same problem.
>>>
>>> Can anyone offer any further insight on this?
>> Reinstalling cygwin doesn't help diagnose the real problem.  We need
>> more details about the problem.
>>
>> Is cygwin configured to use dos or unix line-endings?  Either should
>> work. What is your PATH set to?  How did you get the 1.5.0.x source
>> trees?  cvs? tarball?  Are you using cygwin cvs or wincvs?  Are you
>> using cygwin zip or tar or a native dos version?  Can you attach the
>> output of 'sh -x configure' to bug 311923 ?
>>
>> - cls
>>
> 
> Reinstalling cygwin to use DOS-style line endings did, in fact, get 
> around this problem.
> 
> I got the source trees by downloading the zipped tar files from 
> mozilla.com.
> 
> I'm not using cvs to retrieve the sources at all.
> 
> I use cygwin only for bzip2 files; otherwise, I use WinZip.
> 
> I'm afraid it's too late to do the "sh -x configure", since I've already 
> reinstalled cygwin.
> 
> I'd be happy to provide as much other information as I can.  Let me know 
> what else might be useful.
> 

That's fine.  I think the key piece of information there is that you
used winzip to unpackage the builds.  Being a native dos app, I'm
betting that winzip *always* uses dos line endings when it creates
files.  And using dos line-endings in the files when cygwin is setup to
expect unix line-endings would be problematic.

I don't think there's anything to do here except say...Don't Do
That(tm)!  Mixing the use of apps that expect different line-endings
causes nothing but pain & confusion.

- cls
0
Christopher
5/16/2006 1:26:58 AM
Christopher Seawood wrote:

> That's fine.  I think the key piece of information there is that you
> used winzip to unpackage the builds.  Being a native dos app, I'm
> betting that winzip *always* uses dos line endings when it creates
> files.  And using dos line-endings in the files when cygwin is setup to
> expect unix line-endings would be problematic.

Not always, but by default, WinZip does do 'smart CR/LF conversion' for 
TAR files (there's a tickbox in Options | Configuration, Miscellaneous tab).

And IIRC it went from a DOS app to a Win32 app around 8 years ago ;)

regards,
Mark..

-- 
British English localisations of:
SeaMonkey <http://www.tyndall.org.uk/moz_en-gb.html>
Firefox <http://www.tyndall.org.uk/fb_en-gb.html>
Thunderbird <http://www.tyndall.org.uk/tb_en-gb.html>
0
Mark
5/16/2006 9:00:14 AM
Reply:

Similar Artilces:

Firefox 2.0.0.19 beta (build 2) and 3.0.5 beta (build 1) now available
Hello, Candidate builds of Firefox 2.0.0.19 and 3.0.5 are now available for testing. You can get the builds at: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2.0.0.18-candid .... If you have previously downloaded a beta version of either Firefox 2.0 or 3.0 or have manually set your copy to be using the "beta" release channel for updates, you can update yourself to Firefox 2.0.0.19 / 3.0.5 by selecting "Help > Check for Updates". The status for Firefox 2.0.0.19 / 3.0.5 can be found here: http://wiki.mozilla.org/Releases/Firefox_2.0.0.19 ...

Firefox 1.5.0.9, Firefox 2.0.0.1 and Thunderbird 1.5.0.9 Security & Stability Updates
As part of Mozilla Corporation�s ongoing stability and security update process, Firefox 1.5.0.9, Firefox 2.0.0.1 and Thunderbird 1.5.0.9 are now available for Windows, Mac, and Linux for free download from getfirefox.com (http://www.getfirefox.com) & getthunderbird.com (http://www.getthunderbird.com). We strongly recommend that all Firefox users upgrade to this latest release. This update is available immediately in 41 languages including Spanish, Japanese, Arabic, Hungarian and more. Note: Firefox 1.5.0.x will be maintained with security and stability updates until Apr...

Firefox 1.5.0.9, Firefox 2.0.0.1 and Thunderbird 1.5.0.9 Security & Stability Updates
As part of Mozilla Corporation�s ongoing stability and security update process, Firefox 1.5.0.9, Firefox 2.0.0.1 and Thunderbird 1.5.0.9 are now available for Windows, Mac, and Linux for free download from getfirefox.com (http://www.getfirefox.com) & getthunderbird.com (http://www.getthunderbird.com). We strongly recommend that all Firefox users upgrade to this latest release. This update is available immediately in 41 languages including Spanish, Japanese, Arabic, Hungarian and more. Note: Firefox 1.5.0.x will be maintained with security and stability updates until Apr...

Problem Building firefox 1.5.0.7 and 1.5.0.9
Hello! I'm trying to compile both firefox 1.5.0.7 and 1.5.0.9 in a Fedora Core 6 to build a new extension. However, I'm getting the problem that I attach bellow.... My mozconfig file is: mk_add_options MOZ_CO_PROJECT=browser # add other common options here, such as making a static release build and # disabling tests ac_add_options --enable-optimize --disable-debug ac_add_options --disable-tests # Build Firefox mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-static ac_add_options --enable-application=browser and I compile using: #!/bin/bash export MOZCONF...

Smoke [5.8.2] 21949 FAIL(Mc) cygwin_nt-5.0 1.5.5(0.94/3/2) (i686/1 cpu)
Automated smoke report for 5.8.2 patch 21949 on cygwin_nt-5.0 - 1.5.5(0.94/= 3/2) (i686/1 cpu) (PC09) using version=20 Report by Test::Smoke v1.18.11 (perl 5.8.2) [1 hour 13 minutes] O =3D OK F =3D Failure(s), extended report at the bottom X =3D test(s) failed under TEST but not under harness ? =3D still running or test results not (yet) available Build failures during: - =3D unknown or N/A c =3D Configure, m =3D make, M =3D make (after miniperl), t =3D make test-p= rep 21949 Configuration (common) none ------------ ------------------------------------------------...

Wierd bug during building Firefox 1.5.0.4 with glibc 2.1.3-15 (RH6.2)
Hi, everybody. I know that release notes had said that glibc 2.2.4 and above were required. But I had to build Firefox 1.5.0.4 with my old enviroment, RH6.2. Sorry if this mail bothered you. When I was building Firefox, I failed. Below is my .mozconfig file: # This file specifies the build flags for Firefox. You can use it by adding: # . $topsrcdir/browser/config/mozconfig # to the top of your mozconfig file. . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-static export MOZILLA_OFFICIAL=1 mk_add_options MOZ_CO_P...

SeaMonkey 1.0.1 and Firefox 1.5, 2.0, 3.0 version can be said to be a same at code level
Dear, I am pursuing my research in the field of sotware maintainence at preventive level. i had published some of my research paper in ACM SIGSOFT SEN. As per my research i designed the metrics model for smelly classes with the help of firefox three versions and then i had validated or tested the metrics model with the one version of SeaMonkey. I got the review upon my research that SeaMonkey and Firefox are same at the code level. These cannot be treated as two different data set. But what i had read is they both only usage the same Gecko engine from your website. Some more from yo...

Firefox & Thunderbird 1.5.0.12rc1, Firefox 2.0.0.4rc1 builds available
Release candidate builds (rc1) for Firefox/Thunderbird 1.5.0.12 and Firefox 2.0.0.4 are now available here: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/1.5.0.12-candidates/rc1/ http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/1.5.0.12-candidates/rc1/ http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2.0.0.4-candidates/rc1/ Assuming our preliminary testing goes well, we plan on pushing these RC1 builds to our "beta" users next Tuesday 5/8. We will use the time between this "beta" push and final release (Tuesday 5/22) to gather commun...

Firefox & Thunderbird 1.5.0.12rc2, Firefox 2.0.0.4rc2 builds available
Release candidate builds (rc2) for Firefox/Thunderbird 1.5.0.12 and Firefox 2.0.0.4 are now available here: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/1.5.0.12-candidates/rc2/ http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/1.5.0.12-candidates/rc2/ http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2.0.0.4-candidates/rc2/ L10n builds for Firefox & Thunderbird 2.0.0.4/1.5.0.12 and en-US Thunderbird 1.5.0.12 builds are in progress but will be available later today. Last week we discovered a problem with RC1 builds that forced us to do a re-spin (...

1.5.0.0.3 vs 1.5.0.0.4
I have had numerous difficulties with FF 1.5.0.0.4, in particular, some sites often just hang when I click on links. A particularly bad site is Dell http://www.dell.com/, which - when I try to configure a computer - gets all kinds of "waiting for dell" status bar messages. I tried it with a clean profile, to no avail. It works flawlessly with IE. I downloaded fresh copies of 1.5.0.3 and 1.5.0.4 with the intent of uninstalling the latter and then trying the former. *The uninstall process hung*. So I installed 1.5.0.3 on top of 1.5.0.4. The Dell site now works fl...

Testday - Friday, May18th: Firefox 1.5.0.12
Hi Mozilla Community Testers!, Please join the Mozilla QA community for Testday on Friday, May 18th, 2007! This week, we will be looking at the Firefox 1.5.0.12 and 2.0.0.4 and Thunderbird 1.5.0.12 Release Candidates The event will run Friday, May 18th, 2007, from 7am - 5pm PDT Please visit http://wiki.mozilla.org/Mozilla_QA_Community:Firefox_2004rc3/15012_Community_Test_Day for all the info regarding the event. Jump into the #testday channel on irc.mozilla.org on Friday to participate. We hope to see you there! Thanks. Carsten Mozilla QA ...

Automated cleanup tool to remove the .NET Framework 1.0, 1.1, 2.0, 3.0 and 3.5
"I have posted an updated version of the .NET Framework cleanup tool that now contains support for automatically cleaning up the .NET Framework 1.0, the .NET Framework 1.1, the .NET Framework 2.0, the ..NET Framework 3.0 and the .NET Framework 3.5. This tool automates the manual cleanup steps for the .NET Framework 2.0 that I posted a while ago. These steps have helped solve most of the known .NET Framework 2.0 beta uninstall issues that I know of. In addition, the tool can be useful to return your system to a known (relatively clean) state in case you run into any .NET Framew...

Is it just me or has the Fandango site stopped working with FF (1.5.0.7, 1.5.0.9, 2.0) on eComStation 1.2 ?
Hi all, I've possibly messed up my Firefox installations, but other pages still seem to work OK. Has anyone else had problems recently with http://www.fandango.com ? The home page comes up, and then completely hangs my system, and even if I ctrl-alt-delete and kill Firefox with TOP, I just get a black screen and have to re-boot. It used to work fine. If it's just me, does anyone have any advice for what might be happening or how to go about figuring it out ? Thanks in advance, Karen Roberts On Sat, 3 Mar 2007 19:13:13 UTC, Karen Roberts <kvroberts@comcast.net>...

Updates after 1.5.0.7 (1.5.0.9, 2.0.0.1)can't access the web.
Name: Jay Product: Firefox Summary: Updates after 1.5.0.7 (1.5.0.9, 2.0.0.1)can't access the web. Comments: see summary Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 ...

Web resources about - Firefox 1.5.0.2 / 1.5.0.3 build errors - mozilla.dev.builds

Firefox - Wikipedia, the free encyclopedia
This article is about the web browser. For the operating system, see Firefox OS . For other uses, see Firefox (disambiguation) . web browser ...

Mozilla Firefox Web Browser — Free Download — mozilla.org
Mozilla Different by Design Proudly non-profit Innovating for you Fast, flexible, secure Download Firefox — English (US) Windows Linux Mac OS ...

Firefox Facts - best guide to add-ons, themes and tips for Firefox
Firefox Facts is the best independently run Firefox blog out there today. Learn more about how to us Firefox, add-ons, themes and news on the ...

Firefox Affiliates
Firefox Affiliate buttons are a bit of html code that you put on your website or blog to encourage visitors to your site to download Firefox. ...

Firefox OS
The latest news about Firefox OS

Firefox 13.0.1 Download - Get Mozilla Firefox
Download the new Firefox Browser for a faster, safer and better web experience - Get Firefox for your iPhone and Android - make the switch today ...

Techarger Firefox
Il est maintenant possible de supprimer des vidos sans passer par itunes. Par ben, mardi janvier le retrait de vlc de l app store videolan 5 ...

Firefox Flicks : Winners
Firefox Flicks — A video contest to tell the story of your favorite browser. Submit your entry by May 1, 2012 and win prizes.

Firefox Beta Launches Social API With Facebook Messenger As Initial Partner
As originally announced earlier this month by Firefox parent Mozilla , the beta test of the Web browser’s Social API launched Monday with Facebook ...

Under the hood: Facebook Messenger for Firefox - Facebook
Facebook Engineering hat eine Notiz mit dem Titel Under the hood: Facebook Messenger for Firefox geschrieben. Du kannst den vollständigen Text ...

Resources last updated: 12/22/2015 11:18:37 PM