MozillaZine

Idiots guide to compiling Firebird?!

Discussion about official Mozilla Firefox builds
irchs
 
Posts: 47
Joined: June 2nd, 2003, 3:39 pm
Location: monkey land

Post Posted July 27th, 2003, 8:06 am

Is there one?! :)
C}{$

nilson

User avatar
 
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama

Post Posted July 27th, 2003, 8:19 am

What OS?

For Windows, this thread may be useful: http://forums.mozillazine.org/viewtopic.php?t=16657

You also need to follow all the instructions on this site: http://gemal.dk/mozilla/build.html.

That shoudl have you up and running. You have to be able to follow instructions pretty well, though. BTW, you should use the .mozconfig in the thread I mentioned.

steeler_fan

User avatar
 
Posts: 1189
Joined: June 15th, 2003, 11:00 am
Location: Pixburgh

Post Posted July 27th, 2003, 9:42 am

nilson wrote:BTW, you should use the .mozconfig in the thread I mentioned.


Yeah, the .mozconfig from Gemal's site didn't seem to work, but nilson's finally did compile (for me anyways)

Anyway, good luck on compiling Firebird (It really is easy once you do it for the first time)
Neil

Zeron
 
Posts: 1067
Joined: March 6th, 2003, 3:33 pm

Post Posted July 27th, 2003, 9:55 am

How about one for Linux?

Hooded One

User avatar
 
Posts: 1591
Joined: February 5th, 2003, 11:42 am
Location: San Francisco, CA

Post Posted July 27th, 2003, 10:18 am

Yes... I have been trying to make my own XFT build, and it appeared to compile... but the executable just tells me "couldn't find the program MozillaFirebird-bin"
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
SuSE Linux 9.2, Kernel 2.6.8, KDE 3.3.2

daihard
Folder@Home

User avatar
 
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA

Post Posted July 27th, 2003, 11:01 am

Zeron wrote:How about one for Linux?

Here's the start. To check out the source file necessary for building Firebird in addition, do the following in your $HOME/.mozconfig file:
Code: Select all
export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1

Here's my sample .mozconfig file.

HTH
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)

DamianMoran

User avatar
 
Posts: 726
Joined: January 30th, 2003, 10:14 pm

Post Posted July 27th, 2003, 11:21 am

Ok, I am up to step 12:

Now you are ready to pull the source. This will take a long time! It took me around 2 hours!
cd c:\mozilla\mozilla\
make -f client.mk pull_all

And get error: "make" is not recognised as an internal or external command etc.

I have followed all steps, except 7:

Since we're on a Windows platform we have to convert the Netscape wintools header files into Unix format. Start a Command Prompt and do:
cd c:\mozilla\moztools\include\
c:\mozilla\cygwin\bin\dos2unix.exe *.h
cd libIDL\
c:\mozilla\cygwin\bin\dos2unix.exe *.h

Because that exe does not exist, cygwin did not pull it. Does that have anything to do with my error?

nilson

User avatar
 
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama

Post Posted July 27th, 2003, 11:36 am

I got that same problem...You have to run the cygwin setup again and re-pull those files.
You'll also need to run mozset.bat BEFORE you do any make commands.

DamianMoran

User avatar
 
Posts: 726
Joined: January 30th, 2003, 10:14 pm

Post Posted July 27th, 2003, 11:45 am

Grr... cygwin won't pull any new files, even after I delete the dirs.

And I did run mozset.bat, which is strange.

EDIT: Ok, managed to smack the installer around.. downloading files.

nilson

User avatar
 
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama

Post Posted July 27th, 2003, 11:50 am

If you close the command promt, then you have to run mozset.bat again. When it sets the Environment Veriables, they only last for the session of the consle window.

DamianMoran

User avatar
 
Posts: 726
Joined: January 30th, 2003, 10:14 pm

Post Posted July 27th, 2003, 12:01 pm

Right.. after installing again and making sure it grabbed all the sections gemal.dk mentions, dos2unix is still not there; plus it had a few errors during the last stage of installation.

I tried running mozset.bat again right before going to mozilla\mozilla and trying to pull source, but same result.

DizzyWeb

User avatar
 
Posts: 637
Joined: March 27th, 2003, 9:56 am

Post Posted July 27th, 2003, 12:58 pm

Well, without dos2unix it really will never ever work. It will always break.
The author can never, in no way, be held responsible for any harm caused, mental or physical, by reading this post.

markf_home
 
Posts: 2
Joined: June 1st, 2003, 12:49 pm

Post Posted July 27th, 2003, 1:04 pm

DamianMoran wrote:Right.. after installing again and making sure it grabbed all the sections gemal.dk mentions, dos2unix is still not there; plus it had a few errors during the last stage of installation.


1. dos2unix is in cygutils, you need to install that
2. make is in the dev section of cygwin install, install that too.

once you've installed cygutils, you can go to /usr/doc/cygutils-1.1.4 (or whatever version you installed, it'll be /usr/doc/cygutils-x.y.z) and read the file PROGLIST, which tells you it has dos2unix (as well as lots of other conversion utils).

mark fisher

DamianMoran

User avatar
 
Posts: 726
Joined: January 30th, 2003, 10:14 pm

Post Posted July 27th, 2003, 2:07 pm

Ok, I solved the problem by getting *ALL* of cygwin which took ages. Now I am wondering how to optimise for AMD/Athlon chips?

nilson

User avatar
 
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama

Post Posted July 27th, 2003, 2:12 pm

First you should attempt a build before optimising.

I guess you are using MingW/Cygwin/GCC. I'm not sure if optimising is possible with this.

Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 2 guests