Closed Bug 294522 Opened 21 years ago Closed 18 years ago

Build documentation doesn't explicitly warn about creating mozconfig files before checking out

Categories

(Developer Documentation Graveyard :: General, defect)

PowerPC
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vincent-moz, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4 (Debian package 1.0.4-1) Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4 (Debian package 1.0.4-1) When I try to build Sunbird (following the instructions on the mozilla.org web pages), the Mozilla browser is built and installed instead. Here's my mozconfig file (.mozconfig-sunbird): mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-sunbird mk_add_options MOZ_CO_PROJECT=calendar ac_add_options --enable-application=calendar ac_add_options --enable-plaintext-editor-only ac_add_options --enable-necko-protocols=about,http,ftp,file,jar,res ac_add_options --enable-storage ac_add_options --disable-accessibility ac_add_options --disable-installer ac_add_options --disable-jsd ac_add_options --disable-mathml ac_add_options --disable-necko-disk-cache ac_add_options --disable-oji ac_add_options --disable-view-source ac_add_options --disable-logging ac_add_options --disable-plugins ac_add_options --disable-cookies ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --enable-reorder ac_add_options --enable-strip ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-xft ac_add_options --disable-freetype2 ac_add_options --disable-tests ac_add_options --enable-xterm-updates ac_add_options --disable-pedantic ac_add_options --prefix=$HOME/sunbird and the different steps for the build: cvs -d ":pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot" \ co -r SUNBIRD_0_2_BRANCH mozilla/client.mk cd mozilla export MOZCONFIG=$HOME/.mozconfig-sunbird make -f client.mk checkout MOZ_CO_PROJECT=calendar make -f client.mk build (cd obj-sunbird/xpfe/communicator && make) (cd obj-sunbird && make install) Note: I posted this to mozilla-builds@mozilla.org 12 days ago, but I didn't get any answer. Reproducible: Always Steps to Reproduce:
works for me. You mozconfig is for trunk, while your check out the 0.2 branch. Choose either one, and follow the instructions for that.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
I didn't know that there was a difference. I'm going to try again, but if I include . $topsrcdir/calendar/sunbird/config/mozconfig as said on http://www.mozilla.org/build/configure-build.html, then the CVS checkout fails because this file doesn't exist yet. So, there's still a bug (I'm reopening it). As a workaround, I need to set MOZCONFIG=/dev/null for the checkout, but will this work?
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
cvs co mozilla/calendar/config Sunbird isn't broken, the website is.
Then I'm moving it to a documentation bug.
Severity: blocker → normal
Component: General → Mozilla Developer
Product: Calendar → Documentation
Assignee: mostafah → endico
QA Contact: gurganbl → imajes
Changing summary to what I think is now the point of this bug. bsmedberg, do you think this is something that could be fixed at the build system level?
Summary: Can't build Sunbird (the Mozilla browser is built instead) → Build documentation doesn't explicitly warn about creating mozconfig files before checking out
The status could be changed to NEW...
Well, I think the docs are OK, you just have to read them in order. Feel free to make tweaks to the docs on MDC (http://developer.mozilla.org/en/docs/Configuring_Build_Options).
Assignee: endico → nobody
Status: UNCONFIRMED → NEW
Component: Mozilla Developer → Documentation Requests
Ever confirmed: true
Product: Documentation → Mozilla Developer Center
QA Contact: imajes → doc-request
I've added a sentence or two to the article reminding people not to skip steps in the instructions. Since nothing else has been done in a year, I'm closing this.
Status: NEW → RESOLVED
Closed: 21 years ago18 years ago
Resolution: --- → FIXED
Component: Documentation Requests → Documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
You need to log in before you can comment on or make changes to this bug.