chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] How to compile with openssl?


From: Sascha Ziemann
Subject: [Chicken-users] How to compile with openssl?
Date: Tue, 7 Oct 2014 13:19:55 +0200

Hi,

I have a small program talking XML-RPC over HTTPS. When I run it with csi it works fine:

$ csi -s domrobot.scm 127.0.0.1
Record updated.

But when I try the compiled version I get an error:

$ csc domrobot.scm
$ ./domrobot 127.0.0.1

Error: (ssl-connect) Unable to connect over HTTPS. To fix this, install the openssl egg and try again: "https://api.domrobot.com/xmlrpc/"

        Call history:

        http-client#ensure-local-connections     
        http-client#connections-owner    
        current-thread   
        http-client#connections  
        hash-table-ref/default   
        open-output-string       
        uri-common#uri-host      
        write    
        write-char/port  
        uri-common#uri-port      
        uri-generic#uri-port     
        uri-generic#uri-scheme   
        alist-ref        
        write    
        get-output-string        
        raise           <--

This are the modules I use:

(use http-client
     uri-common
     uuid
     xml-rpc-client
     blowfish)

I tried to load all directly imported modules and also the indirectly imported openssl module before compilation:

(begin-for-syntax
 (require-extension openssl)
 (require-extension http-client)
 (require-extension uri-common)
 (require-extension uuid)
 (require-extension xml-rpc-client)
 (require-extension blowfish))

But this does not help.

Can anybody give me a hint what else I have to do to compile the program?

Regards,
Sascha


reply via email to

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