Archive for April, 2006

Building Firefox on my old laptop

29 April 2006

#1

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

Result:

../../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 client.mk 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.

Exiting...

make[1]: *** [firefox-1.5.0.2.en-US.linux-i686.tar.gz] 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'