Compiling OpenSSH 3.2.3p1 on SunOS 4.1.4

From: David Foster (foster@dim.ucsd.edu)
Date: Tue Jun 11 2002 - 20:01:53 EDT


I've been using OpenSSH on all our systems for years, including two
Sparc 10's with SunOS 4.1.4 (interface to legacy microscopes).

The last version to compile cleanly was 2.9.9p1; versions 3.1 and
3.2.3p1 both give the following when configuring:

$ ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc/openssh \
? --sbindir=/usr/bin --with-ipv4-default --with-ssl-dir=/usr/local/lib \
? --with-catman=cat --with-zlib=/usr/local/lib
./configure: /tmp/sh190245: No such file or directory
./configure: /tmp/sh190246: No such file or directory
./configure: /tmp/sh190247: No such file or directory
./configure: /tmp/sh190248: No such file or directory
./configure: /tmp/sh190249: No such file or directory
./configure: /tmp/sh1902410: No such file or directory
./configure: /tmp/sh1902411: No such file or directory
./configure: /tmp/sh1902412: No such file or directory
configure: loading cache /dev/null
checking for gcc... gcc
./configure: /tmp/sh1902413: No such file or directory
checking for C compiler default output... configure: error: C compiler cannot
create executables

Gcc is installed, CC=gcc, and the compiler definitely works (worked for
2.9.9p1!):

        $ cat > try.c
        #include <stdio.h>

        int main( int argc, char **argv )
        {
                printf( "Hello world.\n" );
                exit( 0 );
        }
        $ gcc -o try try.c
        $ ./try
        Hello world.

Any ideas greatly appreciated.

Dave Foster

  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   David Foster National Center for Microscopy and Imaging Research
    Programmer/Analyst University of California, San Diego
    dfoster@ucsd.edu Department of Neuroscience, Mail 0608
    (858) 534-7968 http://ncmir.ucsd.edu/
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

   "The reasonable man adapts himself to the world; the unreasonable one
   persists in trying to adapt the world to himself. Therefore, all progress
   depends on the unreasonable." -- George Bernard Shaw
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:27 EDT