Crypto::SSLeay install problem

An iPhone client for Growl available on the App Store.
teedjack
Harmless
Posts: 3
Joined: Sun Mar 04, 2012 2:16 pm

Crypto::SSLeay install problem

Postby teedjack » Sun Mar 04, 2012 3:00 pm

Hi,

I realise this is technically related to CPAN, but seeing as this is a step in levying prowl.pl, I hoped others here would have experienced this and have a solution to hand.

Running:

Code: Select all

sudo cpan install Crypto::SSLeay

on my Mac mini running 10.7.3, CPAN complains:

Code: Select all

No installed SSL libraries found in any of the following places.
    /local
    /local/ssl
    /opt/ssl
    /usr
    /usr/local
    /usr/local/ssl
    /usr/local/openssl
You will have to either specify a directory location at the following
prompt, or rerun the Makefile.PL program and use the --lib switch
to specify the path. If the path in question is considered standard
on your platform, please consider filing a bug report in order to
have it taken into account in a subsequent version of Crypt::SSLeay.

Found multiple possibilities for OpenSSL
Which SSL install path do you want to use?

Can someone give me the required path to use? This is a near-fresh, barely-touched install of 10.7.3.

User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: Crypto::SSLeay install problem

Postby zac » Sun Mar 04, 2012 3:44 pm

(Update: SSLeay is not required in Lion.)

Apple deprecated OpenSSL support on 10.7, which has has the unfortunate effect here of breaking the script. I'm not sure if there's an easy fix, but you may consider using `growlnotify` to trigger Prowl notifications, or removing the SSL support from the script.

teedjack
Harmless
Posts: 3
Joined: Sun Mar 04, 2012 2:16 pm

Re: Crypto::SSLeay install problem

Postby teedjack » Sun Mar 04, 2012 6:36 pm

Thanks zac. Are there plans to provide a script implementing SSL that will work with 10.7 onwards?

In the meantime, that's another reason for me to avoid upgrading the rest of my Macs to Lion. :(

teedjack
Harmless
Posts: 3
Joined: Sun Mar 04, 2012 2:16 pm

Re: Crypto::SSLeay install problem

Postby teedjack » Wed Mar 07, 2012 3:26 pm

Hi,

I've just tried to install the script on Snow Leopard, and run into the exact same problems.

Look, no offence, but when did you actually last test the install procedure for Macs? It appears to be terribly out of date.

One glaring error is the fact that the command you request Mac users run:
sudo cpan install Crypt::SSLeay
is itself wrong. CPAN immediately comes up with an error telling you to use:
sudo cpan Crypt::SSLeay

Please, update your documentation to reflect the fact that installing Prowl.pl on a Mac may not be as straight-forward as on LINUX etc. In fact, it may not be possible without some serious tweaking.

Frustrated,

T.

User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: Crypto::SSLeay install problem

Postby zac » Thu Mar 08, 2012 12:14 am

The command is correct, and the install works successfully when it can find openssl. I see no "run without 'install'" errors on either OS. Note that you quoted the incorrect command in your first post. It is "Crypt" not "Crypto". When I tried this, CPAN provided a nice helper output correcting the typo. I expect this is what you saw.

I just tested the script on Lion and it works without needing to install Crypt::SSLeay, so it will work without needing to do anything special. I will update the FAQ to note it is not needed in Lion.

If you have any other errors, please include the error logs, etc., in this thread.


Return to “Prowl”

Who is online

Users browsing this forum: No registered users