chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h
Date: Tue, 26 Nov 2013 18:52:55 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Tue, 26 Nov 2013 19:39:47 +0100 address@hidden wrote:

>> Do you have openssl/rand.h on your system?
>
> No, I do not have it on my system. That explains the error, I guess. 
>
> Think about it - rand.h seems to be a pretty basic header file, my bet would
> be on some kind of random number generator. 
>
> Where do I get those files from? Where should I put them? In the MingGW
> directory? 

I think it's shipped with OpenSSL.  You should put it in some directory
in the C compiler's headers search path.

Alternatively, you can put it in any arbitrary location and point to it
via CSC_OPTIONS (-I).

>> If so, the compiler is probably not able to locate it.  You can specify
>> its location in the CSC_OPTIONS environment variable.  Something like
>> 
>>    CSC_OPTIONS="-I/path/to/openssl/rand.h" chicken-install openssl
>> 
>> (Not sure if Windows' shell allows this command line syntax).
>
> Ok, I guess I have to try that out, then. The procedure would be to type all
> the compilation commands into the command line, or am I mistaken and I can
> adjust the chicken-install execution for this task?

I'm not sure I understand your question.

If you are talking about setting CSC_OPTIONS at each chicken-install
invocation, that's usually not necessary.  If you really need to tweak
it, you can set it in your shell (maybe in a file read by the shell at
startup time).

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

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