Re: [mh] Repairing LWP

Brian M <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
On 8/25/19 9:06 AM, Rick Steeves via misterhouse-users wrote:
>
> I run an old implementation of MH, and wrote/use the internet_USGS.pl 
> module. Internet_usgs stopped working which I finally puzzled out was 
> due to the USGS site now requiring https:// . I tracked that back to 
> LWP not working, and made several attempts to update my LWP (and then 
> version of Perl) to get LWP working. Didn't work.
>
> I saw a (relatively) recent post here that pointed out that MH 
> includes some of the Perl modules within the code, and some digging 
> about shows that includes LWP, so my attemps at upgrading was likely 
> losing out to the LWP version included in MH.
>
> What's the best path to get LWP upgraded/working? I could just delete 
> the LWP folders from my MH install, but suspect I'll start down the 
> path that my upgraded version of LWP will require yet more perl 
> modules to be upgraded within mh, and then not be able to figure out 
> which ones those additional perl modules/libraries are.
>
> Alternately, I could delete ALL the Perl modules includes in MH but 
> then have to figure out which ones might be missing from my Perl install.
>
> Both paths seem long.
>
> Thoughts?

Pull request #786 addresses this.  It moves these packages into a 
separate Perl library that is late in @INC, after the regular system 
libraries (e.g. /usr/local/lib/perl5 or whatever your system uses).  The 
net result is that MH users will use the MH-supplied versions of common 
Perl packages only if system versions are not available.

If pull request #786 is accepted, you could solve this just by 
installing LWP in one of your regular system Perl package folders, 
probably through your distro installation tools.

I don't know what the normal process is for reviewing and 
accepting/rejecting pull requests, so I don't know when #786 will be 
considered.  I do know that we're lucky to have maintainers that 
volunteer their time to caring for MH, and I appreciate them.

                       -Brian M.



________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.