./config gets stuck here:

WARNING! If you wish to build 64-bit kit, then you have to
       invoke './Configure aix64-cc' *manually*.
       You have ~5 seconds to press Ctrl-C to abort

The tty was set with -icanon but I believe the problem is the config script 
says '#! /bin/sh'.  On AIX, /bin/sh is actually ksh and ksh mucks with the tty 
settings between commands.  ksh is also reading input in raw mode.  For some 
reason, this ksh doesn't understand it was not interactive. This may be due so 
something weird I have in my .kshrc -- not sure.  I'm somewhere around 5.3 TL06 
with various patches.  This is for openssl-1.0.0c.

I changed it to use /bin/bsh directly.

diff -c /tmp $f
*** /tmp/config Wed Dec 22 17:50:49 2010
--- ./openssl-1.0.0c/config    Wed Dec 22 17:51:43 2010
***************
*** 797,803 ****
               echo "         invoke './Configure aix64-cc' *manually*."
               if [ "$TEST" = "false" -a -t 1 ]; then
                   echo "         You have ~5 seconds to press Ctrl-C to abort."
!                   (trap "stty `stty -g`" 2 0; stty -icanon min 0 time 50; 
read waste) <&1
               fi
           fi
       fi
--- 797,803 ----
               echo "         invoke './Configure aix64-cc' *manually*."
               if [ "$TEST" = "false" -a -t 1 ]; then
                   echo "         You have ~5 seconds to press Ctrl-C to abort."
!                   (trap "stty `stty -g`" 2 0; /bin/bsh -c 'stty -icanon min 0 
time 50; read waste') <&1
               fi
           fi
       fi

I'm not on this mailing list so please include my email if you want to reply 
back to me.

Good luck and thank you for the open software.

pedz

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to