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 - Steven Levine

Pages: [1] 2 3 ... 5
1
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« on: April 27, 2025, 11:10:14 pm »
The hashbang spec would apply if you ran the script from a hashbang aware shell.

ANPM always invokes the scripts via the python command line and forces 2.7 to be used.  The relevant code is at:

  PyExec.VRX:63
      ADDRESS CMD '@python2.7.exe' full_cmd '2>&1 |RXQUEUE' listqueue

2
Applications / Re: EXIFTool
« on: April 23, 2025, 07:07:04 am »
Hansi,

The ideas proposed by the others may get you where you want to go.  Depending on your skills, it should be possible to rework the .wis file to install the packages.  If it were me, I would extract the packages by hand using wic.exe and use the CREATEOBJECT statements in .wis file as a guide to creating the Desktop objects.

The package is rather old - circa 2014.  It's unknown how it compares to Phil Harvey's current version at https://exiftool.org.

It's appears that the library itself is still Perl, so it might be worthwhile to try to use the current sources.


3
Marketplace / Re: ebay Stuff
« on: March 16, 2025, 01:12:46 am »
I'm sure some sellers use the shipping cost to ensure they get a minimum price for their items, but I doubt this works all that well.

One thing I do know is that a seller's shipping cost can vary quite a bit depending how one manages the shipping. If you ship USPS using eBay's shipping services, the discount is something like 30% less than USPS retail price.

4
Marketplace / Re: ebay Stuff
« on: March 15, 2025, 05:03:48 pm »
International shipping is relatively expensive.

In the past, I have used USPS's Large Flat Rate Box which is about 12x12x6 and the cost was about $75USD.

I shipped some parts to Paul in a flat rate envelope and IIRC, it was about $15USD.  The package weighted a couple of ounces.


5
Applications / Re: ePDF
« on: February 24, 2025, 08:03:32 am »
Did you mean this link? - https://www.os2.org/viewtopic.php?t=2769&hilit=ePDF
FYI. There is also ePDF on hobbes: https://hobbesarchive.com/?search=ePDF_2-99-7

Yes, I have no idea how I managed to mess up the link copy/paste.

The ePDF on Hobbes is the same distro.  As Frank states the zip file contrains version 2.99-6.

6
Programming / Re: GCC - updates
« on: February 23, 2025, 09:28:40 pm »
I can be so brain-dead.  In hindsight the answer to my question is obviously gcc -v.

IAC, I may have found a way toward a solution.  A bit of poking about indicates that the kernel can return ERROR_BUSY if an allocation request for contiguous linear address space fails.  I guess the logic is that this might be a temporary resource limit.

I need to carve out some quality time with the kernel debugger to fully understand where the ERROR_BUSY is coming from.

This convinced me to try highmem -d on a corrected version of Knut's testcase.  Unfortunately highmem marks both the data and stack objects to load high which causes the testcase to trap.  Oops.  exehdr supports marking specific objects, but so far, it's trapping when asked to mark the testcase.

More later...

Exehdr was trapping because it cannot handle long names.  After renaming the testcase to 8.3 format, exehdr marked object 2 to load high.  Unfortunately, this did not avoid the fork failure.

7
Programming / Re: GCC - updates
« on: February 23, 2025, 10:00:48 am »
My current testing says the problem is with fork's limits rather than your cc1plus.exe build per se.  It's too early to say what can be done about this.

The good news is that

  cc1plus --help

appears to run as expected.  Somewhat unexpectedly

  >cc1plus.exe -c xxx

reported

  cc1plus.exe: warning: command-line option '-c' is valid for Modula-2 but not for  C++
  cc1plus.exe: fatal error: xxx: No such file or directory compilation terminated.

which reminded me that gcc supports more than just C and C++.  It may be your build options are such that the size is totally expected.

Poking about, I found

  https://infinitecoder.github.io/posts/2018-03-29-building-gcc-docker-image/

which discusses using the

  --enable-languages

build option to reduce the size of the gcc binaries.  Have you made use of any of these build options to reduce the size of the gcc executables?

A quick scan of the cc1plus.exe --help output implies that gcc supports at least 14 languages.

Now to fade away for the night...


8
Web applications / Re: Dooble releases, Qt5 builds
« on: February 23, 2025, 04:00:20 am »
I can't recall the last time I had to completely delete a production profile in firefox or dooble.  There have been a few times that I needed to restore the profile from a backup.

I use rsync with a few filters to exclude the cache directories and other transitory data such as firefox telemetry pings which is of no use to us.

9
Programming / Re: GCC - updates
« on: February 23, 2025, 03:08:35 am »
Interesting.  The error implies that the BSS segment is huge (i.e. bigger than 63MB).  For those that don't know, the BSS segment contains static uninitialized data.  This is a bit of a misnomer since the loader zeros the BSS segment when the application is loaded.

To check this do

  lxlite -c:exemap cc1plus.exe >tmp.exemap

and look at the size of object 2.  This will be the BSS segment unless the linkage changed drastically.

For gcc 14, we get

 ├ ## ─ Base ─── Size ──R─W─E─Res─Dis─Shr─Pre─Inv─Swp─Rsd─Loc─A16─32B─Cnf─IOP─
 │  2 02260000 00517B00 ¹ ¹                                        ¹

or about 5MB.  Well within the limits.  For Knut's (I think) testcase, it's

 ├ ## ─ Base ─── Size ──R─W─E─Res─Dis─Shr─Pre─Inv─Swp─Rsd─Loc─A16─32B─Cnf─IOP─
 │  2 00020000 080001C0 ¹ ¹                                        ¹         

or about 128MB.

I prefer to analyze the binaries, but you can get same info from the map file.  For the testcase, it's

  DGROUP                          0002:00000000        080001c0

I'm wondering if there is an overflow in some static data buffer calculation.



10
If one is interested in REXX, I recommend taking a look at Glassman's ooREXX port.

  https://5nets.ru/downloads/?/OORexx

It's not quite ready to replace IBM's Classic REXX or Object REXX.  The build is missing a couple of exports that break SSCC and possibly a few other REXX apps.

However, I use it regularly, especially for code that would cause IBM's REXX's to run out of memory.

IIRC Dave Yeo did a local build, but we have not discussed its status.


11
Web applications / Re: Dooble releases, Qt5 builds
« on: February 22, 2025, 06:10:36 pm »
FWIW,

After correcting the URL, the PGE site seems to render fine with both firefox and dooble5.  I've not tried dooble6.  Both the firefox and dooble.  This box is not quite fully updated.  Both browsers are not the most recent versions.

With firefox, I typically recommend testing with a fresh profile, just in case.


12
Setup & Installation / Re: How to reinstall files missing from /usr/bin?
« on: February 14, 2025, 06:50:38 am »
Wonder if using ANPM, Manage-->Yum Tools-->Import Package List... would work?
Once finished, there's Export Package List... that might be a good idea, and that's for everyone being a good idea.

It should.  What Pete will need to do is map the rpm file names to package names which is easy to do.

Another option using 4OS2 is something like

  for %XX in ( @rpmlist.txt ) rpm --install %XX

which should install what needs to be installed and will complain about what's already installed.

rpm will take of list of rpm file names on the command line, but then one needs to beware of command line length limits.

I would recommend using ANPM since it does a better job of ensuring that the packages get installed in the required order.


13
Setup & Installation / Re: How to reinstall files missing from /usr/bin?
« on: February 13, 2025, 09:24:39 pm »
Hi All

yum reinstall J:\var\cache\yum\netlabs-rel\packages\sane-backends-1.0.28-2.oc00.pentium4.rpm
which resulted in
No package matched to remove: sane-backends-0:1.0.28-2.oc00
Error: Problem in reinstall: no package matched to remove

Yum cannot install an rpm directly, but anpm can.  You can also use rpm to install rpms. <g>

I find it best to think of yum as a front-end for rpm.  Yum uses rpm under the covers, much like anpm uses yum and rpm.

If you have not lost the content of /var/lib/rpm

  rpm -qa

will list all of the package rpm thinks you have installed.


14
FWIW,

  https://mantis.arcanoae.com/view.php?id=1081

reports the same issue panic, but possibly for a different driver.

15
I also have very poor performance on MacOS (intel) with all versions od OS/2 since 2.0 up to arcaos 5.0.8. Now 5.1.0 traps with this screen

Leonardo,

Is the a fresh install of 5.1?  If so check config.sys for a duplicate BASEDEV or DEVICE statement.

Pages: [1] 2 3 ... 5