Difference between revisions of "Talk:Development:Building:Mozilla 1.9.0 Branch"

From Camino Wiki
Jump to navigation Jump to search
(error with 1.0.3 tarball + these instructions)
(→‎Stuff to Fix: finally did this!)
 
(7 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
  
Smokey asked me to take a look at this and see whether or not it would work with the 1.0.3 tarball (or whether it would work at all, since the 1.0.2 tarball is known-good). Here's the error I got from attempting these instructions with the 1.0.3 tarball:
+
<s>''...make sure that the 2nd, 3rd, and 6th columns are green (these are the Camino trunk builds).''
 +
:Shouldn't this actually be 1st, 4th and 5th columns? — alimony</s>
 +
::Fixed!
  
<pre>
 
configure: warning: Recreating autoconf.mk with updated nspr-config output
 
./configure: line 1: ./nsprpub/config/nspr-config: No such file or directory
 
./configure: line 1: ./nsprpub/config/nspr-config: No such file or directory
 
make  alldep
 
cat: ./config/build_number: No such file or directory
 
cat: ./config/build_number: No such file or directory
 
rm -f -rf ./dist/sdk
 
rm -f -rf ./dist/include
 
/usr/bin/make -C config export
 
cat: ../config/build_number: No such file or directory
 
nsinstall.c
 
gcc -o host_nsinstall.o -c -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3    -I../dist/include -I../dist/include    -I../dist/sdk/include  nsinstall.c
 
pathsub.c
 
gcc -o host_pathsub.o -c -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3 -I../dist/include -I../dist/include -I../dist/sdk/include  pathsub.c
 
gcc -o nsinstall -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3  host_nsinstall.o host_pathsub.o 
 
rm -f nfspwd
 
cp nfspwd.pl nfspwd
 
chmod +x nfspwd
 
rm -f revdepth
 
cp revdepth.pl revdepth
 
chmod +x revdepth
 
/usr/bin/perl -I. ./bdate.pl build_number 1
 
rm -f nsBuildID.h
 
/usr/bin/perl -I. ./aboutime.pl -m ./milestone.txt nsBuildID.h build_number ./nsBuildID.h.in
 
/Users/clawson/mozilla/config/nsinstall -L /Users/clawson/mozilla/config -m 644 nsBuildID.h ../mozilla-config.h ./nsStaticComponents.h  ../dist/include
 
rm -f ../config/final-link-comps ../config/final-link-libs ../config/final-link-comp-names
 
rm -f ../dist/bin/chrome/chromelist.txt
 
/Users/clawson/mozilla/config/nsinstall -t -m 644 nsBuildID.h ../mozilla-config.h ./nsStaticComponents.h  ../dist/sdk/include
 
/Users/clawson/mozilla/config/nsinstall -L /Users/clawson/mozilla/config nsinstall ../dist/bin
 
/usr/bin/make nspr
 
/usr/bin/make -C nsprpub
 
make: *** nsprpub: No such file or directory.  Stop.
 
make[2]: *** [nspr] Error 2
 
make[1]: *** [alldep] Error 2
 
make: *** [alldep] Error 2
 
</pre>
 
  
Hope that helps.[[User:Clawson|clawson]] 13:17, 30 September 2006 (PDT)
+
=Stuff to Fix=
 +
 
 +
Our existing developer documentation currently covers the build process and is in pretty good shape. There are, however, things we should improve.
 +
 
 +
* <s>Fix instructions for [[Development:Building:Intel|Building Intel]]</s> ({{bug|327789}})
 +
*: <s>also, best -j flag for Core Duos</s>
 +
*: <s>delliott's [[Development:Building:Intel]]</s>
 +
* <s>The stuff on [[Talk:Development:Building:Intel]]</s>
 +
* <s>Link to MDC's [http://developer.mozilla.org/en/docs/Mozilla_Source_Code_Via_CVS CVS], [http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites Mac build], [http://developer.mozilla.org/en/docs/Mac_OS_X_Universal_Binaries Uni build] articles</s>
 +
* <s>Link to wkik.m.o's constantly updated [http://wiki.mozilla.org/Mac:Build_Requirements Mac Build Matrix]</s>
 +
* <s>"The gcc_select issue should be in bold 24pt font" (feedback from irc)</s>
 +
* <s>Set up for OBJDIRs by default, since everyone is using them</s>
 +
* <s>The instructions assume the use of a bash shell (default for new user accounts created on 10.3 or higher)</s>
 +
* <s>src tarball link: ftp://ftp.mozilla.org/pub/mozilla.org/camino/source</s>
 +
** <s>Tell tarball users what they can skip</s>
 +
** <s>Sanity-check the tarball bits (intro to "Pulling and Building" section)</s>
 +
* <s>Link to the Common build errors [[Development:Building:Build_Errors]] and how to solve</s>
 +
* <s>Sidebar links from the existing cbo page</s> (none are unique to building)
 +
* <s>Best -j flag for Dual G4s, Dual G5s, Dual and Quad Core G5s [are these different???]</s>
 +
* Verify we can build on Case-Sensitive HFS on both the trunk and the MOZILLA_1_8_BRANCH.
 +
* <s>Add delliott's [[Development:Building:Intel#Setting Camino to use a different profile|Setting Camino to use a different profile]] to the [[#Development|Development]] section???</s>
 +
* Final read-through

Latest revision as of 17:44, 9 January 2011

I think that at the top of the new Development page we should have a Table of Contents, similar to what you see on the wiki. This should make it easier to navigate the document quickly.delliott 10:27, 8 August 2006 (PDT)

At the moment (leftover HTML in the page aside) I don't think these instructions will ever go on cb.o, but if for some reason they do, we'll certainly have one. —sardisson 21:54, 8 August 2006 (PDT)


I'd like some way to better indicate the level 3 headings are headingssardisson 23:20, 28 September 2006 (PDT)

That'll be part of the new theme. Maxr 11:01, 29 September 2006 (PDT)
thanks max! —sardisson 14:17, 29 September 2006 (PDT)


...make sure that the 2nd, 3rd, and 6th columns are green (these are the Camino trunk builds).

Shouldn't this actually be 1st, 4th and 5th columns? — alimony
Fixed!


Stuff to Fix

Our existing developer documentation currently covers the build process and is in pretty good shape. There are, however, things we should improve.