Re: Hello@All

2020-05-29 Thread gilles
May 28, 2020 10:51 AM, drav...@dravionsoftware.com wrote:

> Hi,
> 

Hi,


> I want to introduce myself to the list ;d
> 

Welcome


> By the way, is there anybody out there, tried to make OpenSMTPD work on
> Cygwin/Windows?
> 
> I was able to built OpenSMTPD under Windows Subsystem for Windows (WSL),
> but i am curious and eager to know if someone had some progress, making
> it work on Cygwin,
> MinGW of MSYS2 as well.
> 

No one has ever discussed this with me so I'm fairly confident no one tried :-)



Re: Hello@All + Cygwin64

2020-05-29 Thread chris
You may want to omit '--with-libs=/usr/local/lib' and instead target
individual libraries, e.g. '--with-cflags="-I/usr/local/openssl/include"
--with-ldflags="-L/usr/local/openssl/lib"' ; the aforementioned is
causing gcc to attempt to output over a directory. (as per config.log)



Re: Hello@All + Cygwin64

2020-05-29 Thread drav...@dravionsoftware.com


On 5/29/2020 9:11 PM, chris wrote:
> You may want to omit '--with-libs=/usr/local/lib' and instead target
> individual libraries, e.g. '--with-cflags="-I/usr/local/openssl/include"
> --with-ldflags="-L/usr/local/openssl/lib"' ; the aforementioned is
> causing gcc to attempt to output over a directory. (as per config.log)

i tested it:

./configure '--with-cflags="-I/usr/local/include"
--with-ldflags="-L/usr/local/lib"'

but the outcome is still the same.

#Error
checking if compiler allows __attribute__ on return types... yes
checking compiler and flags for sanity... no
configure: error: *** compiler cannot create working executables, check

I guess it's something else, maybe it has some problems figuring out my
system specs (which are not Linux/Not Unix) ;-)

uname -a CYGWIN_NT-10.0 CAMELOT 3.1.4(0.340/5/3) 2020-02-19 08:49 x86_64
Cygwin

My libressl build works fine.
Dravion@CAMELOT /usr/local/include

$ ls -la
total 24
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 .
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 ..
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 openssl
-rw-r--r--  1 Dravion None 9416 May 29 14:13 tls.h

Dravion@CAMELOT /usr/local/lib
$ ls -la
total 22036
drwxr-xr-x+ 1 Dravion None    0 May 29 14:14 .
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 ..
-rw-r--r--  1 Dravion None 16054220 May 29 14:13 libcrypto.a
-rw-r--r--  1 Dravion None  2439224 May 29 14:12 libcrypto.dll.a
-rw-r--r--  1 Dravion None  910 May 29 14:12 libcrypto.la
-rw-r--r--  1 Dravion None  346 May 29 14:13 libssl.a
-rw-r--r--  1 Dravion None   202402 May 29 14:13 libssl.dll.a
-rw-r--r--  1 Dravion None  923 May 29 14:13 libssl.la
-rw-r--r--  1 Dravion None   558660 May 29 14:13 libtls.a
-rw-r--r--  1 Dravion None    59596 May 29 14:13 libtls.dll.a
-rw-r--r--  1 Dravion None  948 May 29 14:13 libtls.la
drwxr-xr-x+ 1 Dravion None    0 May 29 14:14 pkgconfig

Dravion@CAMELOT /usr/local/bin
$ ./openssl version
LibreSSL 3.1.2