WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Seamonkey 2.53.5.1 from scratch  (Read 9419 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Seamonkey 2.53.5.1 from scratch
« Reply #15 on: January 20, 2021, 11:21:56 AM »

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: Seamonkey 2.53.5.1 from scratch
« Reply #16 on: January 20, 2021, 03:28:16 PM »
I got ERROR: Cannot find project suite

Code: [Select]
tc@box:~/tmp/seamonkey-2.53.5.1$ ./configure
Reexecuting in the virtualenv
Adding configure options from /home/tc/tmp/seamonkey-2.53.5.1/mozconfig
  --disable-dbus
  --disable-necko-wifi
  --disable-gconf
  --with-system-icu
  --with-system-libevent
  --with-system-nspr
  --with-system-nss
  --with-system-webp
  --prefix=/usr
  --enable-application=suite
  --disable-crashreporter
  --disable-updater
  --disable-tests
  --enable-optimize=-O2
  --enable-strip
  --enable-install-strip
  --enable-official-branding
  --enable-system-cairo
  --enable-system-ffi
  --enable-system-pixman
  --with-pthreads
  --with-system-bz2
  --with-system-jpeg
  --with-system-png
  --with-system-zlib
checking for vcs source checkout... no
ERROR: Cannot find project suite

I also read in some forum that x86 compilation is not supported and must do cross compilation with x64, is this true?

http://forums.mozillazine.org/viewtopic.php?f=40&t=3029867


How to invoke ./configure from absolute path?

Code: [Select]
tc@box:~/tmp/seamonkey-2.53.5.1$ ./home/tc/tmp/configure
sh: ./home/tc/tmp/configure: not found

P.S. the required dependencies are much higher than the version of tc repo (Autoconf-2.13, both GTK+-2.24.33 and GTK+-3.24.24, Python-2.7.18, rustc-1.47.0, UnZip-6.0, yasm-1.3.0, and Zip-3.0)
« Last Edit: January 20, 2021, 03:33:26 PM by cute curtis »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: Seamonkey 2.53.5.1 from scratch
« Reply #17 on: January 20, 2021, 05:19:58 PM »
Hi cute curtis
... How to invoke ./configure from absolute path? ...
Code: [Select]
/home/tc/tmp/seamonkey-2.53.5.1/configure

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: Seamonkey 2.53.5.1 from scratch
« Reply #18 on: January 22, 2021, 05:51:06 AM »
ok, I PASSED the configure step. I know the second step is MAKE but I'm still confused with these statements:

from wiki
Quote
the following flags are required to ensure TC compliance for submission, example ./configure command:
        CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var

from linuxfromscratch
Quote
If you are compiling this package in chroot you must do two things. First, as the root user, ensure that /dev/shm is mounted. If you do not do this, the Python configury will fail with a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py. Run:
mountpoint -q /dev/shm || mount -t tmpfs devshm /dev/shm
Second, either as the root user export the $SHELL environment variable using export SHELL=/bin/sh or else prepend SHELL=/bin/sh when running the first make command.
Compile SeaMonkey by running the following commands:
CC=gcc CXX=g++ make -f client.mk


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Seamonkey 2.53.5.1 from scratch
« Reply #19 on: January 22, 2021, 05:58:20 AM »
Did you try:
Code: [Select]
$ CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" make -f client.mk

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: Seamonkey 2.53.5.1 from scratch
« Reply #20 on: January 22, 2021, 09:07:30 AM »
Do I need to be in root first?

Quote
If you are compiling this package in chroot you must do two things. First, as the root user, ensure that /dev/shm is mounted. If you do not do this, the Python configury will fail with a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py. Run:
mountpoint -q /dev/shm || mount -t tmpfs devshm /dev/shm
Second, either as the root user export the $SHELL environment variable using export SHELL=/bin/sh or else prepend SHELL=/bin/sh when running the first make command.

P.S. I just want to be cautious not to pollute the source folder before executing with MAKE command, will it revert back to it's original content after rebooting?
« Last Edit: January 22, 2021, 09:10:58 AM by cute curtis »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Seamonkey 2.53.5.1 from scratch
« Reply #21 on: January 22, 2021, 09:21:02 AM »
..but I doubt that you are compiling in a chroot environment.

"make" should be run as user, "make install" as root.

Note that you need to save the files installed in order to make an extension out of them.

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: Seamonkey 2.53.5.1 from scratch
« Reply #22 on: January 26, 2021, 04:38:11 PM »
This is weird I now get nspr error but I passed the ./configure last time

Code: [Select]
DEBUG: configure:9100: checking NSPR selection
DEBUG: configure:9200: checking for nspr-config
DEBUG: configure:9235: checking for NSPR - version >= 4.25
DEBUG: configure: error: you do not have NSPR installed or your version is older than 4.25.
ERROR: old-configure failed

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Seamonkey 2.53.5.1 from scratch
« Reply #23 on: January 27, 2021, 03:56:52 AM »
tc-11.x x86 has nspr-4.18

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: Seamonkey 2.53.5.1 from scratch
« Reply #24 on: January 27, 2021, 03:42:44 PM »
where can I get higher than 4.25?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Seamonkey 2.53.5.1 from scratch
« Reply #25 on: January 27, 2021, 04:09:44 PM »
If you can wait a few days, I’ll update it.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Seamonkey 2.53.5.1 from scratch
« Reply #26 on: January 29, 2021, 03:59:42 AM »
nspr/nss updated

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: Seamonkey 2.53.5.1 from scratch
« Reply #27 on: January 29, 2021, 02:41:05 PM »

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: Seamonkey 2.53.5.1 from scratch
« Reply #28 on: January 31, 2021, 01:10:53 PM »
I cannot mark for deletion in Apps so I manually delete old nspr.tcz in Optional folder then downloaded the 4.27 but same fault resulted. How do I check thru terminal my nspr version?

Code: [Select]
DEBUG: configure:9235: checking for NSPR - version >= 4.25
DEBUG: configure: error: you do not have NSPR installed or your version is older than 4.25.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Seamonkey 2.53.5.1 from scratch
« Reply #29 on: January 31, 2021, 01:54:44 PM »
You should use check for updates in the apps gui - you can also check the pkg-config file in nspr-dev