OS/2, eCS & ArcaOS - Technical > Applications
ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
Luey123:
--- Quote from: Andreas Schnellbacher on November 18, 2020, 05:31:54 pm ---
--- Quote from: Mieszko on November 18, 2020, 04:44:31 pm ---LIBPATH=C:\USR\LOCAL\LIB;C:\USR\LIB;
--- End quote ---
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.
--- End quote ---
I will corrected that! Thanks for info.
Martin Iturbide:
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
ChrisGWarp:
--- Quote from: Andreas Schnellbacher on January 03, 2020, 01:53:54 am ---
--- Quote from: Martin Iturbide on January 02, 2020, 11:22:43 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.
--- End quote ---
Strange. I've just checked the installation .wis script. It contains:
--- Code: --- 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%"
--- End code ---
That looks as if it should have added the CONFIG.SYS entry and created %ETC%\KLIBCFG.INI.
--- End quote ---
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:
--- Quote from: Martin Iturbide on January 02, 2020, 11:22:43 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.
--- End quote ---
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.
Navigation
[0] Message Index
[*] Previous page
Go to full version