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: mfv
Subject: Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h
Date: Thu, 12 Dec 2013 21:34:21 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Claude, 

> 
> Have you see these?
> 
>     http://www.openssl.org/related/binaries.html
> 
>     http://qt-project.org/wiki/Compiling-OpenSSL-with-MinGW

Thank you for those links, I will look into them. 

> 
> There are likely other similar resources. Note that I have not used
> any of them. When faced with similar problems with MinGW, I now tend
> to move to cygwin. This sort of fight can be tiring and fruitless.

This is a possible solution, albeit a very dissatisfying one. The nice thing
would be to compile to windows binaries, and not to side step this by
installing a Cygwin system.


> Unix & Linux software just builds more easily with cygwin; this is
> expected since the mission of cygwin is to provide a compatibility
> layer between Unix/Linux/ POSIX software and MS Windows. Take a look
> at cugwin's license; some people do not like it.

I visited the #chicken channel on http://webchat.freenode.net/ and spoke
with sjamaan. After numerous attempts, this is how far we got: 

1.) I installed the openssh (dev) and zlip (dev) files with MinGW and we
fooled around with different compilation parameters. This is the last
result: 


    /////////////// installation batch file     

    @echo off
    set CSC_OPTIONS=-I/mingw/msys/1.0/include -rpath /mingw/msys/1.0/lib -L
-L/mingw/msys/1.0/lib -L -lwsock32 -L -lws2_32 -L -lwinmm -L -lz
    chicken-install openssl
     
    //////////////// win command prompt result
     
    D:\>inst
    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: Thu, 12 Dec 2013 20:09:23 GMT
    Server: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.9-dev DAV/2
    SVN/1.8.1 PH
    P/5.4.19 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
C:\Users\wuschel\AppData\Local\Temp/temp444c.4784/openssl
    checking platform for `openssl' ...
    checking dependencies for `openssl' ...
    install order:
    ("openssl")
    installing openssl:1.6.4 ...
    changing current directory to
    C:\Users\wuschel\AppData\Local\Temp/temp444c.4784/
    openssl
      "C:\Chicken\bin\csi" -bnq -setup-mode -e "(require-library setup-api)"
-e "(im
    port setup-api)" -e "(setup-error-handling)" -e
"(extension-name-and-version '(\
    "openssl\" \"1.6.4\"))"
"C:\Users\wuschel\AppData\Local\Temp\temp444c.4784\opens
    sl\openssl.setup"
      "C:\Chicken\bin\csc" -feature compiling-extension -setup-mode    -O2
-d0 -s -j
     openssl openssl.scm -lssl -lcrypto -lgdi32
    openssl.o:openssl.c:(.text+0x7d10): undefined reference to `RAND_screen'
    collect2.exe: error: ld returned 1 exit status
     
    Error: shell command terminated with non-zero exit status 1: ""gcc"
"openssl.o"
    -o "openssl.so" -Wl,--enable-auto-import -shared -L/mingw/msys/1.0/lib
    --lwsock32
     -lws2_32 -lwinmm -lz -lssl -lcrypto -lgdi32 -L"C:\Chicken/lib/"
    ---lchicken -lm -
    lws2_32"
     
    Error: shell command failed with nonzero exit status 1:
     
      "C:\Chicken\bin\csc" -feature compiling-extension -setup-mode    -O2
-d0 -s -j
     openssl openssl.scm -lssl -lcrypto -lgdi32
     
     
    Error: shell command terminated with nonzero exit code
    70
    "\"C:\\Chicken\\bin\\csi\" -bnq -setup-mode -e \"(require-library
    setup-api)\" -
    ...
    D:\>



Perhaps someone enlightened in the dark arts of windows MinGW could help out
here.

Cheers, 

  mfv





reply via email to

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