Closed Bug 279688 Opened 20 years ago Closed 18 years ago

firefox won't build: error: file '../../toolkit/locales/en-US/chrome/necko/contents.rdf' doesn't exist

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: kynn, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)

firefox-1.0-source.tar.bz2 downloaded today from www.mozilla.org
./configure
make
...
error: file '../../toolkit/locales/en-US/chrome/necko/contents.rdf' doesn't
exist at ../../config/make-jars.pl line 418, <STDIN> line 9.


Reproducible: Always

Steps to Reproduce:
See Details above.

Actual Results:  
See error message above.

Expected Results:  
Compiled.
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)
> Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)
> 
> firefox-1.0-source.tar.bz2 downloaded today from www.mozilla.org
> ./configure
> make
> ...
> error: file '../../toolkit/locales/en-US/chrome/necko/contents.rdf' doesn't
> exist at ../../config/make-jars.pl line 418, <STDIN> line 9.
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> See Details above.
> 
> Actual Results:  
> See error message above.
> 
> Expected Results:  
> Compiled.

I have exactly the same symptoms compiling firefox 1.0.1.
Exactly the same thing happens to me with the CVS using GCC 3.4.3.

Updating Firefox 1.0.1 using make -f client.mk produces the same results.

(In reply to comment #2)
> Exactly the same thing happens to me with the CVS using GCC 3.4.3.
> Updating Firefox 1.0.1 using make -f client.mk produces the same results.

I also have the exact same problem when building thunderbird on winXP.
I have a workaround which will allow Firefox to compile. I don't, yet, know if 
it will result in a working Firefox and I don't know if it is the correct thing 
to do, but it'll let you get past the 'make' problem.

cp toolkit/locales/generic/chrome/necko/contents.rdf \
   toolkit/locales/en-US/chrome/necko

sed -i 's/@AB_CD@/en-US/g' toolkit/locales/en-US/chrome/necko/contents.rdf

same problem:

date: 2004.03.24
OS: freebsd 4.9
source: firefox-1.0.2-source.tar.bz2
versions: gmake=3.79.1, gcc=2.95.4
Try setting the following environment variables before running configure.

export MOZILLA_OFFICIAL="1" &&
export BUILD_OFFICIAL="1" &&
export MOZ_PHOENIX="1" 


I'm not 100% sure this is the Right Way [tm]; however, I found this bug while
trying to compile firefox 1.0.3 without having first set them as I had done when
previously building 1.0 and 1.0.2.  After setting, I did not get the error
mentioned in this bug report.
Assignee: bryner → nobody
QA Contact: asa → build.config
Version: unspecified → Trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.