[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Compiling the openssl egg on OS X

From: Blake Sweeney
Subject: Re: [Chicken-users] Compiling the openssl egg on OS X
Date: Wed, 16 Mar 2016 11:57:31 -0400
User-agent: Mutt/ (2014-03-12)

On Wed, Mar 16, 2016 at 02:24:23PM +0000, Norman Gray wrote:
> I'm having difficulty installing the openssl egg on OS X 10.10.  I'd be
> surprised if I'm the first person to encounter this problem, but I can't
> find anything about it in the mail archive.
> When I attempt to install the egg with 'chicken-install openssl' it fails as
> shown below.  This will ultimately be because, if I recall correctly, Apple
> have deprecated OpenSSL in favour of their own crypto framework (I believe
> there was a long argument about API changes between releases, or something
> like that).
> I can of course install openssl elsewhere, and have done so, but looking at
> the chicken-install --help text, I can't see any way of directing
> chicken-install to this alternate location (I tried -I /path/to/install,
> just on the off-chance, but...).  Is there any way of adjusting the paths
> for the compilation step in chicken-install?
> I discovered this problem because I managed yesterday to get my application
> building with modules (thanks to the list!), and the dependency information
> in that seems to require the openssl egg be present.  Building the same
> application with only compilation units appears to work fine without openssl
> installed (it doesn't actually use openssl functionality).
> Thanks for any pointers or workarounds.

I just ran into this a few weeks ago. I ended up downloading the openssl
egg and modifying openssl.setup to look like:

   -O2 -d0 -s -j openssl "openssl.scm" -lssl -lcrypto)
  (compile -O2 -d0 -s openssl.import.scm)
   -O2 -d0 -c "openssl.scm" -lssl -lcrypto
   -o openssl-static.o -unit openssl -D static)))

I added the -I/path/to/openssl/include and -L/path/to/openssl/lib to get
it to install. I install openssl with homebrew if that matters. Seems to
work for me now.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]