Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Edmund Wong

Pages: [1] 2 3
1
Hardware / Re: The last nail in OS/2's coffin
« on: March 21, 2024, 06:47:39 am »
Hi All

I have to join in to say that I have been looking for a replacement OS since IBM announced OS/2's demise in 2000(?) and have not found anything that I am as happy to use.

The main problem I am currently bumping into is the same as everyone else: We do not have a capable browser. Seamonkey (and, I guess, Firefox) no longer work very well - if at all - on a lot of websites; Doodle (qt5) is simply too flaky to use due to crashes and system hangs.

Thanks to all who have kept OS/2 alive to date.


Regards

Pete

It's not just the OS/2 version of SeaMonkey is having issues with websites.  The windows version (2.53.18.x) is becoming a continual chore as websites no longer work properly.     

I don't know much about all this hardware talk(I'm only a user); but I'm guessing it'd take a huge dev group to 'modernize' OS/2.  Having a 64bit OS/2 system would be nice; but since from what I'm seeing in this thread,  the number of people that can actually do that is slowly decreasing by the year.  Am I right?   Is it possible to even modernize the OS/2 code or does it require a rewrite? 

Ed





2
General Discussion / Re: Team OS/2
« on: March 21, 2024, 05:55:01 am »
Hello Edmund

Here I have this wiki page where I tried list the different online community that are active now according to the technology they use to communicate:
- https://www.os2world.com/wiki/index.php?title=Where_is_the_OS/2_Community%3F_Where_is_the_action%3F

Regards

Hi Martin,

Thanks for the links.  I did join the facebook groups and will try the libera.chat groups.

Ed

3
General Discussion / Team OS/2
« on: March 01, 2024, 02:14:05 am »
Hi,

Just a quick question.  Does Team OS/2  (I guess as a concept or as an actual group) still exist?   I remember sometime ago "joining"  this group (my memory is very hazy on this) thanks to a local (then) fidonet sysop.

Thanks for any clarifications.

Ed

4
Utilities / Re: vncserver setup
« on: March 01, 2024, 02:07:49 am »
Hi again,

I just rebooted my system.   Looks like it required a reboot. 

Sorry for the noise.  I don't know if anyone else has this issue, but when running different operating systems,  it takes a long time for me to context-switch in how to operate them.  Had I went directly from my old OS/2 Warp system to ArcaOS,  I wouldn't have had so much problem.   Unfortunately, between not using my OS/2 Warp system to using ArcaOS,  a lot of time has past and have used both MacMinis and Windows,  it's jarring. 

Thanks for the help, everyone.

Ed

5
Utilities / Re: vncserver setup
« on: March 01, 2024, 01:51:41 am »
Hello

Which OS/2 version are you using?

Like Neil said, VNC requires some extra DLLs, the easy way will be to install those are with ANPM.
- https://repos.arcanoae.com/anpm/anpm_1_1_0_2.exe

FYI: When it runs, the VNC Server will show a little icon on the XCenter for you to manage it. (Picture attached).

Quote
1. You need RPM/YUM. Type command:

       yum install libc libgcc1 openssl zlib pthread libjpeg libpng

   or use Arca Noae Package Manager to install these packages.

2. It is recommended to use Extended System Tray Widget (by Dmik) for
   eCenter/XCenter with VNC Server:

       ftp://ftp.netlabs.org/pub/qt4/xsystray/xsystray-0_1_1.wpi

   or System Tray Widget ver. 0.3 (by ErOs2).

3. Install vnc.wpi WarpIn package. After installation, the folder "VNC" will
   appear on the desktop. If component VNC Viewer was selected, the VNC Viewer
   template appears in the list of system templates.

Regards

Hi,  I followed the instructions as mentioned in the readme.  I had installed all those packages..  I even
installed XCenter.  But I think I need to reboot my system as now nothing seem to be running. 

will report when I unhork the desktop.

Thanks

Ed

6
Utilities / vncserver setup
« on: February 29, 2024, 10:48:32 am »
Hi,

I was looking for a vncserver for os2 and came across http://os2.snc.ru/product-VNC.html.

I installed the wpi file and installed it.  I have the vncserver and vncviewer.  I tried running vncserver but
nothing happened.  I tried "vncserver -s properties-open"   and it stated that the vnc server wasn't running.

Might anyone have any pointers in getting this running?

Thanks

Ed

7
Programming / Re: Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 28, 2022, 10:38:58 am »
Hi Edmund, yes 52ESR has a different build system. It is master in my Mozilla repo and you need to check out 45ESR or such, check the branches.
Dmitriy merged in 52.4 IIRC so basically the 45ESR patches are merged in but there were lots of changes. I managed to patch the old.configure.in's and configure.py's enough to start compiling, they need work such as sound support and short DLL names (or just change the long dll names), DLL's have to be in 8.3 format.
For SeaMonkey, there is only the 45ESR (and older) in the repo. Getting Firefox 52ESR to build should be the next step after building SeaMonkey. I guess I need to revisit applying the patches for Comm-central.

I apologize for being so confused.   I took a look at the version.txt in both comm and mozilla/browser/config and
noticed that they were indeed based on 52esr.  (2.49.9esr and 52.4.x respectively).

sh mozilla\mach build outputs :

Code: [Select]
0:05.62 C:/USR/BIN/make.EXE -f client.mk MOZ_PARALLEL_BUILD=2 -s configure
 0:05.78 test
 0:05.88 echo
 0:06.84 cd d:/work52/objdir
 0:06.84 D:/work52/build/configure
Configure complete!
Be sure to run |mach build| to pick up any changes
 0:07.03 C:/USR/BIN/make.EXE -f client.mk MOZ_PARALLEL_BUILD=2 -s
 0:07.14 test
 0:07.26 echo
 0:08.05 Adding client.mk options from /work52/build/.mozconfig:
 0:08.05     MOZ_OBJDIR=d:/work52/objdir
 0:08.05     MOZ_CO_PROJECT=suite
 0:08.05     MOZ_MAKE_FLAGS=-j2
 0:08.05     FOUND_MOZCONFIG := /work52/build/.mozconfig
 0:08.09 test
 0:08.22 echo
 0:09.05 cd d:/work52/objdir
 0:09.05 D:/work52/build/configure
 0:09.09 make.EXE[1]: *** No targets.  Stop.
 0:09.09 make.EXE: *** [build] Error 2
 0:09.09 0 compiler warnings present.

So I should use "mozilla\mach build"; but I get:

Code: [Select]
[D:\work52\build]mozilla\mach build
SYS1041: The name mozilla\mach is not recognized as an
internal or external command, operable program or batch file.

Looking at the mozilla\mach code, it does make sense to use "sh mozilla\mach build".

Quote
As for ilink, it is the IBM linker, IBM released it, and licensed it, for building Mozilla. Around Firefox 4-10 debug xul.dll became too big for ilink to link so we switched to wlink (wl.exe), which we have the source and a maintainer. Wlink also needed fixing to link xul. For a while, needed the whole address space to link.

How do I get the build process to use wl instead of ilink?   

Thanks

Edmund

8
Programming / Re: Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 28, 2022, 06:07:47 am »
There were mentions of ilink in your message and have come across the fact that I don't have it on my system.

I have installed the OS2tk45 packages; but no ilink.exe. 

I did a "yum whatprovides ilink"  but got nothing. 

Any help appreciated.

Thanks

Edmund


9
Programming / Re: Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 28, 2022, 05:52:28 am »
45 ESR configure doesn't use Python, and mach is ran as sh mach, it will find Python2. I haven't built on my partition with Python3 for quite a while, there was a crash in the resources wrapper but mach would then succeed and then recrash while exiting. Getting resources doesn't work anyways.


I think this and a previous note finally clued into what I might be doing wrong.   I thought I was building ESR52. 

Sorry for being stupid.   Now, it's finally doing the configuring.

So to build ESR52, I need to merge the actual ESR52 repos with the current one I have?

Thanks

Edmund

10
Programming / Re: Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 28, 2022, 02:17:44 am »
Feeling somehow that I'm screwing up the environment, I closed all my command prompts
and re-ran moz_os2_env.cmd.

Then in the command prompt (not sh.exe), I ran "make -f client.mk" and got somewhere.

Code: [Select]
echo
Adding client.mk options from /work52/build2/.mozconfig:
    MOZ_OBJDIR=d:/work52/objdir
    MOZ_CO_PROJECT=suite
    MOZ_MAKE_FLAGS=-j2
    FOUND_MOZCONFIG := /work52/build2/.mozconfig
echo
make[1]: Entering directory `D:/work52/build2'
cd d:/work52/objdir
D:/work52/build2/configure
D:/work52/build2/configure: 26: D:/work52/build2/configure: which: not found
D:/work52/build2/configure.py:7: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
Traceback (most recent call last):
  File "D:/work52/build2/configure.py", line 14, in <module>
    from mozbuild.configure import ConfigureSandbox
  File "D:/work52/build2/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 31, in <module>
    from mozbuild.util import (
  File "D:/work52/build2/mozilla/python/mozbuild/mozbuild/util.py", line 155
    except OSError, error:
                  ^
SyntaxError: invalid syntax
*** Fix above errors and then restart with\
               "make -f client.mk build"
make[1]: *** [configure] Error 1
make[1]: Leaving directory `D:/work52/build2'
make: *** [d:/work52/objdir/Makefile] Error 2

I'm confused as this kind of error typically means I'm using python3 on python2 code.

The even more confusing thing is while I can run "python -V"  (which outputs 3.9.13) in a command window (not using sh.exe),  I can't use python2.7 (outputs : SYS0193: C:\USR\BIN\PYTHON2.7.exe cannot be run in an OS/2 session).

Should I be using 'sh.exe'?   Further should I have upgraded python to 3?  I'm feeling this might be an issue.

Any help appreciated.

Thanks

Edmund

11
Programming / Re: Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 28, 2022, 01:32:59 am »

Is that the patched version? There are a lot of OS/2 specific patches including reversing all the OS/2 stuff that Mozilla removed. Plus patches to build with GCC 9.2.0
Also need,
mozilla/extensions/inspector
mozilla/extensions/irc #Chatzilla
client.py with the right arguments can pull them in if mercurial behaves or just get the URL's from client.py or, it's been awhile, maybe I ended up commiting them to my tree.
I haven't built in a while.

Yes, I  had cloned the dom-inspector and chatzilla to mozilla/extensions. 

Quote
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
Typo, set MOZCONFIG=

Ah thanks.  Fixed.

Quote
You installed autoconf213?

Yes, except that I had used "set AUTOCONF=/usr/bin/autoconf213".

I changed that to "set AUTOCONF=c:/usr/bin/autoconf213"

Quote
d:/work52 is correct.
Don't remember that error but if you aren't using a patched configure.in, it won't get far. client.mk should recreate the 2.13 configure's, might have to delete the three. parent, mozilla and mozilla/js.

Where would I get the patched configure.in file?   Would it already be in the repo that you linked?

Quote
You will have to also run autoconf (not autoconf213) in mozilla/nsprpub so configure is OS/2 friendly. And autoreconf -sfy in mozilla\js\src\ctypes\libffi. Need OS/2 libtool used as well as configure.

Did that.

Quote
I also found the need for a config.site as well, in usr/local/share  or $PREFIX/share, or IIRC $CONFIG_SITE  Mostly needed to pull in some toolkit includes after the libc ones. Toolkit has its own ancient libc.

What is config.site?

Quote
Code: [Select]
export CFLAGS=-Zomf
export CXXFLAGS=-Zomf
export ASFLAGS=-Zomf
# K: is @unixroot here
export 'CPPFLAGS=-idirafter K:/usr/include/os2tk45'
export 'LIBS=-lcx'
export ranlib=echo

is what I have.

Pardon my confusion; but where do I put this?  in moz_os2_env.cmd?

Quote
Edit: fix typos, also make sure you are using JFS as the file systems, the build creates tmp files over 2GB and dies with tmp* on a HPFS partition.

Yes, after fiddling around with ArcaOS, I ended up settling with JFS.

After that, I'm still getting:


Code: [Select]
[code]
# 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


Note: the "echo 0" is a test line that I added to client.mk to show what MOZ_PGO is.

Thanks

Edmund

12
Programming / Re: Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 23, 2022, 05:52:13 am »
My comm-45ESR tree,
Code: [Select]
git clone https://dyeo@git.code.sf.net/p/cc-os2/code cc-os2-code
Never finished adding 52ESR, now being lazy I would simply diff it against the official tree and start there without history, the history would still be in 45ESR.
And
Code: [Select]
git clone https://dyeo@git.code.sf.net/p/mozilla-os2/code mozilla-os2-codeThough I think you have it already.

Yes, I cloned it off your repo. 

Thanks

Edmund

13
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":

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

14
Programming / Re: system error while cloning
« on: December 23, 2022, 02:05:14 am »
BTW, your trap was in _trapQueryRegister, the routine panicked while processing a trap, things were really messed up. If it repeats, Arca Noae wants you to open an issue to investigate.

Thanks for that info.  Will create an issue when it happens again.

Quote
Did you have Security/2 installed when it happened? Don't know if it is SMP safe (lots of old programs never considered multi-CPU's) or uses kernel stuff that may have changed.

Yes, I did have Security/2 installed; but have removed it from the system as it wasn't what I
wanted as well as it not really working as expected.

Edmund

15
Programming / Re: system error while cloning
« on: December 21, 2022, 09:51:48 am »
The OS/2 source is at git clone https://dyeo@git.code.sf.net/p/mozilla-os2/code mozilla-os2-code with master being 52ESR, IIRC only 52.4. 45ESR is the branch for the current Firefox etc.

Currently cloning it.   Thanks!

I would've hated doing the cloning with mercurial.  Ever since the code base size skyrocketed,
I've never had a good time with cloning it. 

Edmund

Pages: [1] 2 3