Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: cute curtis on January 13, 2021, 06:32:31 AM

Title: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 13, 2021, 06:32:31 AM
I have already made a fully working extension subject for archiving and bcrypting but I want to create this extension via 3-step process.

I have already found the process http://www.linuxfromscratch.org/blfs/view/svn/xsoft/seamonkey.html (http://www.linuxfromscratch.org/blfs/view/svn/xsoft/seamonkey.html)

The source package has no config file so I made a default mozconfig file instead and made it executable inside the source folder.  After executing as root the ./mozconfig command it gave me an error.

Code: [Select]
./mozconfig: line 7: ac_add_options: not found
./mozconfig: line 12: ac_add_options: not found
./mozconfig: line 24: ac_add_options: not found
./mozconfig: line 28: ac_add_options: not found
./mozconfig: line 29: ac_add_options: not found
./mozconfig: line 30: ac_add_options: not found
./mozconfig: line 31: ac_add_options: not found
./mozconfig: line 32: ac_add_options: not found
./mozconfig: line 35: ac_add_options: not found
./mozconfig: line 36: ac_add_options: not found
./mozconfig: line 38: ac_add_options: not found
./mozconfig: line 39: ac_add_options: not found
./mozconfig: line 40: ac_add_options: not found
./mozconfig: line 42: ac_add_options: not found
./mozconfig: line 43: ac_add_options: not found
./mozconfig: line 44: ac_add_options: not found
./mozconfig: line 47: ac_add_options: not found
./mozconfig: line 55: ac_add_options: not found
./mozconfig: line 56: ac_add_options: not found
./mozconfig: line 57: ac_add_options: not found
./mozconfig: line 59: ac_add_options: not found
./mozconfig: line 61: ac_add_options: not found
./mozconfig: line 62: ac_add_options: not found
./mozconfig: line 63: ac_add_options: not found
./mozconfig: line 64: ac_add_options: not found

According to juanito it is looking for perl or python in /usr/bin instead of /usr/local/bin.

I'm not knowledgeable of perl or python language, what should I do next?
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 13, 2021, 07:15:05 AM
What does line 7 of your mozconfig contain?
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: TT on January 13, 2021, 07:44:10 AM
and made it executable inside the source folder
Why on earth would you want TO MAKE IT EXECUTABLE a CONFIG FILE ????!!!
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on January 13, 2021, 07:53:24 AM
Hi cute curtis
Maybe I missed it, but I did not see anything in those instructions indicating  mozconfig  should be executable.

I did see this (emphasis mine):
Quote
The configuration of SeaMonkey is accomplished by creating a mozconfig file containing the desired configuration options. A default mozconfig file is created below. To see the entire list of available configuration options (and an abbreviated description of each one), issue ./configure --help. You may also wish to review the entire file and uncomment any other desired options. Create the file by issuing the following command:

Code: [Select]
cat > mozconfig << "EOF"
# 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

 ----- Snip -----
It sounds like  ./configure  either creates a  mozconfig  file or uses it as a list of preferred options. I guessing the former.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 13, 2021, 10:28:46 AM
@Juanito

just copy/ pasted the default mozconfig text from the website

cat > mozconfig << "EOF"
1# If you have a multicore machine, all cores will be used by default.
2# If desired, you can reduce the number of cores used, e.g. to 1, by
3# uncommenting the next line and setting a valid number of CPU cores.
4#mk_add_options MOZ_MAKE_FLAGS="-j1"
5
6# If you have installed DBus-Glib comment out this line:
7ac_add_options --disable-dbus

@TT

I thought it is the alternative to configure.sh file when unavailable

@Rich

The Seamonkey source code has no configure.sh file available and I have to make one but I don't know how
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on January 13, 2021, 11:02:13 AM
Hi cute curtis
... The Seamonkey source code has no configure.sh file available and I have to make one but I don't know how
That is correct. The file is called  configure  without a  .sh  extension.

Copy and paste the text from the website into a file called  mozconfig.
Leave out the first and last lines (cat > mozconfig << "EOF"  and  EOF).
Then see what happens when you run:
Code: [Select]
./configure
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 13, 2021, 11:47:58 AM
Does it have special file format? I made both text (paper icon) and shell file (gear icon)

Code: [Select]
sh: ./configure: not found
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on January 13, 2021, 01:57:25 PM
Hi cute curtis
Code: [Select]
tce-load -wil compiletc autoconf2.13 gtk2-dev gtk3-dev python rust zip-unzip yasm-dev
wget https://archive.mozilla.org/pub/seamonkey/releases/2.53.5.1/source/seamonkey-2.53.5.1.source.tar.xz
tar xf seamonkey-2.53.5.1.source.tar.xz
cd seamonkey-2.53.5.1
# Place your  mozconfig  file here.
./configure
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 17, 2021, 09:21:33 PM
should I remove/delete first my Seamonkey 2.53.5.1 onboot extension?
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on January 17, 2021, 09:47:19 PM
Hi cute curtis
No need to delete it. Just remove it from your  onboot.lst  file if you're concerned it might interfere.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 18, 2021, 09:58:35 AM
same output no such file

Code: [Select]
[tc@box:~$ tce-load -il compiletc autoconf2.13 gtk2-dev gtk3-dev python rust zip-
unzip yasm-dev
autoconf2.13 is already installed!
python is already installed!
rust is already installed!
zip-unzip is already installed!
zlib_base-dev.tcz: OK
util-linux_base-dev.tcz: OK
linux-5.4_api_headers.tcz: OK
glibc_base-dev.tcz: OK
e2fsprogs_base-dev.tcz: OK
sed.tcz: OK
pkg-config.tcz: OK
patch.tcz: OK
make.tcz: OK
m4.tcz: OK
grep.tcz: OK
mpfr.tcz: OK
mpc.tcz: OK
flex.tcz: OK
binutils.tcz: OK
gcc_libs-dev.tcz: OK
gcc_base-dev.tcz: OK
gcc.tcz: OK
gawk.tcz: OK
findutils.tcz: OK
file.tcz: OK
diffutils.tcz: OK
bison.tcz: OK
compiletc.tcz: OK
bzip2.tcz: OK
bzip2-dev.tcz: OK
pcre.tcz: OK
pcre-dev.tcz: OK
ncursesw-dev.tcz: OK
libunistring-dev.tcz: OK
libidn2-dev.tcz: OK
libtasn1-dev.tcz: OK
libffi-dev.tcz: OK
p11-kit-dev.tcz: OK
gmp-dev.tcz: OK
nettle3-dev.tcz: OK
gnutls3.6-dev.tcz: OK
python3.6.tcz: OK
glib2-python.tcz: OK
glib2-dev.tcz: OK
expat2-dev.tcz: OK
dbus-dev.tcz: OK
nss-mdns.tcz: OK
libdaemon.tcz: OK
avahi.tcz: OK
avahi-dev.tcz: OK
qpdf.tcz: OK
openjpeg2.tcz: OK
nspr.tcz: OK
nss.tcz: OK
poppler07.tcz: OK
cups-filters.tcz: OK
libcups.tcz: OK
cups.tcz: OK
cups-dev.tcz: OK
fribidi-dev.tcz: OK
xtrans.tcz: OK
util-macros.tcz: OK
xorg-proto.tcz: OK
xcb-proto.tcz: OK
libXdmcp-dev.tcz: OK
libXau-dev.tcz: OK
libxcb-dev.tcz: OK
libX11-dev.tcz: OK
libXrender-dev.tcz: OK
libpng-bin.tcz: OK
libpng-dev.tcz: OK
freetype-dev.tcz: OK
fontconfig-dev.tcz: OK
libXft-dev.tcz: OK
graphite2-dev.tcz: OK
harfbuzz-dev.tcz: OK
liblz4.tcz: OK
liblz4-dev.tcz: OK
liblzma-dev.tcz: OK
zstd.tcz: OK
zstd-dev.tcz: OK
elfutils-dev.tcz: OK
libxshmfence-dev.tcz: OK
udev-dev.tcz: OK
libdrm-dev.tcz: OK
libGL-dev.tcz: OK
libGLESv2-dev.tcz: OK
libXext-dev.tcz: OK
libvdpau-dev.tcz: OK
readline-dev.tcz: OK
libxml2-python.tcz: OK
libxml2-bin.tcz: OK
libxml2-dev.tcz: OK
llvm-bin.tcz: OK
llvm-dev.tcz: OK
pixman-dev.tcz: OK
openssl-1.1.1-dev.tcz: OK
libepoxy-dev.tcz: OK
libfontenc-dev.tcz: OK
libXfont2-dev.tcz: OK
libEGL-dev.tcz: OK
xorg-server-dev.tcz: OK
xbitmaps.tcz: OK
libxkbfile-dev.tcz: OK
libpciaccess-dev.tcz: OK
libXxf86vm-dev.tcz: OK
libXxf86dga-dev.tcz: OK
libXv-dev.tcz: OK
libXvmc-dev.tcz: OK
libXi-dev.tcz: OK
libXtst-dev.tcz: OK
libXss-dev.tcz: OK
libXres-dev.tcz: OK
libXrandr-dev.tcz: OK
libXinerama-dev.tcz: OK
libXfixes-dev.tcz: OK
libXdamage-dev.tcz: OK
libXcursor-dev.tcz: OK
libXcomposite-dev.tcz: OK
libXpm-dev.tcz: OK
libSM-dev.tcz: OK
libICE-dev.tcz: OK
libXt-dev.tcz: OK
libXmu-dev.tcz: OK
libXaw-dev.tcz: OK
libFS-dev.tcz: OK
makedepend.tcz: OK
Xorg-7.7-dev.tcz: OK
Xorg-7.7-3d-dev.tcz: OK
cairo-dev.tcz: OK
pango-dev.tcz: OK
libjpeg-turbo-dev.tcz: OK
libtiff-dev.tcz: OK
gdk-pixbuf2-dev.tcz: OK
atk-dev.tcz: OK
gtk2-dev.tcz: OK
libogg-dev.tcz: OK
libvorbis-dev.tcz: OK
libtool.tcz: OK
libtool-dev.tcz: OK
libcanberra.tcz: OK
libcanberra-dev.tcz: OK
json-glib.tcz: OK
json-glib-dev.tcz: OK
at-spi2-core.tcz: OK
at-spi2-core-dev.tcz: OK
at-spi2-atk.tcz: OK
at-spi2-atk-dev.tcz: OK
gtk3.tcz: OK
gtk3-dev.tcz: OK
yasm-dev.tcz: OK
tc@box:~$ cd /home/tc/tmp
tc@box:~/tmp$ cd seamonkey
tc@box:~/tmp/seamonkey$ ./configure
sh: ./configure: not found
tc@box:~/tmp/seamonkey$ ls -l
total 155252
-rwxr-xr-x    1 tc       staff          825 Jan  5 02:36 Throbber-small.gif
-rwxr-xr-x    1 tc       staff          634 Jan  5 02:36 application.ini
-rwxr-xr-x    1 tc       staff       262557 Jan  5 02:36 blocklist.xml
drwxr-sr-x    3 tc       staff         4096 Jan 14 03:48 chrome/
-rwxr-xr-x    1 tc       staff            0 Jan  5 02:36 chrome.manifest
-rwxr-xr-x    1 tc       staff       301836 Jan  5 02:36 crashreporter
-rwxr-xr-x    1 tc       staff          787 Jan  5 02:36 crashreporter-override.ini
-rwxr-xr-x    1 tc       staff         4003 Jan  5 02:36 crashreporter.ini
drwxr-sr-x    5 tc       staff         4096 Jan 14 03:48 defaults/
-rwxr-xr-x    1 tc       staff          198 Jan  5 02:36 dependentlibs.list
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 dictionaries/
drwxr-sr-x    3 tc       staff         4096 Jan 14 03:48 distribution/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 extensions/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 fonts/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 gtk2/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 icons/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 isp/
-rwxr-xr-x    1 tc       staff       488980 Jan  5 02:36 libfreeblpriv3.so
-rwxr-xr-x    1 tc       staff       223916 Jan  5 02:36 libldap60.so
-rwxr-xr-x    1 tc       staff         9604 Jan  5 02:36 libldif60.so
-rwxr-xr-x    1 tc       staff        42540 Jan  5 02:36 liblgpllibs.so
-rwxr-xr-x    1 tc       staff       178296 Jan  5 02:36 libmozavcodec.so
-rwxr-xr-x    1 tc       staff       223400 Jan  5 02:36 libmozavutil.so
-rwxr-xr-x    1 tc       staff         5372 Jan  5 02:36 libmozgtk.so
-rwxr-xr-x    1 tc       staff       194752 Jan  5 02:36 libmozsandbox.so
-rwxr-xr-x    1 tc       staff       973836 Jan  5 02:36 libmozsqlite3.so
-rwxr-xr-x    1 tc       staff       241600 Jan  5 02:36 libnspr4.so
-rwxr-xr-x    1 tc       staff       664996 Jan  5 02:36 libnss3.so
-rwxr-xr-x    1 tc       staff       409704 Jan  5 02:36 libnssckbi.so
-rwxr-xr-x    1 tc       staff       145300 Jan  5 02:36 libnssdbm3.so
-rwxr-xr-x    1 tc       staff       166028 Jan  5 02:36 libnssutil3.so
-rwxr-xr-x    1 tc       staff        17976 Jan  5 02:36 libplc4.so
-rwxr-xr-x    1 tc       staff        13848 Jan  5 02:36 libplds4.so
-rwxr-xr-x    1 tc       staff        22144 Jan  5 02:36 libprldap60.so
-rwxr-xr-x    1 tc       staff       154480 Jan  5 02:36 libsmime3.so
-rwxr-xr-x    1 tc       staff       315056 Jan  5 02:36 libsoftokn3.so
-rwxr-xr-x    1 tc       staff       388272 Jan  5 02:36 libssl3.so
-rwxr-xr-x    1 tc       staff    102846052 Jan  5 02:36 libxul.so
-rwxr-xr-x    1 tc       staff        16726 Jan  5 02:36 license.txt
-rwxr-xr-x    1 tc       staff       944632 Jan  5 02:36 minidump-analyzer
-rw-r--r--    1 tc       staff         2345 Jan 14 03:51 mozconfig
-rwxr-xr-x    1 tc       staff     48334730 Jan  5 02:36 omni.ja
-rwxr-xr-x    1 tc       staff       309316 Jan  5 02:36 pingsender
-rwxr-xr-x    1 tc       staff          152 Jan  5 02:36 platform.ini
-rwxr-xr-x    1 tc       staff       292972 Jan  5 02:36 plugin-container
-rwxr-xr-x    1 tc       staff         4286 Jan  5 02:36 precomplete
-rwxr-xr-x    1 tc       staff        33981 Jan  5 02:36 removed-files
-rwxr-xr-x    1 tc       staff         8782 Jan  5 02:36 run-mozilla.sh
-rwxr-xr-x    1 tc       staff       227320 Jan  5 02:36 seamonkey
-rwxr-xr-x    1 tc       staff       227320 Jan  5 02:36 seamonkey-bin
-rwxr-xr-x    1 tc       staff          131 Jan  5 02:36 update-settings.ini
-rwxr-xr-x    1 tc       staff       140304 Jan  5 02:36 updater
-rwxr-xr-x    1 tc       staff          347 Jan  5 02:36 updater.ini
tc@box:~/tmp/seamonkey$ ./configure
sh: ./configure: not found
/code]
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 18, 2021, 10:05:02 AM
Did you look at the Firefox-ESR build notes - configure is not used.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on January 18, 2021, 10:29:11 AM
Hi cute curtis
same output no such file ...
Code: [Select]
----- Snip -----
tc@box:~/tmp/seamonkey$ ls -l
total 155252
-rwxr-xr-x    1 tc       staff          825 Jan  5 02:36 Throbber-small.gif
-rwxr-xr-x    1 tc       staff          634 Jan  5 02:36 application.ini
-rwxr-xr-x    1 tc       staff       262557 Jan  5 02:36 blocklist.xml
drwxr-sr-x    3 tc       staff         4096 Jan 14 03:48 chrome/
-rwxr-xr-x    1 tc       staff            0 Jan  5 02:36 chrome.manifest
-rwxr-xr-x    1 tc       staff       301836 Jan  5 02:36 crashreporter
-rwxr-xr-x    1 tc       staff          787 Jan  5 02:36 crashreporter-override.ini
-rwxr-xr-x    1 tc       staff         4003 Jan  5 02:36 crashreporter.ini
drwxr-sr-x    5 tc       staff         4096 Jan 14 03:48 defaults/
-rwxr-xr-x    1 tc       staff          198 Jan  5 02:36 dependentlibs.list
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 dictionaries/
drwxr-sr-x    3 tc       staff         4096 Jan 14 03:48 distribution/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 extensions/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 fonts/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 gtk2/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 icons/
drwxr-sr-x    2 tc       staff         4096 Jan 14 03:48 isp/
-rwxr-xr-x    1 tc       staff       488980 Jan  5 02:36 libfreeblpriv3.so
-rwxr-xr-x    1 tc       staff       223916 Jan  5 02:36 libldap60.so
-rwxr-xr-x    1 tc       staff         9604 Jan  5 02:36 libldif60.so
-rwxr-xr-x    1 tc       staff        42540 Jan  5 02:36 liblgpllibs.so
-rwxr-xr-x    1 tc       staff       178296 Jan  5 02:36 libmozavcodec.so
-rwxr-xr-x    1 tc       staff       223400 Jan  5 02:36 libmozavutil.so
-rwxr-xr-x    1 tc       staff         5372 Jan  5 02:36 libmozgtk.so
-rwxr-xr-x    1 tc       staff       194752 Jan  5 02:36 libmozsandbox.so
-rwxr-xr-x    1 tc       staff       973836 Jan  5 02:36 libmozsqlite3.so
-rwxr-xr-x    1 tc       staff       241600 Jan  5 02:36 libnspr4.so
-rwxr-xr-x    1 tc       staff       664996 Jan  5 02:36 libnss3.so
-rwxr-xr-x    1 tc       staff       409704 Jan  5 02:36 libnssckbi.so
-rwxr-xr-x    1 tc       staff       145300 Jan  5 02:36 libnssdbm3.so
-rwxr-xr-x    1 tc       staff       166028 Jan  5 02:36 libnssutil3.so
-rwxr-xr-x    1 tc       staff        17976 Jan  5 02:36 libplc4.so
-rwxr-xr-x    1 tc       staff        13848 Jan  5 02:36 libplds4.so
-rwxr-xr-x    1 tc       staff        22144 Jan  5 02:36 libprldap60.so
-rwxr-xr-x    1 tc       staff       154480 Jan  5 02:36 libsmime3.so
-rwxr-xr-x    1 tc       staff       315056 Jan  5 02:36 libsoftokn3.so
-rwxr-xr-x    1 tc       staff       388272 Jan  5 02:36 libssl3.so
-rwxr-xr-x    1 tc       staff    102846052 Jan  5 02:36 libxul.so
-rwxr-xr-x    1 tc       staff        16726 Jan  5 02:36 license.txt
-rwxr-xr-x    1 tc       staff       944632 Jan  5 02:36 minidump-analyzer
-rw-r--r--    1 tc       staff         2345 Jan 14 03:51 mozconfig
-rwxr-xr-x    1 tc       staff     48334730 Jan  5 02:36 omni.ja
-rwxr-xr-x    1 tc       staff       309316 Jan  5 02:36 pingsender
-rwxr-xr-x    1 tc       staff          152 Jan  5 02:36 platform.ini
-rwxr-xr-x    1 tc       staff       292972 Jan  5 02:36 plugin-container
-rwxr-xr-x    1 tc       staff         4286 Jan  5 02:36 precomplete
-rwxr-xr-x    1 tc       staff        33981 Jan  5 02:36 removed-files
-rwxr-xr-x    1 tc       staff         8782 Jan  5 02:36 run-mozilla.sh
-rwxr-xr-x    1 tc       staff       227320 Jan  5 02:36 seamonkey
-rwxr-xr-x    1 tc       staff       227320 Jan  5 02:36 seamonkey-bin
-rwxr-xr-x    1 tc       staff          131 Jan  5 02:36 update-settings.ini
-rwxr-xr-x    1 tc       staff       140304 Jan  5 02:36 updater
-rwxr-xr-x    1 tc       staff          347 Jan  5 02:36 updater.ini
tc@box:~/tmp/seamonkey$ ./configure
sh: ./configure: not found
Of course you won't find  configure  in there. That listing is not for the source code package, it's for a compiled version
of Seamonkey.

From your original post:
... I have already found the process http://www.linuxfromscratch.org/blfs/view/svn/xsoft/seamonkey.html (http://www.linuxfromscratch.org/blfs/view/svn/xsoft/seamonkey.html) ...
There is a link to the source package (seamonkey-2.53.5.1.source.tar.xz) provided by the page you linked to. That
package does contain a  configure  script.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 18, 2021, 12:45:14 PM
Yes, my bad I was confused with default download build archive against the source archive  :'(

I got ERROR: Cannot find project suite
http://forums.mozillazine.org/viewtopic.php?f=40&t=3029867 (http://forums.mozillazine.org/viewtopic.php?f=40&t=3029867)

Code: [Select]
tc@box:~$ cd /home/tc/tmp/seamonkey-2.53.5.1
tc@box:~/tmp/seamonkey-2.53.5.1$ ./configure
Creating Python environment
New python executable in /home/tc/tmp/seamonkey-2.53.5.1/_virtualenv/bin/python2         .7
Also creating executable in /home/tc/tmp/seamonkey-2.53.5.1/_virtualenv/bin/pyth         on
Installing setuptools, pip, wheel...done.
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/psutil
gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -pthread -fno-st         rict-aliasing -DNDEBUG -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL         _VERSION=543 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/local/incl         ude/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-i686-2.7/psutil/_ps         util_common.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1

Error processing command. Ignoring because optional. (optional:setup.py:third_pa         rty/python/psutil:build_ext:--inplace)
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
tc@box:~/tmp/seamonkey-2.53.5.1$ tce-load -il compiletc autoconf2.13 gtk2-dev gt
autoconf2.13 is already installed!
zlib_base-dev.tcz: OK
util-linux_base-dev.tcz: OK
linux-5.4_api_headers.tcz: OK
glibc_base-dev.tcz: OK
e2fsprogs_base-dev.tcz: OK
sed.tcz: OK
pkg-config.tcz: OK
patch.tcz: OK
make.tcz: OK
m4.tcz: OK
grep.tcz: OK
mpfr.tcz: OK
mpc.tcz: OK
flex.tcz: OK
binutils.tcz: OK
gcc_libs-dev.tcz: OK
gcc_base-dev.tcz: OK
gcc.tcz: OK
gawk.tcz: OK
findutils.tcz: OK
file.tcz: OK
diffutils.tcz: OK
bison.tcz: OK
compiletc.tcz: OK
bzip2.tcz: OK
bzip2-dev.tcz: OK
pcre-dev.tcz: OK
ncursesw-dev.tcz: OK
libunistring-dev.tcz: OK
libidn2-dev.tcz: OK
libtasn1-dev.tcz: OK
libffi-dev.tcz: OK
p11-kit-dev.tcz: OK
gmp-dev.tcz: OK
nettle3-dev.tcz: OK
gnutls3.6-dev.tcz: OK
python3.6.tcz: OK
glib2-python.tcz: OK
glib2-dev.tcz: OK
expat2-dev.tcz: OK
dbus-dev.tcz: OK
nss-mdns.tcz: OK
libdaemon.tcz: OK
avahi.tcz: OK
avahi-dev.tcz: OK
qpdf.tcz: OK
openjpeg2.tcz: OK
poppler07.tcz: OK
cups-filters.tcz: OK
cups.tcz: OK
cups-dev.tcz: OK
fribidi-dev.tcz: OK
xtrans.tcz: OK
util-macros.tcz: OK
xorg-proto.tcz: OK
xcb-proto.tcz: OK
libXdmcp-dev.tcz: OK
libXau-dev.tcz: OK
libxcb-dev.tcz: OK
libX11-dev.tcz: OK
libXrender-dev.tcz: OK
libpng-bin.tcz: OK
libpng-dev.tcz: OK
freetype-dev.tcz: OK
fontconfig-dev.tcz: OK
libXft-dev.tcz: OK
graphite2-dev.tcz: OK
harfbuzz-dev.tcz: OK
liblz4.tcz: OK
liblz4-dev.tcz: OK
liblzma-dev.tcz: OK
zstd.tcz: OK
zstd-dev.tcz: OK
elfutils-dev.tcz: OK
libxshmfence-dev.tcz: OK
udev-dev.tcz: OK
libdrm-dev.tcz: OK
libGL-dev.tcz: OK
libGLESv2-dev.tcz: OK
libXext-dev.tcz: OK
libvdpau-dev.tcz: OK
readline-dev.tcz: OK
libxml2-python.tcz: OK
libxml2-bin.tcz: OK
libxml2-dev.tcz: OK
llvm-bin.tcz: OK
llvm-dev.tcz: OK
pixman-dev.tcz: OK
openssl-1.1.1-dev.tcz: OK
libepoxy-dev.tcz: OK
libfontenc-dev.tcz: OK
libXfont2-dev.tcz: OK
libEGL-dev.tcz: OK
xorg-server-dev.tcz: OK
xbitmaps.tcz: OK
libxkbfile-dev.tcz: OK
libpciaccess-dev.tcz: OK
libXxf86vm-dev.tcz: OK
libXxf86dga-dev.tcz: OK
libXv-dev.tcz: OK
libXvmc-dev.tcz: OK
libXi-dev.tcz: OK
libXtst-dev.tcz: OK
libXss-dev.tcz: OK
libXres-dev.tcz: OK
libXrandr-dev.tcz: OK
libXinerama-dev.tcz: OK
libXfixes-dev.tcz: OK
libXdamage-dev.tcz: OK
libXcursor-dev.tcz: OK
libXcomposite-dev.tcz: OK
libXpm-dev.tcz: OK
libSM-dev.tcz: OK
libICE-dev.tcz: OK
libXt-dev.tcz: OK
libXmu-dev.tcz: OK
libXaw-dev.tcz: OK
libFS-dev.tcz: OK
makedepend.tcz: OK
Xorg-7.7-dev.tcz: OK
Xorg-7.7-3d-dev.tcz: OK
cairo-dev.tcz: OK
pango-dev.tcz: OK
libjpeg-turbo-dev.tcz: OK
libtiff-dev.tcz: OK
gdk-pixbuf2-dev.tcz: OK
atk-dev.tcz: OK
gtk2-dev.tcz: OK
gt.tcz not found!
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
tc@box:~/tmp/seamonkey-2.53.5.1$ pwd
/home/tc/tmp/seamonkey-2.53.5.1
tc@box:~/tmp/seamonkey-2.53.5.1$ ./home/tc/tmp/configure
sh: ./home/tc/tmp/configure: not found
tc@box:~/tmp/seamonkey-2.53.5.1$ cd /
tc@box:/$ cd home/tc
tc@box:~$ cd tmp
tc@box:~/tmp$ ls
loader                            seamonkey-2.49.tar.gz.bfe
seamonkey-2.49/                   seamonkey-2.53.5.1/
seamonkey-2.49.tar.gz             seamonkey-2.53.5.1.source.tar.xz
tc@box:~/tmp$ cd seamonkey-2.53.5.1
tc@box:~/tmp/seamonkey-2.53.5.1$ ls
AUTHORS          client.mk        db/              mozconfig
LICENSE          client.py        editor/          mozilla/
_virtualenv/     config/          ldap/            other-licenses/
aclocal.m4       config.log       mail/            sourcestamp.txt
build/           configure        mailnews/        suite/
calendar/        configure.in     moz.build        testing/
chat/            configure.py     moz.configure
tc@box:~/tmp/seamonkey-2.53.5.1$ pwd
/home/tc/tmp/seamonkey-2.53.5.1
tc@box:~/tmp/seamonkey-2.53.5.1$ ./~/tmp/seamonkey-2.53.5.1/configure
sh: ./~/tmp/seamonkey-2.53.5.1/configure: not found
tc@box:~/tmp/seamonkey-2.53.5.1$ ./home/tc/tmp/seamonkey-2.53.5.1/configure
sh: ./home/tc/tmp/seamonkey-2.53.5.1/configure: not found
tc@box:~/tmp/seamonkey-2.53.5.1$ ./configure --prefix=/usr/local
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
tc@box:~/tmp/seamonkey-2.53.5.1$ ls
AUTHORS          client.mk        db/              mozconfig
LICENSE          client.py        editor/          mozilla/
_virtualenv/     config/          ldap/            other-licenses/
aclocal.m4       config.log       mail/            sourcestamp.txt
build/           configure        mailnews/        suite/
calendar/        configure.in     moz.build        testing/
chat/            configure.py     moz.configure

When I will execute the export command?
Code: [Select]
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"

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.


when shall I compile before or after the ./configure?
Code: [Select]
Compile SeaMonkey by running the following commands:
CC=gcc CXX=g++ make -f client.mk
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 20, 2021, 08:05:10 AM
Any hope to compile this source code?  :'(
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 20, 2021, 08:21:56 AM
Follow the instructions here: http://www.linuxfromscratch.org/blfs/view/svn/xsoft/seamonkey.html
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 20, 2021, 12: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 (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)
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on January 20, 2021, 02:19:58 PM
Hi cute curtis
... How to invoke ./configure from absolute path? ...
Code: [Select]
/home/tc/tmp/seamonkey-2.53.5.1/configure
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 22, 2021, 02: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

Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 22, 2021, 02: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
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 22, 2021, 06: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?
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 22, 2021, 06: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.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 26, 2021, 01: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
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 27, 2021, 12:56:52 AM
tc-11.x x86 has nspr-4.18
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 27, 2021, 12:42:44 PM
where can I get higher than 4.25?
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 27, 2021, 01:09:44 PM
If you can wait a few days, I’ll update it.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 29, 2021, 12:59:42 AM
nspr/nss updated
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 29, 2021, 11:41:05 AM
nspr/nss updated

Thanks
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on January 31, 2021, 10:10:53 AM
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.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on January 31, 2021, 10:54:44 AM
You should use check for updates in the apps gui - you can also check the pkg-config file in nspr-dev
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on January 31, 2021, 11:36:11 AM
Hi cute curtis
Or you can update your system like this:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update

Then click the  Exit  icon and select reboot.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on February 08, 2021, 03:06:06 PM
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@forum.tinycorelinux.net to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on February 08, 2021, 03:11:48 PM
kindly see attachment, thanks
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on February 08, 2021, 04:51:52 PM
Hi cute curtis
I think you need  libevent-dev.tcz.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on February 12, 2021, 08:48:20 PM
Kindly see attached file. Why am I always getting internals server error when pasting code?
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on February 12, 2021, 09:28:15 PM
Hi cute curtis
Code: [Select]
DEBUG: configure:10096:23: error: #error "Insufficient libpng version (10635 required)."Looks like the current version of libpng isn't high enough.
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Juanito on February 13, 2021, 03:26:24 AM
updated libpng posted
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: cute curtis on February 17, 2021, 07:43:40 PM
Code: [Select]
DEBUG: configure: error: pulseaudio audio backend requires libpulse development package
ERROR: old-configure failed

Quote
Required

Autoconf-2.13, both GTK+-2.24.33 and GTK+-3.24.25, Python-2.7.18, rustc-1.47.0, UnZip-6.0, yasm-1.3.0, and Zip-3.0
Recommended

ICU-68.2, libevent-2.1.12, libwebp-1.2.0 NASM-2.15.05, NSPR-4.29, NSS-3.61, and PulseAudio-14.2
Title: Re: Seamonkey 2.53.5.1 from scratch
Post by: Rich on February 17, 2021, 08:07:49 PM
Hi cute curtis
Maybe you need  pulseaudio-dev.tcz.