OS/2, eCS & ArcaOS - Technical > Applications
ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
Doug Bissett:
--- Quote ---Added at the end of path ",:C:\USR\LOCAL\BIN;C:\USR\SBIN;C:\USR\BIN;" and libpath ".;C:\usr\local\lib;C:\usr\lib;"
- Reboot
Run ANPM and it gets angry. Yes, angry. :D
- It tells me to fix my config.sys. I select "yes"
- Reboot
Run ANPM and it works.
--- End quote ---
I find it amazing, that people still try to be smarter than package installers. The paths need to be in the order that ANPM insists on, for normal operation (and ANPM will, correctly, add the paths that you manually entered). That order can be modified, and ANPM can be set to ignore that, but there would need to be a very good reason to do that (perhaps a developer, working on updates to the RPM/YUM stuff), and you are likely to have weird problems, when you forget that you did it. As you noticed, after ANPM corrected your attempt to do it incorrectly, it works as it should.
Since RPM/YUM, doesn't (can't) clean up old files that it doesn't actually know about, you probably should analyze the OLD stuff, that RPM/YUM replaces, and remove older duplicates, before some program loads the wrong one, and something is broken until that wrong DLL is unloaded from memory. This is how you get a program to work perfectly, then it doesn't work, then it does again.
Martin Iturbide:
--- Quote from: Doug Bissett on January 19, 2020, 07:33:45 pm ---I find it amazing, that people still try to be smarter than package installers.
--- End quote ---
Software can not get angry. :o
You are missing the point. The point is not that I included on purpose at the end of the path and libpath the /usr to make ANPM fix that (maybe it would be shorter to added the path correctly on the first try).
The point is that on a basic OS/2 Warp 4.52 machine, you can not install ANPM easily with the defaults "package installers".
But it seems that it was needed to have usr/bin on the path for ANPM to start working. And none of the "smart package installers" did that on this case. Or maybe it is the error I'm getting on REXXAPI.DLL.
All are welcome to try that and let me know if my VM is the one giving problems, or it is common for OS/2 Warp 4.52.
Regards
Doug Bissett:
--- Quote ---The point is that on a basic OS/2 Warp 4.52 machine, you can not install ANPM easily with the defaults "package installers".
But it seems that it was needed to have usr/bin on the path for ANPM to start working. And none of the "smart package installers" did that on this case. Or maybe it is the error I'm getting on REXXAPI.DLL.
--- End quote ---
Did you follow the directions at: https://www.arcanoae.com/wiki/anpm/? It tells you what needs to be done in different install scenarios.
While testing these things, I have started with no RPM/YUM installed, and installing ANPM put it all together for me. ANPM is installed by WarpIn. ANPM then determines if CONFIG.SYS entries need to be modified, and does it if necessary. Then it makes sure that a usable RPM/YUM install is present, and installs it new, if not, Then, it runs the YUM program, so the user can install whatever they need. One of the more difficult scenarios is if an old RPM/YUM is installed, but has never been used. The RPM/YUM install may be too old to work. The directions do describe what to do about that.
Martin Iturbide:
--- Quote from: Doug Bissett on January 19, 2020, 08:38:02 pm ---Did you follow the directions at: https://www.arcanoae.com/wiki/anpm/? It tells you what needs to be done in different install scenarios.
--- End quote ---
Yes.
- Prerequisite - Checked.
- IMPORTANT: Systems with existing RPM & YUM which have not been updated recently (including fresh eCS installations) - DO NOT APPLY ON THIS CASE
- Initial setup of RPM & YUM. For systems with existing Python installations - DO NOT APPLY ON THIS CASE
- On systems with no existing RPM & YUM installation.... - This is the case but it explain you what the installer does, not any extra things you need to do.
- Post-bootstrap tasks. Reinstall bootstrapped packages - I was not able to reach to this part. (without doing the undocumented tweak I just did for ANPM to work)
A person reported to me that he was not able to install ANPM on a plain OS/2 Warp 4.52 (systems with no existing RPM & YUM installation) , that is why I started doing this to see my results.
Regards
Martin Iturbide:
Hi
At the end I completed the exercise to install firefox 45.9 on an OS/2 Warp 4.52 VM machine.
With ANPM I installed the prerequisites.
- pango (includes fontconfig, pixman, cairo), hunspell, libicu, libjpeg, libkai, libvpx.
After that I unpacked and copied firefox-45.9.0-4.oc00.pentium4.7z
The easiest way for me to get files without the internet was to create an ISO CD-ROM file with the installers files from the Host machine and mount it on the OS/2 guest. (here it is the very basic ISO file)
Regards
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version