Re: [Chicken-users] Openssl with csc -deploy

2015-05-10 Thread Nick Van Horn
Peter Bex pe...@more-magic.net writes: At least in http-client there is no easy hook. But perhaps you could tweak the sources of http-client to make openssl a hard dependency. Simply add (use openssl) and remove the definition of ssl-connect. It seems like tweaking the source should work,

Re: [Chicken-users] Openssl with csc -deploy

2015-05-08 Thread Peter Bex
On Thu, May 07, 2015 at 11:40:40PM -0400, Nick Van Horn wrote: Thanks for the reply Peter. This won't help because Spiffy has a run-time dependency on openssl, which it tries to load via something like this: (define ssl-port? (handle-exceptions _ #f (eval `(let () (use ssl)

Re: [Chicken-users] Openssl with csc -deploy

2015-05-08 Thread Nick Van Horn
Then this is probably a bug: it seems that in deploy mode, evaled code does not use the deployment search path. I've created a ticket to track this bug: https://bugs.call-cc.org/ticket/1191 Great---thanks for doing this. This bug has derailed my plans to deploy this application on other

Re: [Chicken-users] Openssl with csc -deploy

2015-05-08 Thread Peter Bex
On Fri, May 08, 2015 at 11:52:06AM -0400, Nick Van Horn wrote: Then this is probably a bug: it seems that in deploy mode, evaled code does not use the deployment search path. I've created a ticket to track this bug: https://bugs.call-cc.org/ticket/1191 Great---thanks for doing this. This

Re: [Chicken-users] Openssl with csc -deploy

2015-05-08 Thread Evan Hanson
Hi Nick, I've used the following commands for this. The only difference is the third command, which copies CHICKEN's core libraries into the deployment directory. I have a hunch as to why this makes the difference, but it's orthogonal to your problem, so for now can you just try adding

Re: [Chicken-users] Openssl with csc -deploy

2015-05-07 Thread Peter Bex
On Thu, May 07, 2015 at 01:19:34AM -0400, Nick Van Horn wrote: The problem arises when I try to deploy with: csc -deploy foo.scm chicken-install -deploy -p ./foo openssl [... +other extensions] Both commands run without error. All extensions install in the deployment repository without

[Chicken-users] Openssl with csc -deploy

2015-05-06 Thread Nick Van Horn
Hello all, I have a problem similar to a recent post (http://lists.nongnu.org/archive/html/chicken-users/2014-10/msg00030.html) involving compiling an application that uses the openssl egg. The application runs interpreted via csi -s with no problems. I can also compile the program with 'csc