At the end of the "make install" if [ -f /usr/local/etc/ssh_host_rsa_key ] ; then \ echo "/usr/local/etc/ssh_host_rsa_key already exists, skipping." ; \ else \ ./ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N "" ; \ fi ; \ fi ; ./ssh-keygen: syntax error at line 4: `^A\223^\^Bn^BH^By^A' unexpected *** Error code 2 make: Fatal error: Command failed for target `host-key'
Only a guess but worth checking: I've seen binaries corrupted on Solaris/SPARC when programs linked by /usr/ccs/bin/ld are stripped with GNU strip. Try putting /usr/ccs/bin at the start of your path and recompiling.
This is a GNU Binutils issue. Where their strip command is broken. Please address it with them.
The strip bug has been fixed in binutils-2.13.
Mass change of RESOLVED bugs to CLOSED