OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: andreas on February 02, 2024, 12:40:20 am

Title: libxml2 v2.11.5
Post by: andreas on February 02, 2024, 12:40:20 am
Just found out that the new version of libxml2 caused problems with my Open Office (getting killed as soon as trying to open any document)
Title: Re: libxml2 v2.11.5
Post by: David McKenna on February 02, 2024, 12:51:26 am
No trouble with it here... what are you trying to do that kills it?

Regards,
Title: Re: libxml2 v2.11.5
Post by: andreas on February 02, 2024, 12:58:44 am
when i tried to open a file directly i could just see the loading process before OO went to nowhere. opening soffice.exe showed the menue of the program, but as soon as i chose an option for opening a module the program collapsed.
PM-dll didn't show any missing dll. new install of OO didn't help.
But downgrading livxml2 did.
Title: Re: libxml2 v2.11.5
Post by: KO Myung-Hun on February 02, 2024, 03:21:45 am
Hi/2.

Any error reports ? such as popuplog.os2, exceptq ?
Title: Re: libxml2 v2.11.5
Post by: andreas on February 02, 2024, 05:01:04 pm
in popuplog.os2 I find:
SYS2070 PID 00cc TID 0001 Slot 00c3
C:\Programs\APACHEOFFICE.4\PROGRAM\SOFFICE.BIN
XML22->LIBCN0.2026
182
Title: Re: libxml2 v2.11.5
Post by: Tom on February 02, 2024, 06:08:08 pm
in popuplog.os2 I find:
SYS2070 PID 00cc TID 0001 Slot 00c3
C:\Programs\APACHEOFFICE.4\PROGRAM\SOFFICE.BIN
XML22->LIBCN0.2026
182

That suggests that your installed version of libc is not new enough. Which version do you have installed?
The most recent version is libc-0.1.12-1.oc00.pentium4.rpm

Title: Re: libxml2 v2.11.5
Post by: andreas on February 02, 2024, 06:33:02 pm
ic. my version is 0.1.9.1 i686, update to pentium4 was not possible with YUM/ANPM. Maybe need to install the package manually..
Title: Re: libxml2 v2.11.5
Post by: Dave Yeo on February 02, 2024, 06:44:20 pm
ic. my version is 0.1.9.1 i686, update to pentium4 was not possible with YUM/ANPM. Maybe need to install the package manually..

Did you try updating to 0.1.9.1 pentium4 first by right clicking on libc and choosing "Get specific release"?
Need to do similar with libcx too.
Title: Re: libxml2 v2.11.5
Post by: andreas on February 02, 2024, 06:50:52 pm
oh, i didn't know about that option.
My os/s-system is not connected with the internet. i have a repo-folder with the packages only on my hard disc.
Will try to install 0.1.9.1 pentium4 over the i686-version. Does it work with yum/install ?
Title: Re: libxml2 v2.11.5
Post by: Dave Yeo on February 02, 2024, 07:57:10 pm
I've never tried it. What I did when my internet connection was bad was have a local repository and use that.
Title: Re: libxml2 v2.11.5
Post by: Tom on February 03, 2024, 12:40:34 am
ic. my version is 0.1.9.1 i686, update to pentium4 was not possible with YUM/ANPM. Maybe need to install the package manually..

In ANPM, use the menu YUM --> Platform to add pentium4 (if it is not already listed). After that, move the line pentium4 to the top (using the buttons on the right side of the window). And restart ANPM (maybe not needed, but it won't hurt).

After that, you should be able to update a package from i686 to pentium4.
Title: Re: libxml2 v2.11.5
Post by: andreas on February 04, 2024, 10:11:03 pm
ic. my version is 0.1.9.1 i686, update to pentium4 was not possible with YUM/ANPM. Maybe need to install the package manually..

In ANPM, use the menu YUM --> Platform to add pentium4 (if it is not already listed). After that, move the line pentium4 to the top (using the buttons on the right side of the window). And restart ANPM (maybe not needed, but it won't hurt).

After that, you should be able to update a package from i686 to pentium4.

oh i did that from before.

Tried to install old pentium4-libc-version over old i686-version. didn't work - neither with ANPM nor with YUM

Getting message "incompatible platform - replace operation is not supported for local files"
Title: Re: libxml2 v2.11.5
Post by: ivan on February 04, 2024, 10:45:13 pm
Excuse me for butting in but what is the difference between the i686 to pentium4 versions of any DLL and why is there the two versions?  All my computers have AMD Ryzen 3 processors and I have the RPM/YUM program but don't use it - if I need a DLL I just download the package and unpack it locally, extract what is needed and dump the other junk included with it.
Title: Re: libxml2 v2.11.5
Post by: andreas on February 04, 2024, 11:03:37 pm
i have no idea what the difference is, but  - as you can read in the thread - the new version of libxml2 caused a problem wth OpenOffice - appearently due to the older version of libc.
I can use OO by downgrading.
But in general i have a problem to change some installed i686-packages to pentium4-packages...
Title: Re: libxml2 v2.11.5
Post by: Dariusz Piatkowski on February 04, 2024, 11:15:47 pm
ivan,

Excuse me for butting in but what is the difference between the i686 to pentium4 versions of any DLL and why is there the two versions?

The packages are built with CPU specific optimizations, and those will differ between i686 and P4. In particular for the P4 CPUs the focus is on using the MMX, SSE and SSE2 instruction set.

Keep in mind that this whole approach is applicable to multiple GCC compilation options, be it '-mtune' or '-march', and there are always the more generic options that just focus on generating either FASTER code, or SMALLER code.
Title: Re: libxml2 v2.11.5
Post by: Dave Yeo on February 05, 2024, 01:25:36 am
Hi Andreas, I'd suggest setting up a local repository to work around the local files thing.
Install createrepo_c and createrepo_c-libs rpm's.
Create your directory, I'm using k:\rpm.local, underneath create 00  (zero zero) and under that create these,
Code: [Select]
K:\rpm.local\00>ls
i386  i686  noarch  pentium4  src

You probably don't need src.
Copy your RPM's to the correct directories.
Run "createrepo_c -d ." in the top directory, k:\rpm.local in my case.
In @unixroot\etc\yum\repos.d, create a file such as LOCAL.REPO containing something like,
Code: [Select]
[local]
name=My local repo
baseurl=file:k%3A/rpm.local
enabled=1
May have to add it to ANPM under Manage-->Repositories.
Use ANPM to install etc.
Don't forget to run the "createrepo_c -d ." whenever you add/remove any RPM's. Might also want to cleanup any repodata.old.XXXXXXXXXXXXXXX directories
Hopefully I remembered all steps.



Title: Re: libxml2 v2.11.5
Post by: andreas on February 06, 2024, 06:22:56 pm
thanks. will try that as soon as i find some time..