SeaMonkey 2.46 compiled in Pi3


I have compiled SeaMonkey 2.46 in the Raspberry Pi3, running Quirky Xerus 8.1.4. It took all night, but finally got there, after a few failures.

The info at the LFS page was invaluable:
http://www.linuxfromscratch.org/blfs/view/cvs/xsoft/seamonkey.html

This is my mozconfig:
mk_add_options MOZ_MAKE_FLAGS='-j1'

mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=suite
ac_add_options --enable-system-hunspell
ac_add_options --prefix=/usr
ac_add_options --host=armv7l-unknown-linux-gnueabihf
ac_add_options --disable-dbus
ac_add_options --disable-accessibility
ac_add_options --with-system-bz2
ac_add_options --disable-updater
ac_add_options --disable-parental-controls
ac_add_options --disable-system-sqlite
ac_add_options --disable-system-cairo
ac_add_options --enable-strip
ac_add_options --without-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --disable-tests
ac_add_options --with-default-mozilla-five-home=/usr/lib/seamonkey
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-crashreporter
ac_add_options --with-system-libvpx
ac_add_options --enable-gio
ac_add_options --disable-necko-wifi
ac_add_options --disable-gconf
ac_add_options --without-system-nspr
ac_add_options --without-system-nss
ac_add_options --enable-ldap
ac_add_options --with-system-icu
ac_add_options --disable-pulseaudio
ac_add_options --enable-system-ffi
ac_add_options --disable-gnomeui
ac_add_options --with-pthreads
ac_add_options --enable-system-pixman
ac_add_options --disable-debug
ac_add_options --without-system-libevent
ac_add_options --enable-optimize='-Os'
<

...in retrospect, I would have chosen not to use the system pixman lib, as although it works, error messages get spitted out on stderr.

...note also, not using system libevent. Version 2.1.8 and later requires a patch, as shown on the LFS page. Quirky, based on Ubuntu 16.04 DEBs, has an older libevent that does NOT want that patch -- which I found out the hard way, as the LFS page doesn't explain that vital detail. Using the internal libevent avoids the problem.

I had to install "autoconf2.13" DEB from the Ubuntu repo, otherwise configure doesn't work.

With "mozconfig" in place, it was just a matter of:
# make -f client.mk
# make -f client.mk install



Comments:

libevent patch   Posted on 20 Mar 2017, 8:11 by admin
Correction, further down the LFS page, it does explain about libevent 2.1.8:

sed ... message_pump_libevent.cc: Fix an error due to changes in libevent-2.1.8 and later.

...using the internal libevent, this patch is not required.