Firefox build instructions

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
MonkeeSage
Posts: 1011
Joined: December 20th, 2002, 8:15 pm

Post by MonkeeSage »

The dist/bin dir is where everything is after a build (with the exception of embed_lite.dll in embedding/lite if you need embedding components and nsmozax.dll | activex.js | nsAxSecurityPolicy.js | nsIMozAxPlugin.xpt are in embedding/browser/activex/src/plugin if you built with activex support).


Shelumi`El
Jordan

S.D.G
User avatar
djst
Moderator
Posts: 2826
Joined: November 5th, 2002, 1:34 am
Location: Sweden
Contact:

Post by djst »

Unstickying this. I don't think I'll provide any build instructions after all since the <a href="http://www.mozilla.org/projects/firefox/build.html">developer page</a> for Firefox has this already. My site should focus on end-user stuff anyway.
mikecop
Posts: 268
Joined: January 12th, 2003, 12:47 pm

Post by mikecop »

I just want to say, i tried building firefox a couple months a ago. I tried and failed a few times. Then I stopped for a while, but i have NOT given up yet.

I will be back!!

That's all. Thanks for reading. :)
thedarkone
Posts: 3
Joined: April 25th, 2005, 8:17 am

build problem

Post by thedarkone »

I get this error on build

gmake[4]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/xpcom/obsolete/component'
Creating ../../dist/include/xpcom_obsolete
/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/config/nsinstall -R -m 644 /usr/local/home/marc/mozilla/xpcom/obsolete/xpcomobsolete.h /usr/local/home/marc/mozilla/xpcom/obsolete/nsFileSpec.h /usr/local/home/marc/mozilla/xpcom/obsolete/nsFileStream.h /usr/local/home/marc/mozilla/xpcom/obsolete/nsIFileStream.h /usr/local/home/marc/mozilla/xpcom/obsolete/nsSpecialSystemDirectory.h /usr/local/home/marc/mozilla/xpcom/obsolete/nsIRegistryUtils.h ../../dist/include/xpcom_obsolete
/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/config/nsinstall -R -m 644 /usr/local/home/marc/mozilla/xpcom/obsolete/nsIFileSpec.idl /usr/local/home/marc/mozilla/xpcom/obsolete/nsIRegistry.idl ../../dist/idl
/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/config/nsinstall -R -m 644 _xpidlgen/nsIFileSpec.h _xpidlgen/nsIRegistry.h ../../dist/include/xpcom_obsolete
gmake[3]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/xpcom/obsolete'
gmake[3]: Entering directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/tools/trace-malloc/lib'
gmake[3]: *** No rule to make target `export'. Stop.
gmake[3]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/tools/trace-malloc/lib'
gmake[2]: *** [tier_2] Error 2
gmake[2]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu'
gmake: *** [build] Error 2

And i read earlier in this topic to try the make export....that returns an error too.

gmake[6]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/nsprpub/lib/libc/src'
gmake[5]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/nsprpub/lib/libc'
gmake[4]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/nsprpub/lib'
gmake[3]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu/nsprpub'
gmake[2]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu'
/usr/bin/gmake ldap
gmake[2]: Entering directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu'
gmake[2]: Nothing to be done for `ldap'.
gmake[2]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu'
gmake[1]: *** No rule to make target `/usr/local/home/marc/mozilla/tools/trace-malloc/lib/Makefile.in', needed by `tools/trace-malloc/lib/Makefile'. Stop.
gmake[1]: Leaving directory `/usr/local/home/marc/mozilla/obj-i686-pc-linux-gnu'
gmake: *** [export] Error 2
nrthomas
Posts: 1988
Joined: February 9th, 2003, 3:25 pm

Post by nrthomas »

Are there any files in the tools/trace-malloc directory ? Those sort of errors are common if files are missing. There doesn't seem to be anything in the nightly source tarball for mozilla.

Use this command to get the files from the CVS repository (trunk):
<code>cvs co mozilla/tools/trace-malloc</code>
in the parent directory of the source.
thedarkone
Posts: 3
Joined: April 25th, 2005, 8:17 am

Post by thedarkone »

that fixed it, thanks
thedarkone
Posts: 3
Joined: April 25th, 2005, 8:17 am

Post by thedarkone »

or actually it didnt lol
Post Reply