Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Replacing a module dependency

by kcott (Archbishop)
on Apr 27, 2022 at 06:47 UTC ( [id://11143336]=note: print w/replies, xml ) Need Help??


in reply to Replacing a module dependency

G'day Bod,

"... which in turn requires MIME::Base64. This last module is XS and I don't have it installed on the shared hosting."

This statement surprised me. MIME::Base64 is a core module. Even if your shared hosting is only providing you with Perl v5.8, you should have it.

$ corelist MIME::Base64 Data for 2021-05-20 MIME::Base64 was first released with perl v5.7.3

Perl 5.8.0 was released 20 years ago (18-Jul-2002perlhist). I would recommend asking your provider to install this module immediately; if they refuse, find a new provider.

— Ken

Replies are listed 'Best First'.
Re^2: Replacing a module dependency
by Bod (Parson) on Apr 27, 2022 at 10:54 UTC

    Thanks Ken,

    I hadn't realise that MIME::Base64 was core!

    What I had done was to SSL onto the server and type

    perl -e "use MIME::Base64"
    This told me it couldn't find it which is why I tried to install it got the error that it needed access to the compiler. I did the same thing with Authen::SASL but that installed fine.

    Having found it is core I have checked again and found that MIME::Base64 is there. I guess I must have put in a typo :(

    So now I have a different issue to resolve...

    Niether of these throw an error:

    perl -e "use MIME::Base64" perl -e "use Authen::SASL"
    Yet, when I try to use MIME::Lite in SMTP mode I get the error:
    SMTP auth() command failed: No such file or directory Need MIME::Base64 and Authen::SASL todo auth

    UPDATE:
    Solved the error - it's a quirk of cPanel that I need to use cPanelUserConfig; to add all the correct paths to @INC when I've installed modules. Authen::SASL in this case.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143336]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-23 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found