On Wed, Jul 24, 2019 at 10:29:34AM +0200, Harald Dunkel wrote:
> Hi Gilles,
> 
> On 7/23/19 11:58 AM, Gilles Chehade wrote:
> > Hello people,
> > 
> > The portable branch of OpenSMTPD should build with OpenSSL again as long
> > as your system is using >= 1.1.x
> > 
> 
> This is excellent news. I highly appreciate the new portable
> version. This solves a lot of problems in my environment.
> 

great ;-)


> > OpenSMTPD portable has been built and tested with Ubuntu only, please do
> > provide feedback !
> > 
> 
> On a first build (Debian 9) configure returned an error
> 
> checking if programs using libevent functions will link... no
> checking openssl/opensslv.h usability... yes
> checking openssl/opensslv.h presence... yes
> checking for openssl/opensslv.h... yes
> configure: error: *** Can't find recent LibreSSL libcrypto (see config.log 
> for details) ***
> 
> 
> but actually libevent was missing:
> 
> :
> configure:19442: checking openssl/opensslv.h usability
> configure:19442: gcc -c -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
> -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess 
> -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset 
> -D_BSD_SOURCE -D_DEFAULT_SOURCE  -I/usr/local/ssl/include  conftest.c >&5
> configure:19442: $? = 0
> configure:19442: result: yes
> configure:19442: checking openssl/opensslv.h presence
> configure:19442: gcc -E -I/usr/local/ssl/include  conftest.c
> configure:19442: $? = 0
> configure:19442: result: yes
> configure:19442: checking for openssl/opensslv.h
> configure:19442: result: yes
> configure:19468: gcc -o conftest -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
> -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess 
> -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset 
> -D_BSD_SOURCE -D_DEFAULT_SOURCE  -I/usr/local/ssl/include  
> -L/usr/local/ssl/lib  conftest.c -lcrypto -lssl -levent -lasr -lcrypt 
> -lresolv  >&5
> /usr/bin/ld: cannot find -levent
> collect2: error: ld returned 1 exit status
> :
> 
> After installing the missing package it built fine.
> 

This is a known issue, I'm working on simplifying the configure layer as
a there is a lot of room for improvement.

I have tried to tackle this multiple times but not successfully yet ;-)


> I will check runtime ASAP.
> 

Great !

Keep on providing feedback please !

-- 
Gilles Chehade                                                 @poolpOrg

https://www.poolp.org            patreon: https://www.patreon.com/gilles

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to