[Ilugc] How to build firefox with indic support

  • From: sri.narayanan@xxxxxxxxx (Narayanan Srinivasan)
  • Date: Thu Jul 20 18:24:21 2006

thanks girish

3GB RAM :o i meant 3GB of hard disk space. i also compiled on a 256MB with
700 MB swap. still needs repartitioning :-?

On 7/20/06, Girish Venkatachalam <girish1729@xxxxxxxxx> wrote:


--- Narayanan Srinivasan <sri.narayanan@xxxxxxxxx>
wrote:

hi i was trying to build this. i had about 3 GB
before starting the build.
this is what happened before the build aborted :(

3 GB of RAM? You must be kidding. I think your machine
is not setup with adequate swap space. I compiled
firefox 1.5 with 256 MB RAM and my swap is 700 MB.

Now that your machine is setup, if you have
partitioned properly according to standard
recommendation, I suggest you mv files from a
partition and convert it into a swap partition with
mkswap and swapon commands.
Remember this is a dangerous surgery and you have to
be very careful.

*If not it will screw up your disk and you will lose
all data. You are warned.*

Standard disclaimers apply. :-)

Also you have to add entry in /etc/fstab, reboot and
check with top whether ur swap is properly recognized.


But it is worthwhile to do this as without swap your
machine will gasp for breath even if you run firefox.

If you are too scared to do this, backup and reinstall
with 1 GB swap. Doesn't hurt.

HTH,
Girish

c++ -o firefox-bin  -fno-rtti -fno-exceptions -Wall
-Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual
-Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -pedantic
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os
-freorder-blocks
-fno-reorder-functions -gstabs+  nsBrowserApp.o
nsStaticComponents.o
-L../../dist/bin -L../../dist/lib
-L../../dist/lib/components
../../dist/lib/libxulapp_s.a -L../../dist/bin
-lmozjs -L../../dist/bin
-lxpcom -lxpcom_core  -L../../dist/lib -lplds4
-lplc4 -lnspr4 -lpthread -ldl
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0-lfontconfig -lXext -lXrender
-lXinerama -lXi -lXrandr
-lXcursor -lXfixes -
lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0
-ldl -lglib-2.0
-L/usr/X11R6/lib -lX11  -ldl -lm
../../dist/lib/components/libxpcom_compat_c.a
../../dist/lib/components/libxpconnect.a
../../dist/lib/components/libuconv.a
../../dist/lib/components/libucvmath.a
../../dist/lib/components/libi18n.a
../../dist/lib/components/libnecko.a
../../dist/lib/components/libnecko2.a
../../dist/lib/components/libpref.a
../../dist/lib/components/libcaps.a
../../dist/lib/components/librdf.a
../../dist/lib/components/libhtmlpars.a
../../dist/lib/components/libgfxps.a
../../dist/lib/components/libgfx_gtk.a
../../dist/lib/components/libimglib2.a
../../dist/lib/components/libgkplugin.a
../../dist/lib/components/libwidget_gtk2.a
../../dist/lib/components/libgklayout.a
../../dist/lib/components/libdocshell.a
../../dist/lib/components/libembedcomponents.a
../../dist/lib/components/libwebbrwsr.a
../../dist/lib/components/libeditor.a
../../dist/lib/components/libtxmgr.a
../../dist/lib/components/libcomposer.a
../../dist/lib/components/libnsappshell.a
../../dist/lib/components/liboji.a
../../dist/lib/components/libaccessibility.a
../../dist/lib/components/libchrome.a
../../dist/lib/components/libmork.a
../../dist/lib/components/libmozfind.a
../../dist/lib/components/libappcomps.a
../../dist/lib/components/libfileview.a
../../dist/lib/components/libremoteservice.a
../../dist/lib/components/libcommandlines.a
../../dist/lib/components/libtoolkitcomps.a
../../dist/lib/components/libpipboot.a
../../dist/lib/components/libpipnss.a
../../dist/lib/components/libpippki.a
../../dist/lib/components/libcookie.a
../../dist/lib/components/libxmlextras.a
../../dist/lib/components/libautoconfig.a

../../dist/lib/components/libsystem-
pref.a../../dist/lib/components/libtransformiix.a
../../dist/lib/components/libuniversalchardet.a
../../dist/lib/components/libwebsrvcs.a
../../dist/lib/components/libauth.a
../../dist/lib/components/libpermissions.a
../../dist/lib/components/libsearchservice.a
../../dist/lib/components/libbrowserdirprovider.a
../../dist/lib/components/libbrowsercomps.a
../../dist/lib/libunicharutil_s.a
../../dist/lib/libucvutil_s.a
../../dist/lib/libgtkxtbin.a
../../dist/lib/libgfxshared_s.a
../../dist/lib/libgfxpsshar.a
../../dist/lib/libgkgfx.a
../../dist/lib/libjsj.a ../../dist/lib/libxulapp_s.a
 -L../../dist/lib
-lmozpng -L../../dist/lib -lmozjpeg -L../../dist/lib
-lmozz
-L../../dist/bin -L../../dist/lib
../../dist/lib/libcrmf.a -lsmime3 -lssl3
-lnss3 -lsoftokn3    -lmozcairo -lmozlibpixman
-L/usr/X11R6/lib -lXrender
-lfreetype -L/usr/X11R6/lib -lXt -L../../dist/lib
-lxpcom_compat
/usr/bin/ld: final link failed: Memory exhausted
collect2: ld returned 1 exit status
gmake[4]: *** [firefox-bin] Error 1
gmake[4]: Leaving directory

`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser/app'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory

`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser'
gmake[2]: *** [tier_99] Error 2
gmake[2]: Leaving directory

`/home/narayanan/indicfirefox/mozilla/firefox-custombuild'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory

`/home/narayanan/indicfirefox/mozilla/firefox-custombuild'
gmake: *** [build] Error 2
Creating installer for the firefox
gmake: Entering directory


`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser/installer'
/usr/bin/gmake export
gmake[1]: Entering directory


`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser/installer'
gmake[1]: Nothing to be done for `export'.
gmake[1]: Leaving directory


`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser/installer'
/usr/bin/gmake libs
gmake[1]: Entering directory


`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser/installer'
gmake[1]: *** No rule to make target
`../../dist/bin/firefox-bin', needed by
`firefox-1.5.0.4.en-US.linux-i686.tar.gz'.  Stop.
gmake[1]: Leaving directory


`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser/installer'
gmake: *** [all] Error 2
gmake: Leaving directory


`/home/narayanan/indicfirefox/mozilla/firefox-custombuild/browser/installer'
Firefox installer is created successfully
mv: cannot stat
`firefox-custombuild/dist/firefox-*.tar.gz': No such
file or
directory
firefox indic package firefox...tar.gz is moved to
the top directory.


I suppose this is the problem:

/usr/bin/ld: final link failed: Memory exhausted


But I still have about a GB after the build. Can
someone help me out
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx
with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Other related posts: