Hi Ken,

thanks for replying to all recipients. Please see below for my reply.

On Thu, 14 Apr 2016 11:41:36 -0700
Kenneth Wolcott <kennethwolc...@gmail.com> wrote:

> On Sat, Apr 9, 2016 at 5:39 AM, Shlomi Fish <shlo...@shlomifish.org> wrote:
> > Hi Ken,
> >
> > welcome aboard.
> >
> > please reply to all recipients.
> >
> > On Fri, 8 Apr 2016 17:36:47 -0700
> > Kenneth Wolcott <kennethwolc...@gmail.com> wrote:
> >  
> >> Hi;
> >>
> >>   How to install WWW::Salesforce::Simple on a Mac? cpanm refuses to
> >> install Crypt::SSLeay
> >>
> >>   I need to use the WWW::Salesforce::Simple Perl module on an El Capitan
> >> Mac.
> >>
> >>   I installed cpanm.
> >>
> >>   I tried to install WWW::Salesforce::Simple, but cpanm bails out
> >> because of Crypt::SSLeay.
> >>  
> >
> > What's the error? One should note that you should not mess with the system's
> > perl on Mac OS X. Instead - use perlbrew. See:
> >
> > * http://perl-begin.org/platforms/mac/
> >
> > * http://perlbrew.pl/
> >
> > Crypt::SSLeay may in addition require the development headers of OpenSSL or
> > whatever which you can install using a Mac-based package manager (e.g:
> > macports, fink, or homebrew).
> >
> > Good luck!
> >
> >         -- Shlomi Fish
> >  
> >>   Is there a way to convince cpanm to install other Perl modules that
> >> will perform the duties expected of Crypt::SSLeay?
> >>
> >>   How do I get WWW::Salesforce::Simple to install on the Mac?
> >>
> >> Thanks,
> >> Ken Wolcott
> >>  
> 
> Hi Shlomi;
> 
>   Apparently the Crypt::SSLeay module won't install for my protection
> (HeartBleed?), but it is still a required prerequisite for
> WWW::Salesforce.
> 

Why won't it install? Does it give you a specific error? Can you copy+paste it
here? Is your version of the openssl (C) library too old? What?

>   I tried to follow the hints provided which suggested installing
> other modules which would provide the required basis for
> WWW::Salesforce without using Crypt::SSLeay, but it appears that
> trying to install WWW::Salesforce using cpanm still requires
> Crypt::SSLeay.  So, perhaps if I have alternatives installed that
> installing WWW::Salesforce using cpan or just directly installing it
> will now work?

according to https://metacpan.org/release/WWW-Salesforce - Crypt::SSLeay is a
required dependency of it - no way around it.

> 
>   It would be nice if the prerequisites could some how be updated for
> WWW::Salesforce so that one can have the functionality needed without
> the risk of installing a known vulnerability.

WWW::Salesforce installed successfully here on Mageia Linux x86-64 v6 with
perl-5.22.2-RC1 in perlbrew using 'cpan -i'.

> 
>   I'm also trying to grok why it might not be a good idea to use the
> Perl provided by the Mac OS (El Capitan) and use perlbrew instead.

Well, I haven't really used Mac OS X, but from what I recall being told, its
system perl may be configured in a non-standard way and the system may be too
dependent on it working as it expects and as a result one should not mess with
it.

> Using perlbrew itself won't solve the problem I have with
> WWW::Salesforce depending on a vulnerable module which I am unable to
> substitute because the prerequisites force it to be used but it won't
> install (endless circle of frustration here).
> 

I don't think Crypt::SSLeay has a known vulnerability as long as it links to a
recent enough version of the binary openssl library. And like I said, I have no
problem installing it here.

>   A painful workaround is to ssh to a Linux (CentOS) system that has
> the WWWW::Salesforce Perl module already installed and in use for
> other things, call a routine at that location and bring the resultant
> data back to be used locally.
> 

You can automate that process if absolutely necessary.

Regards,

        Shlomi Fish

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to