Author Topic: ANPM on Warp 4.52 - Error and Loop on RPM/YUM install  (Read 38893 times)

Luey123

  • Guest
Re: ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
« Reply #30 on: November 18, 2020, 06:18:02 pm »
LIBPATH=C:\USR\LOCAL\LIB;C:\USR\LIB;
You should better ensure that one segment with a single dot is added to LIBPATH. The default place is at the begin: LIBPATH=.;LIBPATH=C:\USR\LOCAL\LIB;... but some experienced ones of us prefer adding it to the end: LIBPATH=...;.;

If the dot is not added, many programs that come with additional DLLS in the dir of the EXE won't find them.

I will corrected that! Thanks for info.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5347
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
« Reply #31 on: November 18, 2020, 09:26:55 pm »
Welcome to the forum Mieszko.

FYI: I created this article based on this thread. https://www.os2world.com/wiki/index.php/How_to_Install_Firefox_on_Warp_4.52

Since I didn't know exactly what was wrong with the ANPM installer on Warp 4.52 (Because it loops with the LIBPATH message). I intentionally put a "non recommended" setting on the PATH and LIBPATH so I can get the ANPM to complain and it will fix it. So, I understand that my settings are not the "good ones", but were the ones that broke ANPM loop on Warp 4.52 to let me install Firefox 45. Also remember that I haven't tried this on eCs.

Regards
« Last Edit: November 18, 2020, 09:42:18 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

ChrisGWarp

  • Newbie
  • *
  • Posts: 21
  • Karma: +1/-0
    • View Profile
    • WarpSpeed Computers
Re: ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
« Reply #32 on: June 02, 2025, 12:58:14 pm »
The 'kLIBC Pathwriters' that I installed (klibccfg_1_0_2_1.exe) did not added TEMP, TMPDIR, LOGFILES on the config.sys.

I add those manually and the D: drive issues are gone.
Strange. I've just checked the installation .wis script. It contains:
Code: [Select]
      REGISTERCLASS="kLIBCConfig|$(1)\klibccfg.dll"
      CREATEOBJECT="REPLACE kLIBCConfig|kLIBC Pathrewriters|<WP_CONFIG>|OBJECTID=<WP_KLIBCPRW>"
      CONFIGSYS="SET LIBC_HOOK_DLLS=$(1)\klibccfg.dll@_kLIBCInitPath!pathrewrite"
      WRITEPROFILE="$(ETC)\klibcfg.ini\REWRITE\/etc|%ETC%"
      WRITEPROFILE="$(ETC)\klibcfg.ini\REWRITE\/var/log|%LOGFILES%"
      WRITEPROFILE="$(ETC)\klibcfg.ini\REWRITE\/tmp|%TMP%"

That looks as if it should have added the CONFIG.SYS entry and created %ETC%\KLIBCFG.INI.

Apologies for restarting this thread, I have essentially the same problem. But with slightly differing results. I have a very full popuplog.os2 file with lots of ANPM.EXE and REXXAPI.DLL errors... :)

ANPM is on C:, but I've setup and wanting UNIXROOT to be on D:.

I'm not even being asked if I want config.sys fixed but it does inform me that it's modified config.sys (it hasn't).

Which makes me wonder if there is an implicit assumption here that all of the packages are on the one singular drive (ie no reference to UNIXROOT)?

Thoughts?

Lars

  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +72/-0
    • View Profile
Re: ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
« Reply #33 on: June 02, 2025, 02:40:23 pm »
Hi

The 'kLIBC Pathwriters' that I installed (klibccfg_1_0_2_1.exe) did not added TEMP, TMPDIR, LOGFILES on the config.sys.

I add those manually and the D: drive issues are gone.

Thanks. I will keep testing the ANPM.

I had updated to this:
https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/util/misc/prewrite2.wpi

which will set the common profile values and circument a problem with the existing klibccfg.dl. I replaced it with a "prewrite.dll", just like AN does.