1
Programming / Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 23, 2022, 02:33:13 am »
Hi,
I'm opting to create a new topic (as opposed to posting to the old thread "how to build SeaMonkey" as it's 5 years down the road and I think some things have changed somewhat.
Anyway, I think I have everything I need to build SeaMonkey 2.49.x (minus my memory of building it when it was released some time ago).
Code setup is the following:
Main root dir is d:/work52.
Comm-esr52 is in d:/work52/build [using SEAMONKEY_2_49_RELBRANCH]
Mozilla-esr52 is in d:/work52/build/mozilla [using SEAMONKEY_2_49_RELBRANCH]
OBJDIR should be in d:/work52/objdir
I have this in my "moz_os2_env.txt":
Here's my .mozconfig:
here is what I did:
1) cd d:/work52/build
2) make -f client.mk [also tried python2.7 mozilla/mach build]
Got the following:
I am guessing my confusion (again) is with what type of path to use.
So I changed the "d:/work52" to "/work52" and tried again. Similar result.
From my initial check, that MOZ_PGO comes from client.mk's line.
Setting MOZ_PGO=0 in the .mozconfig makes no difference. I still get this error.
I'm thinking it might be something related to that "$(shell MOZ_PGO=..." part. Though I don't know why.
Any help appreciated.
Edmund
I'm opting to create a new topic (as opposed to posting to the old thread "how to build SeaMonkey" as it's 5 years down the road and I think some things have changed somewhat.
Anyway, I think I have everything I need to build SeaMonkey 2.49.x (minus my memory of building it when it was released some time ago).
Code setup is the following:
Main root dir is d:/work52.
Comm-esr52 is in d:/work52/build [using SEAMONKEY_2_49_RELBRANCH]
Mozilla-esr52 is in d:/work52/build/mozilla [using SEAMONKEY_2_49_RELBRANCH]
OBJDIR should be in d:/work52/objdir
I have this in my "moz_os2_env.txt":
Code: [Select]
set SHELL=sh.exe
set EMXSHELL=sh.exe
set CONFIG_SHELL=sh.exe
set MAKESHELL=SH.EXE
set EXECSHELL=SH.EXE
set LANG=en_US
set MOZOCONFIG=d:/work52/build/.mozconfig
set AUTOCONF=/usr/bin/autconf213
set YASM=nasm
set LIBJPEG_TURBO_AS=nasm
set RANLIB=echo
set LIBS=-lcx -lkai
set EMXOMFLD_RC_TYPE=WRC
set EMXOMFLD_RC=wrc.exe
set TEMP=d:\temp
set TMP=d:\temp
set TMPDIR=d:\temp
Here's my .mozconfig:
Code: [Select]
mk_add_options MOZ_OBJDIR=d:/work52/objdir
mk_add_options MOZ_BUILD_PROJECT=suite
# mk_add_options MOZ_CO_PROJECT=suite
# mk_add_options MOZ_PGO=0
mk_add_options MOZ_MAKE_FLAGS="-j2"
ac_add_options --enable-application=suite
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --disable-debug
here is what I did:
1) cd d:/work52/build
2) make -f client.mk [also tried python2.7 mozilla/mach build]
Got the following:
Code: [Select]
# make -f client.mk
echo 0
SYS1041: The name MOZ_PGO is not recognized as an internal or external command, operable program or batch file.
SYS0003: The system cannot find the path specified.
client.mk:204: d:/work52/objdir/.mozconfig.mk: No such file or directory
mkdir -p 'd:/work52/objdir/'
SYS1003: The syntax of the command is incorrect.
make: *** [d:/work52/objdir/.mkdir.done] Error 1
I am guessing my confusion (again) is with what type of path to use.
So I changed the "d:/work52" to "/work52" and tried again. Similar result.
Code: [Select]
# make -f client.mk
SYS1041: The name MOZ_PGO is not recognized as an internal or external command, operable program or batch file.
SYS0003: The system cannot find the path specified.
client.mk:204: /work52/objdir/.mozconfig.mk: No such file or directory
mkdir -p '/work52/objdir/'
SYS1003: The syntax of the command is incorrect.
make: *** [/work52/objdir/.mkdir.done] Error 1
From my initial check, that MOZ_PGO comes from client.mk's line.
Code: [Select]
# Also, make MOZ_PGO available to mozconfig when passed on make command line.
MOZCONFIG_CONTENT := $(subst ||,$(CR),$(subst || ,$(CR),$(shell MOZ_PGO=$(MOZ_PGO) $(TOPSRCDIR)/$(MOZCONFIG_LOADER) $(TOPSRCDIR) | sed 's/$$/||/')))
$(eval $(MOZCONFIG_CONTENT))
Setting MOZ_PGO=0 in the .mozconfig makes no difference. I still get this error.
I'm thinking it might be something related to that "$(shell MOZ_PGO=..." part. Though I don't know why.
Any help appreciated.
Edmund