chicken-users
[Top][All Lists]
Advanced

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

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


From: Norman Gray
Subject: [Chicken-users] Compiling the openssl egg on OS X
Date: Wed, 16 Mar 2016 14:24:23 +0000


Greetings.

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.

Best wishes,

Norman




% chicken-install openssl
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=openssl&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Tue, 15 Mar 2016 21:24:40 GMT
Server: Apache/2.2.29 (Unix) DAV/2 SVN/1.8.10 PHP/5.4.32 mod_fastcgi/2.4.6
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ..
reading files ...
  ./openssl.meta
  ./openssl.scm
  ./openssl.setup
openssl located at /var/folders/7b/1fldmb290mzbgxppkpwwffx40000gn/T/tempa69c.10036/openssl
checking platform for `openssl' ...
checking dependencies for `openssl' ...
install order:
("openssl")
installing openssl:1.7.0 ...
changing current directory to /var/folders/7b/1fldmb290mzbgxppkpwwffx40000gn/T/tempa69c.10036/openssl '/Data/tools/chicken-4.10.0/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"openssl\" \"1.7.0\"))" 'openssl.setup' '/Data/tools/chicken-4.10.0/bin/csc' -feature compiling-extension -setup-mode -O2 -d0 -s -j openssl openssl.scm -lssl -lcrypto
openssl.c:33:10: fatal error: 'openssl/err.h' file not found
#include <openssl/err.h>
         ^
1 error generated.

Error: shell command terminated with non-zero exit status 256: '/Applications/Xcode.app/Contents/Developer/usr/bin/gcc' 'openssl.c' -o 'openssl.o' -c -fno-strict-aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I"/Data/tools/chicken-4.10.0/include/chicken"

Error: shell command failed with nonzero exit status 256:

'/Data/tools/chicken-4.10.0/bin/csc' -feature compiling-extension -setup-mode -O2 -d0 -s -j openssl openssl.scm -lssl -lcrypto


Error: shell command terminated with nonzero exit code
17920
"'/Data/tools/chicken-4.10.0/bin/csi' -bnq -setup-mode -e \"(require-library set...
%


--
Norman Gray  :  https://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK



reply via email to

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