This is a useful read:
Get the 'hotfix.patch' from here:
This is what I did:
# patch -p1 < ../hotfix.patch
# EXTRA_FLAGS=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
# export CFLAGS+=$EXTRA_FLAGS
# export CXXFLAGS+=$EXTRA_FLAGS
# unset EXTRA_FLAGS
This is my mozconfig file. Note that I used system pixman, however pixman spits out error messages, non-fatal, but you might want to consider using SM's internal pixman library: "--disable-system-pixman"
I did not use system nspr and nss, as in Quirky 8.3 (based on Ububtu 16.04.2 DEBs) they are too old.
Here is 'mozconfig':
Just put 'mozconfig' into top-level of source code, then off you go:
# make -f client.mk
Before installing, if you already have /usr/lib/seamonkey-2.48 and seamonkey-devel-2.48, /usr/share/idl/seamonkey-2.48, and /usr/include/seamonkey-2.48, rename them to something else. then:
# make -f client.mk install
Make sure that /usr/lib/seamonkey is a symlink to seamonkey-2.48, and check that /usr/bin/seamonkey is a symlink to /usr/lib/seamonkey/seamonkey or /usr/lib/seamonkey-2.48/seamonkey
Then run "seamonkey".
Or, if you want to make a pet, use 'cp -a' to copy out all of those target directories, before running seamonkey (when seamonkey runs, it actually writes into /usr/lib/seamonkey-2.48, or at least it used to, so grab the pristine files before first run of seamonkey).
Tidy up: if creating a PET, good to use an existing PET, such as mine, as a template. Note, delete the dictionary files, as all pups have hunspell, and delete the 'modern' theme -- again, look in my PETs.
Get my PET from here:
If you have Quirky and maybe a very recent pup, it will have 'pet2dir' utility, so just do this to expand the PET to a folder:
# pet2dir seamonkey-2.48-xerus64.pet
If your pup does not have this utility, then do it this way, which will give an error message, but works:
# tar -xf seamonkey-2.48-xerus64.pet
Comments:SM use internal icu Posted on 5 Aug 2017, 9:41 by admin
Ha ha, just thought of something else. I have "--with-system-icu", however LFS advises to use the SM internal icu.
I discovered this when compiling in OpenEmbedded. SM was very unstable, and I found it is due to the system icu library.
However, Ubuntu 16.04 uses the same version of icu as the SM internal icu (55.1), and using the system icu is ok.
It seems that later versions of icu are not ok.
Unfortunately, using the internal icu will increase the size of SM considerably.
SM needs autoconf 2.13 Posted on 5 Aug 2017, 9:31 by admin
Forgot, SM also needs 'autoconf2.13' to compile. I forgot, because already have it in Quirky 8.3. It is available from the Ubunu and Debian repos, for example:
In any Ubuntu or Debian -based pup, just use the PPM to install it.
You can also follow these instructions at LFS: