LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-09-2007, 05:23 AM   #1
shaji00
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
compile firefox pango enabled


Dear All,

We need to use the latest firefox browser version 2.0.0.3 with indian language support. (I am using Malayalam, an Indian language spoken by nearly 35 million people). I understand that firefox has to be compiled with pango enabled for proper font rendering of such complex scripts.

I downloaded firefox source code and tried to recompile but at several steps the compilation stops for want of different libraries. I am using Redhat Linux WS 4.

Could anybody help me with the simple steps of recompiling firefox, pango enabled.

regards

shaji
 
Old 07-09-2007, 05:38 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,640
Blog Entries: 1

Rep: Reputation: 194Reputation: 194
Enter the top of the source tree (directory called mozilla) and create a .mozconfig file
Code:
cat > .mozconfig << "EOF"
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@

ac_cv_visibility_pragma=no

ac_add_options --prefix=/opt/firefox-2.0.0.4

ac_add_options --with-system-nss
ac_add_options --with-system-nspr

ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-jpeg
ac_add_options --enable-system-cairo

ac_add_options --enable-canvas
ac_add_options --enable-svg

ac_add_options --enable-strip
ac_add_options --disable-tests 
ac_add_options --disable-accessibility
ac_add_options --disable-installer 
ac_add_options --enable-official-branding 

ac_add_options --enable-pango
ac_add_options --enable-ldap
EOF
Then build Firefox.
Code:
make -f client.mk build
Then install Firefox
Code:
make -f client.mk install
You'll need Gtk2, libIDL, Zip, OpenLDAP and NSS installed first. Unzip and libgnomeui are optional.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla Firefox & Pango samac Slackware 4 07-09-2005 11:51 AM
firefox and gimp won't run (pango problem?) busbarn Slackware 3 06-21-2005 12:29 AM
cannot compile Pango paulr1984 Linux - Software 0 08-25-2004 02:16 AM
slackware10+gaim compile font and pango errors exodist Linux - Software 1 07-04-2004 10:11 AM
How doI compile pango-1.2.5?(Mandrake9.2). akihandyman Linux - Software 1 02-23-2004 11:53 AM


All times are GMT -5. The time now is 12:37 PM.

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