This little patch allows you to compile mixmaster on MacOS X if you have installed OpenSSL via the fink package manager. First do yourself a favour and type "sudo ln -s /usr/bin/cc /usr/local/bin/gcc" If you haven't already get fink at http://fink.sourceforge.net/ and after installing it do 'fink install openssl ncurses'. Then unpack mixmaster, cd to the directory containing Mix-2.9beta31 if needed and type 'patch -p0 < mix-2.9b31-macosxwithfink.patch', cd to Mix-2.9beta31 and type './Install' --drt@un.bewaff.net - http://c0re.jp/ BTW: the OpenSSL on my System had Version 0x0090600fL which broke the Install script. I have fixed this by changing 'f' to '0'. diff -ur Mix-2.9beta31-orig/Src/pcre-2.08/Makefile Mix-2.9beta31/Src/pcre-2.08/Makefile --- Mix-2.9beta31-orig/Src/pcre-2.08/Makefile Tue Aug 31 16:41:24 1999 +++ Mix-2.9beta31/Src/pcre-2.08/Makefile Sat Sep 29 23:09:33 2001 @@ -53,7 +53,7 @@ AR = ar cq CC = gcc -O2 -Wall CFLAGS = -RANLIB = @true +RANLIB = ranlib # If you are going to obey "make install", edit these settings for your # system. BINDIR is the directory in which the pgrep command is installed. diff -ru Mix-2.9beta31-orig/Install Mix-2.9beta31/Install --- Mix-2.9beta31-orig/Install Wed Sep 19 03:33:03 2001 +++ Mix-2.9beta31/Install Sat Sep 29 23:47:34 2001 @@ -390,7 +390,14 @@ then findlib libeay32.a else - findlib libcrypto.a + if [ "$system" = Darwin ] + then + LIBDIR=/sw/lib + INCDIR=/sw/include/ + findlib libcrypto.dylib + else + findlib libcrypto.a + fi fi if [ "$found" = "" ] then @@ -423,7 +430,7 @@ # Find the OpenSSL version header if [ -f $INCDIR/openssl/opensslv.h ] then - version=`grep 'SSL.*_VERSION_NUMBER.*0x' $INCDIR/openssl/opensslv.h | sed 's/.*0x0*//;s/[ ].*//;s/L$//'` + version=`grep 'SSL.*_VERSION_NUMBER.*0x' $INCDIR/openssl/opensslv.h | sed 's/.*0x0*//;s/[ ].*//;s/L$//;s/f$/0/'` fi if [ "$version" = "" ] then @@ -455,8 +462,8 @@ fi fi - LIBDIR= - INCDIR=/usr/include/ncurses + LIBDIR="/sw/lib" + INCDIR="/usr/include/ncurses /sw/include" SRCDIR=ncurses* CONFIG=--enable-termcap if [ "$TERMINFO" != "" ] @@ -477,6 +484,11 @@ findlib libcurses.a else findlib libncurses.a + fi + # workarround for strange Apple MaxOS X Problem + if [ `uname` = Darwin ] + then + findlib libcurses.dylib fi if [ "$found" = "" ] then