the engines/Makefile install target will try to install files into 
$(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines, but it doesnt make sure the 
directory exists before doing so.  simple patch to use the included mkdir-p.pl 
script to create the dir first.

the trivial patch is against the OpenSSL_0_9_8-stable branch
-mike

Index: engines/Makefile
===================================================================
RCS file: /usr/local/src/openssl/CVSROOT/openssl/engines/Makefile,v
retrieving revision 1.6.2.12
diff -u -p -r1.6.2.12 Makefile
--- engines/Makefile	10 Aug 2009 14:37:50 -0000	1.6.2.12
+++ engines/Makefile	26 Oct 2009 10:34:50 -0000
@@ -92,6 +92,7 @@ install:
 	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
 	@if [ -n "$(SHARED_LIBS)" ]; then \
 		set -e; \
+		$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines; \
 		for l in $(LIBNAMES); do \
 			( echo installing $$l; \
 			  if [ "$(PLATFORM)" != "Cygwin" ]; then \

Reply via email to