EPrints Technical Mailing List Archive
Message: #09433
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] CPAN XML::LibXSLT VM experience.
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] CPAN XML::LibXSLT VM experience.
- From: Andrew Mehta <A.J.Mehta@soton.ac.uk>
- Date: Sun, 24 Sep 2023 20:43:31 +0000
Happy you can move on with your install, negating any segmentation fault risks.
Here's a five minute video just for fun, showing I think the lxslt not found issue, might have been down to no
dnf perl.
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of Andrew Mehta <A.J.Mehta@soton.ac.uk>
Sent: 24 September 2023 20:02 To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk> Subject: Re: [EP-tech] Migrating to Redhat Linux 8.6
I just tried to repeat it while recording myself, and this time I did
yum perl
before I attempted anything else,
and suddenly,
there was no need to install XML::LibXML::Common first to fix the issue.
So maybe I was wrong about that.
Maybe the entire problem the whole time was core perl modules missing?
Fixed via
dnf perl
(or yum perl).
I'll try repeating a third time, without yum perl, and see if I hit the same cannot find lxslt again.
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of Andrew Mehta <A.J.Mehta@soton.ac.uk>
Sent: 24 September 2023 19:16 To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk> Subject: Re: [EP-tech] Migrating to Redhat Linux 8.6
Thanks for this David!
Your wiki edit has made things super clear.
Also great that you got a resolution Maher.
I was busy Friday and Saturday, and sat down just this evening with a RedHat VM.
I recreated the problem you had - CPAN would not install XML::LibXSLT.
The solution to get it CPAN-installed,
is to first install XML::LibXML::Common
cpan XML::LibXML::Common
Once that is installed, you get a nice...
"looking for -lxslt... yes"
...replacing our previous "no" ^_^,
when installing XML::LibXSLT.
cpan XML::LibXSLT
As you rightly point out,
it seems weather installing via dnf/yum or CPAN, the segmentation fault risk would be the same,
so happy you're happy to run in mpm-prefork mode to negate such risks.
Also, the XML::LibXML::Common tip came from PerlMonks - originally from an attempt to get things working on Windows / ActiveState Perl, but seems to solve our RedHat Linux CPAN problem too.
That said, my VM was barebones and core modules were missing from system Perl until I did a:
yum perl
=) Lots of fun was had though, =).
Which is what weekends should be about, 😉.
Yours,
Andrew.
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of David R Newman <drn@ecs.soton.ac.uk>
Sent: 24 September 2023 12:27 To: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>; eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk> Subject: Re: [EP-tech] Migrating to Redhat Linux 8.6 Hi Maher,
I am glad that you have found a resolution. I have now updated the instructions that appear at: I have did some testing of my own and could not find a way to get XML::LibXSLT working with Apache in MPM event mode. I also checked the OAI-PMH functionality and this does not looked to be affected by whether XML::LibXSLT is installed. That means neither the API functionality used by third-party applications or the metadata visual rendering if you access the /cgi/oai2 pages through your web browser is affected. Regards David Newman On 24/09/2023 11:45 am, Maher Abdellatif Ahmad Qahwash wrote:
|
- References:
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- Re: [EP-tech] Migrating to Redhat Linux 8.6
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Migrating to Redhat Linux 8.6
- From: Andrew Mehta <A.J.Mehta@soton.ac.uk>
- Re: [EP-tech] Migrating to Redhat Linux 8.6
- From: Andrew Mehta <A.J.Mehta@soton.ac.uk>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- Prev by Date: Re: [EP-tech] Migrating to Redhat Linux 8.6
- Next by Date: [EP-tech] Eprints install cannot locate package "abort"
- Previous by thread: Re: [EP-tech] Migrating to Redhat Linux 8.6
- Next by thread: [EP-tech] Eprints install cannot locate package "abort"
- Index(es):