Andreas Rother wrote:> I try to build the latest openssh-3.2.3.1 package and get the following
> errors:
> bash-2.05# make
> ===> Configuring for openssh-3.2.3.1
> configure: WARNING: If you wanted to set the --build type, don't use
--host.
> cat: stdout: Input/output error
> checking for C compiler default output... cat: conftest.c: Is a directory
conftest.c is a directory? That's wierd!
I don't recognise the output from make. Is that from a port?
> configure: error: C compiler cannot create executables
I suggest you download the vanilla source (eg from
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-3.2.3p1.tar.gz)
and try building from that. If that fails, open a bugzilla bug
(http://bugzilla.mindrot.org) and attach a compressed copy of of
config.log.
3.2.3p1 works for me (NetBSD/sparc 1.5.2 on a SS5) using a vanilla
OpenSSH portable tarball.
# uname -a
NetBSD sparc5 1.5.2 NetBSD 1.5.2 (GENERIC) #0: Wed Aug 22 04:33:09 CST
2001
toor at proxima:/usr/src/sys/arch/sparc/compile/GENERIC sparc
# gzip -dc openssh-3.2.3p1.tar.gz |tar xf -
# cd openssh-3.2.3p1
# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
[snip]
# make
[snip]
# file sshd
sshd: ELF 32-bit MSB executable, SPARC, version 1, dynamically linked
(uses shared libs), not stripped
--
Darren Tucker (dtucker at zip.com.au)
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.