Configuring/compiling Seamonkey fails

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
Moldmaker_
Posts: 3
Joined: April 29th, 2017, 6:38 am

Configuring/compiling Seamonkey fails

Post by Moldmaker_ »

Hi everybody, I am trying to compile Seamonkey on an older 32-bit linux box, running kernel 2.6.39.4 and gcc 4.9.1. I downloaded seamonkey-2.40.tar.bz2, and created a standard mozconfig. The mozconfig is:

Code: Select all

# If you have a multicore machine, all cores will be used by default.
# If desired, you can reduce the number of cores used, e.g. to 1, by
# uncommenting the next line and setting a valid number of CPU cores.
#mk_add_options MOZ_MAKE_FLAGS="-j1"

# If you have installed DBus-Glib comment out this line:
ac_add_options --disable-dbus

# If you have installed dbus-glib, and you have installed (or will install)
# wireless-tools, and you wish to use geolocation web services, comment out
# this line
ac_add_options --disable-necko-wifi

# Uncomment these lines if you have installed optional dependencies:
#ac_add_options --enable-system-hunspell
#ac_add_options --enable-startup-notification

# Comment out the following option if you have PulseAudio installed
ac_add_options --disable-pulseaudio

# Comment out following option if you have gconf installed
ac_add_options --disable-gconf

# Comment out following options if you have not installed
# recommended dependencies:
ac_add_options --enable-system-sqlite
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss

# Us the internal version of icu due to execution problems
#ac_add_options --with-system-icu

# The BLFS editors recommend not changing anything below this line:
ac_add_options --prefix=/usr
ac_add_options --enable-application=suite
ac_add_options --enable-calendar

ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-tests

ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --enable-install-strip

ac_add_options --enable-gio
ac_add_options --enable-official-branding
ac_add_options --enable-safe-browsing
ac_add_options --enable-url-classifier

# Use internal cairo due to reports of unstable execution with
# system cairo
#ac_add_options --enable-system-cairo
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman

ac_add_options --with-pthreads

ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib
When I run configure, the output is

Code: Select all

Reexecuting in the virtualenv
Adding configure options from /home/moldmaker/software/seamonkey-2.46/mozconfig
  --disable-dbus
  --disable-necko-wifi
  --disable-pulseaudio
  --disable-gconf
  --enable-system-sqlite
  --with-system-libevent
  --with-system-libvpx
  --with-system-nspr
  --with-system-nss
  --prefix=/usr
  --enable-application=suite
  --enable-calendar
  --disable-crashreporter
  --disable-updater
  --disable-tests
  --enable-optimize
  --enable-strip
  --enable-install-strip
  --enable-gio
  --enable-official-branding
  --enable-safe-browsing
  --enable-url-classifier
  --enable-system-ffi
  --enable-system-pixman
  --with-pthreads
  --with-system-bz2
  --with-system-jpeg
  --with-system-png
  --with-system-zlib
ERROR: Cannot find project suite
I haven't found something on the internet on this, not even pointing me the direction. What to do?

Mm.
frg
Posts: 1361
Joined: December 15th, 2015, 1:20 pm

Re: Configuring/compiling Seamonkey fails

Post by frg »

Hard to say. There were some errors in previous versions. Try .mozconfig. But even with this one linking will very likely fail. x86 systems are no longer supported for building.

> Adding configure options from /home/moldmaker/software/seamonkey-2.46/mozconfig

And this says 2.46 not 2.40. Did you mix sources or object dirs?

FRG
Moldmaker_
Posts: 3
Joined: April 29th, 2017, 6:38 am

Re: Configuring/compiling Seamonkey fails

Post by Moldmaker_ »

You are right, I mixed something up when writing my post. This is what happened:
I wanted to have a look at seamonkey, so I downloaded the mentioned archive seamonkey-2.40.tar.bz2, which contains a binary of Seamonkey 2.40. When i run it, i get the output

Code: Select all

XPCOMGlueLoad error for file /home/moldmaker/software/seamonkey/libxul.so:
/usr/lib/libgio-2.0.so.0: undefined symbol: g_mapped_file_unref
Couldn't load XPCOM.
So I decided to compile seamonkey by myself and I downloaded the sources: seamonkey-2.46.source.tar.xz. This one I unpacked and tried to compile with the error during configure.
After some investigations on the internet I decided to ask in this forum, and when writing my post, I mixed up the names of the two archives. Sorry for the confusion.

Mm.
frg
Posts: 1361
Joined: December 15th, 2015, 1:20 pm

Re: Configuring/compiling Seamonkey fails

Post by frg »

>> /usr/lib/libgio-2.0.so.0

Which gtk2 version is installed? Its probably too old.

As stated compiling under x86 is no longer supported. If you want an x86 version you need to cross compile it on x64.

FRG
Moldmaker_
Posts: 3
Joined: April 29th, 2017, 6:38 am

Re: Configuring/compiling Seamonkey fails

Post by Moldmaker_ »

Thank you for your help. You are right, the system is rather old.
I found these installation instructions
http://www.linuxfromscratch.org/blfs/vi ... onkey.html
and try to work after it step by step. It says I need GTK 2.24.31 but I only have 2.12.0 So this will be an issue.
I already installed a new compiler and some other things mentioned there. Maybe GTK will be the showstopper.
I keep trying.

Mm.

P.S. Okay, this is not possible. This system is way too old, and you are correct with the 32/64-bit problems.
Thank you again for your help. This topic can be closed.
User avatar
UnixJunkie
Posts: 3
Joined: June 30th, 2007, 12:52 am
Location: Moscow, Russia
Contact:

Re: Configuring/compiling Seamonkey fails

Post by UnixJunkie »

I may be already late for the party, but I've encountered the same problem on a Debian 9 box while trying to build SeaMonkey 2.49.2 and 2.49.5.

The problem is build scripts are broken (see ${basedir}/mozilla/build/moz.configure/init.configure, line 25), and if the configure script is invoked using the relative path, e. g. ./configure, they get build paths wrong. Namely, init.configure tries to search for the suite/moz.configure not under ${basedir} as it should do, but under ${basedir}/mozilla/, resulting in an invalid path like

Code: Select all

${basedir}/mozilla/./suite/moz.configure
The workaround is to invoke configure using its absolute path.
Post Reply