Building Firefox on my old laptop


I followed this resource .

I changed a line – like this:

ac_add_options --enable-optimize="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer"

I also added these lines:

ac_add_options --enable-static

ac_add_options --disable-shared

Building begin: 02.53 AM …

…Building end: 07.15 AM


../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o): In function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':nsDrawingSurfaceGTK.cpp:(.text+0x7d6): undefined reference to `XftDrawDestroy'
:nsDrawingSurfaceGTK.cpp:(.text+0x80f): undefined reference to `XftDrawDestroy'

collect2: ld returned 1 exit status

make[4]: *** [firefox-bin] Error 1

make[4]: Leaving directory `/home/intersezioni/mozilla/firefox-bin/browser/app'

make[3]: *** [libs] Error 2

make[3]: Leaving directory `/home/intersezioni/mozilla/firefox-bin/browser'

make[2]: *** [tier_99] Error 2

make[2]: Leaving directory `/home/intersezioni/mozilla/firefox-bin'make[1]: *** [default] Error 2make[1]: Leaving directory `/home/pinna/mozilla/firefox-bin'make: *** [build] Error 2

# 2

I read the "gtk 2.8 builds are broken due to missing xft dependencies" bugzilla page

I'm going to disable pango support, add three lines as suggested by Marco Perez and try again.

(…some hours later…)

No errors in

make -f build

This is the output of

make -C firefox-bin/browser/installer/ :
Creating package directory...

rm -f -rf ../../dist/xpt

/usr/bin/perl -I/home/pinna/mozilla/xpinstall/packager -e 'use Packager; \

Packager::Copy("../../dist", "../../dist/firefox", \

packages-static", "unix", 1, 0, 1);'

Error: package file "SCALAR(0x814c684)" is not a file or is unreadable.

See '-e --help' for more information.


make[1]: *** [firefox-] Error 4

make[1]: Leaving directory `/home/pinna/mozilla/firefox-bin/browser/installer'

make: *** [all] Error 2

make: Leaving directory `/home/pinna/mozilla/firefox-bin/browser/installer'

One Response to “Building Firefox on my old laptop”

  1. Koshian Says:

    Perhaps, has bug.

    — xpinstall/packager/ 2006-10-18 09:14:19.000000000 +0900
    +++ xpinstall/packager/ 2006-10-18 09:09:17.000000000 +0900
    @@ -462,6 +460,7 @@

    # check package file
    + $package = $$package if ( ref($package));
    if ( $package eq “” ) {
    print “Error: package file (–file) not specified.\n”;
    $exitval += 8;

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: