Juan Carlos Castro y Castro <[EMAIL PROTECTED]>:

> 3) The output of the previous command is in makedepend.out.gz. I got
> lots of warnings about <cipher>.h missing, but the first one is about
> some "buildinf.h" which worries me.

crypto/buildinf.h does not exist at that stage ... this should help
(patch for crypto/Makefile.ssl):

--- Makefile.ssl        1999/07/29 12:57:21     1.49
+++ Makefile.ssl        1999/08/02 20:51:48
@@ -122,7 +122,9 @@
        done;
 
 depend:
+       if [ ! -e buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does 
+not exist
        $(MAKEDEPEND) $(INCLUDE) $(DEPFLAG) $(PROGS) $(LIBSRC)
+       if [ ! -s buildinf.h ]; then rm buildinf.h; fi
        @for i in $(SDIRS) ;\
        do \
        (cd $$i; echo "making depend in crypto/$$i..."; \


Many errors for missing ciphers can be blamed on a typo in
crypto/x509v3/Makefile.ssl; patch:

--- Makefile.ssl        1999/06/21 10:04:46     1.36
+++ Makefile.ssl        1999/08/02 20:47:32
@@ -71,7 +71,7 @@
        lint -DLINT $(INCLUDES) $(SRC)>fluff
 
 depend:
-       $(MAKEDEPEND) $(INCLUDES) $(DEPFLFAG) $(PROGS) $(LIBSRC)
+       $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
 
 dclean:
        $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) 
>Makefile.new

Also test/Makefile.ssl needs a patch:

--- Makefile.ssl        1999/05/21 11:16:48     1.22
+++ Makefile.ssl        1999/08/02 21:02:34
@@ -219,7 +219,7 @@
        lint -DLINT $(INCLUDES) $(SRC)>fluff
 
 depend:
-       $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(SRC)
+       $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC)
 
 dclean:
        $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) 
>Makefile.new


With that much disabled, there's no chance to build from the top
directory -- but "make DIRS=crypto" (or, equivalently, running make
from within directory crypto) should work and build libcrypto.a.


>                                     Well, let's go to "make".

> 4) Yikes! No make! All I got is this:
> 
> making all in crypto...
> make[1]: Entering directory `/home/jcastro/openssl/work/crypto'
> make[1]: *** No rule to make target `all'.  Stop.
> make[1]: Leaving directory `/home/jcastro/openssl/work/crypto'
> make: *** [all] Error 1

Does the link Makefile (to Makefile.ssl) exist?  Apparently not,
but it should automatically be there.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to