On Friday 02 September 2005 04:17 pm, Andrew Zbikowski wrote:
> Start with `which firefox` or whatever the biniary is. You might have
> to bump /usr/local ahead of /usr in your bash config...or something.
>
> Last time I built it from source I did something like:
>
> apt-get build-deps firefox
>
> ./configure --path=/usr/local/mozilla-firefox
> fakeroot make
> sudo make install
>
> Wasn't all that difficult....

I'd recommend build it in pbuilder, then you can be sure your local changes 
haven't made it into the package.

I also recommend, if aren't going to use pbuilder:

$ sudo apt-get build-debs firefox
$ cd /var/tmp
$ apt-get source firefox
$ cd firefox-x.y.z
$ dpkg-buildpackage -rfakeroot
-- 
Bob Tanner <tanner at real-time.com>          | Phone : (952)943-8700
http://www.real-time.com, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288