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.


Topics - Edmund Wong

Pages: [1]
1
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

2
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

3
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

4
Programming / building openssh
« on: December 21, 2022, 09:19:57 am »
I took some pointers from the stickied "Newbie guide to porting software?" thread and am trying to build openssh (straight from the openssh project).

This is my os2_env.txt:

export CFLAGS="-O2 -g -march=pentium4 -mtune=generic"
export CXXFLAGS="-O2 -g -march=pentium4 -mtune=generic"
export CC=gcc
export CXX=g++
export CPP=cpp
export CXXCPP=cpp
export LD=wl
export AR=emxomfld
export exeext=.exe
export SH=c:/USR/BIN/SH.EXE
export SHELL=c:/usr/bin/sh.exe
export CONFIG_SHELL=/@unixroot/usr/bin/sh
export POSIX_SHELL=c:/usr/bin/sh.exe
export PREFERABLY_POSIX_SHELL=c:/usr/bin/sh.exe

I installed gawk, autoconf, make automake packages
Then I did the following:

1) opened Command Window
2) ran "sh.exe"
3) cd openssh
4) autoconf
5) sh ./configure

It ran configure for a bit then choked at the following:

checking for sh... (cached) /@unixroot/usr/bin/bash.exe
checking for bash... c:/USR/BIN/SH.EXE
checking for ksh... (cached) c:/USR/BIN/SH.EXE
checking for sh... (cached) c:/USR/BIN/SH.EXE
checking for groff... /@unixroot/usr/bin/groff.exe
checking for nroff... /@unixroot/usr/bin/nroff
checking for mandoc... no
checking for pkg-config... /@unixroot/usr/bin/pkg-config.exe
checking for groupadd... groupadd
checking for useradd... useradd
checking for pkgmk... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for passwd... no
checking for inline... inline
checking whether LLONG_MAX is declared... yes
checking whether LONG_LONG_MAX is declared... yes
checking whether SYSTR_POLICY_KILL is declared... no
checking whether RLIMIT_NPROC is declared... yes
checking whether PR_SET_NO_NEW_PRIVS is declared... no
checking whether OpenSSL will be used for cryptography... yes
checking if gcc supports -Werror... yes
./configure: 5763: ./configure: Syntax error: word unexpected (expecting ")")


In configure:5763, I have:
   OSSH_CHECK_CFLAG_COMPILE(-pipe)
   OSSH_CHECK_CFLAG_COMPILE(-Wunknown-warning-option)
   OSSH_CHECK_CFLAG_COMPILE(-Wno-error=format-truncation)
   OSSH_CHECK_CFLAG_COMPILE(-Qunused-arguments)


(I am assuming that it's talking about this line.   It's been some time since I've looked at a configure script.

I do know about the bitwise openssh-os2 repo and I did clone off that; but the configuration breaks off
at the same place.

Any help appreciated.

Edmund
2) autoconf

5
Applications / Security/2 and user parameters
« on: December 20, 2022, 09:59:25 am »
I just installed the openssh from www.altsan.org/os2/utils as well as Security/2.  While the documentation does
show the parameters available for "user",  it doesn't really explain how to use it explicitly.  Like, how to change the directory for a particular user.

I managed to create a new user as well as changed the password.

However, I'm having trouble with changing the shell and directory using the following commands:

  user -u -s sh.exe cc
  user -u -d c:\home\users\cc cc

Both give me the error:

user: failed 5

I've no clue what this means aside for the fact that it failed. 

I installed this ssh server so I can ssh into this OS/2 box.   Right now, I can ssh into the box; but instead
of the public/private key usage, it uses password which isn't ideal.

Any clarifications appreciated.

Edmund

6
Programming / system error while cloning
« on: December 20, 2022, 06:06:21 am »
I am using ArcaOS 5.0.7 (modified to pentium4 platform).

While I was cloning off gitlabs.com/seamonkey-project/seamonkey-2.53-comm, I got the following
system error:

    The system detected an internal processing error at
    location ##0168:fff0fda4 - 000f:eda4.
    60002, 9084

    1b860657
    Internal revision 14.203_SMP

    The system is stopped.  Record all of the above information and
    contact your service representative.

Even with the above, I hope someone can shed some light what the issue might
be.  I don't grok it.

Thanks

Edmund

7
Setup & Installation / Changing Platforms on RPM (i686 to Pentium4)
« on: December 15, 2022, 08:35:59 am »
From the "upgrading python2.." thread, Dave Yeo mentioned the following method to change platform:

1) cd \usr\lib
2) unlock *dll

Then I created c:\tmpx

3) mv var c:\tmpx
4) mv etc c:\tmpx
5) mv usr c:\tmpx

Unfortunately, #5 gave me an error stating that there were some files still opened.

I then rebooted and then opened ANPM and naturally the repository list is empty. 

This leads me to believe that I had misunderstood the instructions.   I had thought that
after moving all those paths, ANPM would 'bootstrap' the package installation/recovery
process; but it just gives me a blank list.

I apologize for being so dense.  I can't reproduce my earlier success in changing platforms. ;/

Edmund




8
Setup & Installation / re-installing SeaMonkey
« on: December 15, 2022, 05:24:58 am »
Hi,

I am using ArcaOS 5.0.7.

I think I screwed up SeaMonkey by removing some files or maybe even when I changed from i686 to pentium4.   Now when I run SeaMonkey, it'd give me an error:   "Couldn't load XPCOM".

How do I re-install it?

I took a look at Computer->Install/Remove and tried "installed Features", "Add Programs", "Selective Install",
"Selective Uninstall" and "Selective Install for Networking".

I don't see "SeaMonkey" mentioned in any of those options.   I looked at the contents of the ANPM
and couldn't find the "seamonkey" package(which kinda makes sense).

Then I took a gander at the Readme.txt file and found that the SeaMonkey file was part of ArcaOS,
and then I found it in the mozilla directory..  a zip file named "SEAMNKY.zip" which explains why
I couldn't find it using "seamonkey".  (Silly me.)

So I went and unzipped the seamnky.zip file to c:\programs.

Still, it gives me the same error when I ran SeaMonkey.

Now, I'm stumped and any help appreciated.

Thanks

Edmund


9
I wanted to post to the OS/2 trademark thread; but was warned that it's been 120 days since the last post.

Someone mentioned "not reminding IBM nor Microsoft of the dead trademark"; but my question is (and pardon
my ignorance), why would IBM or Microsoft care?   IBM gave up on OS/2 and Microsoft wouldn't even consider
OS/2 as a 'competition'.  That said,  "IBM OS/2 Warp" does bring up good memories.

Also, it would be nice to own an OS/2 Warp T-shirt. 

Edmund

10
Applications / upgrading to Python 3 in ArcaOS
« on: December 14, 2022, 01:53:39 am »
Hi,

I recently installed ArcaOS (coming from OS/2 Warp some time ago) and have read the wiki pages; but
I'm a confused with the setup.  Since it uses YUM (been using CentOS so I am somewhat familiar with this),
I figured "yum install python3 -y" would work; but it can't find python3.

So I go into the ANPM and try installing python3 but there is no package "python3" and none of the
python3-* packages look like the correct one.  Then I noticed python2.7.  Since installed on the
system is python 2.7.6 (old), I figured I'd install python 2.7.18; but ANPM comes up with an error
stating that there's a conflict with the existing 2.7.6 libraries.  I thought about removing
the old python version when I remembered that yum requires Python2.7.6 and removing it
would screw up YUM (at least from my old CentOS experience).

Can someone clarify how to get at least an updated python running on this system?

Any help appreciated.

Thanks


Edmund

Pages: [1]