Hello, there is a bug in the build system when building openbsd-compat, if you configure e.g. --with-ssl-dir=../openssl and no other openssl is available on the system: gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I../openssl/include -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from bsd-arc4random.c:17: ../includes.h:183:63: openssl/opensslv.h: No such file or directory [...] ->grep CPPFLAGS Makefile CPPFLAGS=-I. -I$(srcdir) -I../openssl/include $(PATHS) -DHAVE_CONFIG_H $(CC) $(CFLAGS) $(CPPFLAGS) -c $< ->grep CPPFLAGS openbsd-compat/Makefile CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. -I../openssl/include -DHAVE_CONFIG_H $(CC) $(CFLAGS) $(CPPFLAGS) -c $< Sure thing there is a "../" missing for the openssl include, as the openbsd-compat files are one directory down. Perhaps esoteric, but still a bug. ;-) Regards Markus
If you want to do that, for now use "--with-ssl-dir=`pwd`/../openssl".
Created attachment 810 [details] prepend pwd to relative --with-openssl paths
Comment on attachment 810 [details] prepend pwd to relative --with-openssl paths this looks sane to me
Applied, thanks.
With the release of OpenSSH 4.0, these bugs are now closed. For details, see: http://www.openssh.com/txt/release-4.0