Firefox build instructions

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

dbright wrote:It's good stuff. I couldn't access it today, so I went Google-cache digging...

Just FYI I am working on a tutorial to build Firebird using VS.NET (7.1), and once I have all of the details ironed out I will post a link.

Sounds good. 7.1 is VS .NET 2003, right? I hope our company upgrades my compiler from 7.0 to 7.1 soon. [-o<

Nilson's site seems to have exceeded the monthly data transfer limit. He told me about it a couple of days ago, but said it was okay to keep the link 'cause he didn't see the site blocked at that time. Well, come October and it will be back online. :)
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
Äkiidoll
Posts: 5473
Joined: August 16th, 2003, 2:03 pm
Location: USA
Contact:

Post by Äkiidoll »



Pouts major :cry:
I got this msg from your host Nilson
Sorry...Page Temporarily Unavailable

The Web page or file that you requested is temporarily unavailable. It has been so popular this month that it exceeded its free monthly traffic allotment. Access to this Web site will be restored on the first of next month. Please come back then.

Thank you for your visit!

If you are the owner of the Web site in question, please refer to your Community Web Space Terms and Conditions under Web Site Size and Space Limitations for more information.


I think I have hit it in the past & its very nice indeed. :)
Dai I posted from page 1 so I didnt see your post. 4give me O:)

Geck0 r0cks
A prisoner of Christ Jesus, by His stripes I was healed
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

Caetck wrote:Dai I posted from page 1 so I didnt see your post. 4give me O:)

No sweat. Thanks for thinking of me. :)
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
djst
Moderator
Posts: 2826
Joined: November 5th, 2002, 1:34 am
Location: Sweden
Contact:

Post by djst »

Thanks everyone for your input. I've talked to Henrik Gemal and got permission to use his content: http://texturizer.net/firebird/build.html

I don't know how much work there is to make this apply to Linux/Unix too?
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

djst wrote:Thanks everyone for your input. I've talked to Henrik Gemal and got permission to use his content: http://texturizer.net/firebird/build.html

I don't know how much work there is to make this apply to Linux/Unix too?

Step 3: Must be worded so the user will install the necessary packages on their *NIX box. Which files and packages need to be installed depends upon your UNIX flavour/Linux distro.

Steps 4 and 5: Unnecessary since step 3 should install the necessary development tools, including GNU make, GCC, etc.

Step 6: Only the last line (<code>CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot</code>) should apply.

Steps 7 and 8: Unnecessary.

Step 10: I believe the syntax should be <code>cvs checkout -f mozilla/client.mk</code> (notice -f). At least that's how it works under Linux.

Step 11: The folowing lines are unnecessary.

Code: Select all

CC=gcc
CXX=g++
CPP=cpp
AS=as
LD=ld

Step 12: Is <code>pull_all</code> the same as <code>checkout</code>? I use <code>checkout</code> for Linux.

Step 13: Is <code>build_all</code> the same as <code>build</code>? I use <code>build</code> for Linux.

Step 14: The executable is "MozillaFirebird" for Linux.

The instructions I outlined on page 1 of this thread should help, too.
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
nilson
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama
Contact:

Post by nilson »

My build instructions are back online.
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

I have also integrated the instructions I wrote for this thread into my Firebird web site, thinking about the points above. :)

http://daihard.home.comcast.net/firebird/build.html
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
Old Persist
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Persist »

daihard wrote:I have also integrated the instructions I wrote for this thread into my Firebird web site, thinking about the points above. :)

http://daihard.home.comcast.net/firebird/build.html
This looks very good. I'm sure it will be much quoted. Can I suggest you think about adding

Code: Select all

cd xpinstall/packager
gmake MOZ_PKG_APPNAME=MozillaFirebird MOZILLA_BIN="$HOME/fb_source/mozilla/dist/bin/MozillaFirebird-bin"
at the end so that people end up with a nicely bundled Firebird?
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

Persist wrote:This looks very good. I'm sure it will be much quoted. Can I suggest you think about adding

Code: Select all

cd xpinstall/packager
gmake MOZ_PKG_APPNAME=MozillaFirebird MOZILLA_BIN="$HOME/fb_source/mozilla/dist/bin/MozillaFirebird-bin"
at the end so that people end up with a nicely bundled Firebird?

Thanks for the compliment and suggestion. I did think about adding the instructions for packaging up Firebird, but got lazy there. Will do tonight. :D
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
Ringding
Posts: 27
Joined: October 3rd, 2003, 8:32 am

Post by Ringding »

Why is there no info on how the official Release is built exactly? Or am I just too blind?

I'd really like to know what exact .mozconfig is used for the build. And for Thunderbird and Mozilla as well for that matter.
Old Persist
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Persist »

I think most of them are spelled out under Configure Arguments if you type about:buildconfig into the addressbar. At least, that's what I based my .mozconfig on.
User avatar
mjt
Posts: 31
Joined: June 11th, 2003, 11:40 am
Location: Essex, UK

Post by mjt »

Hi,

I am attempting to build firebird for the first time. Can someone give me a pointer to the following error. I followed the instructions on Henrik Gemal's webpages. I downloaded and installed the cygwin w32api version 2.4.1 but that has not fixed the problem.

Any help would be appreciated.

Here is the output from the make command.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Mozilla\mozilla>make -f client.mk build_all
Adding client.mk options from /cygdrive/c/Mozilla/mozilla/mozconfig:
MOZ_PHOENIX=1
cd /cygdrive/c/Mozilla/mozilla
/cygdrive/c/Mozilla/mozilla/configure
Adding configure options from /cygdrive/c/Mozilla/mozilla/mozconfig:
--disable-composer
--disable-debug
--disable-ldap
--disable-mailnews
--disable-shared
--disable-tests
--enable-crypto
--enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help
--enable-optimize
--enable-static
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for as... /cygdrive/c/mozilla/mingw/bin/as
checking for ar... ar
checking for ld... ld
checking for strip... strip
checking for windres... windres
checking for gawk... gawk
checking for w32api version >= 2.4... no
configure: error: w32api version 2.4 or higher required.
*** Fix above errors and then restart with "make -f client.mk build"
make: *** [/cygdrive/c/Mozilla/mozilla/Makefile] Error 1
User avatar
f4lc0n
Posts: 270
Joined: March 21st, 2003, 12:36 am
Location: Vancouver, BC Canada

Post by f4lc0n »

Henrik Gemal's website links to an older version of w32api go to http://www.mingw.org/download.shtml , and get version 2.4 of w32api
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 (stipe)
User avatar
derra
Posts: 12
Joined: September 26th, 2003, 4:18 pm
Contact:

Daihard Site

Post by derra »

Very Informative site Daihard!
Color scheme had me reaching for my sun glasses at midnight though... :) When I first started using Linux I really enjoyed tinkering with installs... O.O.o 1.0.3 was fun to get working for instance. Now days I am getting busy enough I want my linux to Just Work. Im running a dual boot Slackware 9.1 and Win2k. I boot Win2k for the occasional games and to do recreational surfing. Here soon I expect to boot windows only rarely, but before this happens I WILL be building FB on my linux box!! Also O.O.o 1.1 ximian edition here soon... been waiting on FB so I can knock out both on a weekend :) Any Linux FB users got some input on Linux daily FB usage? How about the Realplayer plugin? Few sites I go to are music / music video and I would really like to get those going This Time with a minimum of pain. Last time getting it all going with mozilla was a major full weekend pain in the keester!
Thanks
Life is only as interesting as you make it.
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

Persist wrote:This looks very good. I'm sure it will be much quoted. Can I suggest you think about adding

Code: Select all

cd xpinstall/packager
gmake MOZ_PKG_APPNAME=MozillaFirebird MOZILLA_BIN="$HOME/fb_source/mozilla/dist/bin/MozillaFirebird-bin"
at the end so that people end up with a nicely bundled Firebird?

The instruction for building a distributable package has been added to my build instruction page. Thanks again for the suggesiton.
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
Post Reply