Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-16-2005, 03:08 AM   #1
Registered: Feb 2005
Distribution: debian sid, blfs 6.0
Posts: 41

Rep: Reputation: 15
build firefox in debian sid


i have built firefox cvs version.

./configure --enable-application=browser

removed debian-firefox through aptitude.

make install

all was fine, but after running it, i realized that the font is so ugly..
so i rolled back.

removed firefox files in /usr/local by hand through nautilus as root.
installed debian-firefox through aptitude.

the compiled source is still here, so how to enable pretty font in firefox gui?
i want to know the debian way.

PS: please remove the ID: "dmigh", "L-system". it was me.

Last edited by lmmix; 02-16-2005 at 03:09 AM.
Old 02-16-2005, 03:25 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I find it easiest to put the configure options in a mozconfig file inside the mozilla source. To make an xft (pretty font) build, try these options in your mozconfig
. $topsrcdir/browser/config/mozconfig
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2
Old 02-16-2005, 09:02 AM   #3
Registered: Feb 2005
Distribution: debian sid, blfs 6.0
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks. works like charm.

first i tried it to the compiled source, make make install it failed.
2nd, make clean, rm config.cache, and make make install,it also failed.

3rd, rm -rf mozilla, get the cvs again,

cvs login
cvs checkout mozilla/
cd mozilla/
make -f checkout MOZ_CO_PROJECT=browser
./configure --enable-application=browser --enable-default-toolkit=gtk2 --enable-xft --disable-freetype2
make; make install

it works.

Linux debian 2.6.11-rc4
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050216 Firefox/1.0+

./configure --enable-application=browser --enable-default-toolkit=gtk2 --enable-xft --disable-freetype2 --enable-pango

some useful tip: devhelp with firefox

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/

ln -s /usr/local/lib/pkgconfig/firefox-xpcom.pc /usr/local/lib/pkgconfig/mozilla-xpcom.pc (as root)

ln -s /usr/local/lib/pkgconfig/firefox-nspr.pc /usr/local/lib/pkgconfig/mozilla-nspr.pc (as root)

comment out 48, 49
vi +48 /usr/local/include/firefox-1.0+/nsEmbedString.h (as root)

./configure --with-mozilla=firefox ; make

make install (as root)

now, you got the devhelp without mozilla. devhelp-books.

Last edited by lmmix; 02-16-2005 at 11:20 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 11:44 AM
debian sid pppoeconf lestoil Debian 3 11-14-2005 02:38 AM
firefox 1.0.6 crashes in sid dukeinlondon Debian 22 09-09-2005 04:47 PM
What our the differences between debian (Sid) and knoppix 3.4 (Sid)? maximalred Debian 6 06-06-2004 09:39 PM
Debian Sid BittaBrotha Debian 11 07-06-2003 10:35 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration