Building OpenSSH 3.5p1 on SunOS 4.1.4

From: John P. Martin (jpmartin@talk21.com)
Date: 12/31/02

  • Next message: Jan Van Rompaey: "address already in use"
    Date: Tue, 31 Dec 2002 17:50:24 +0000
    From: "John P. Martin" <jpmartin@talk21.com>
    To: secureshell@securityfocus.com
    
    

    Hi,
            I am having trouble building OpenSSH 3.5p1 under SunOS 4.1.4. I
    am using gcc 2.95.2, and have successfully built OpenSSL 0.9.6g and zlib
    1.1.4, but having unpacked gzipped tarball of OpenSSH, the "./configure"
    step fails. It appears to hang for a while (a few minutes) before
    generating any output, which looks like:

      $ ./configure
      ./configure: /tmp/sh104475: No such file or directory
      ./configure: /tmp/sh104476: No such file or directory
      ./configure: /tmp/sh104477: No such file or directory
      ./configure: /tmp/sh104478: No such file or directory
      ./configure: /tmp/sh104479: No such file or directory
      ./configure: /tmp/sh1044710: No such file or directory
      ./configure: /tmp/sh1044711: No such file or directory
      ./configure: /tmp/sh1044712: No such file or directory
      configure: loading cache /dev/null
      checking for gcc... gcc
      ./configure: /tmp/sh1044713: No such file or directory
      checking for C compiler default output... configure: error: C compiler
    cannot create executables

    I had a look at the configure script, and discovered that even
    "./configure --help" fails, and this appears to be caused by the "exec
    6>&1" section of script. I took out all the exec statements which
    redirected file descriptor 6, and "./configure --help" works, but a full
    configure fails as before.

    I suspect that there is something weird about SunOS' Bourne shell/exec,
    but I don't know where to go now. I checked the MARC archives, but
    can't find anything like this.

    Anybody got any ideas?

    Cheers,

    John.

    John P. Martin
    Senior Unix Systems Administrator
    G.I.S., Motorola.



    Relevant Pages

    • Re: endianness and failure with inline
      ... it fails with a similar message. ... "extern inline". ... This could be a bug. ... I have no idea why gcc is having issues with the inline specifier. ...
      (comp.lang.c)
    • incorrect old gcc exit code
      ... it is that it returns 0 always, no matter succeeded it in compiling or ... So no surprise configure script fails wherever it uses gcc to ... exits with a proper exit code: ...
      (comp.os.lynx)
    • Re: Fresh installed Freebsd 9 dont boot from hd
      ... gcc -Os -mrtd: Boots OK ... gcc -O1 -mrtd: Fails ... the array, then in one case it could be harmless (overwrites the sector ... I found a document that suggests a possibility of BIOS writing more bytes to the ...
      (freebsd-current)
    • Re: GCC broken?
      ... But it fails or i fail to build it. ... Maybe it doesn't like your non-standard ports location? ... GCC, unless somehow it got broken on your machine. ... Another possibility is hardware, with the front runner being memory. ...
      (freebsd-questions)
    • Re: Sparc ethernet interface
      ... sick of the canned GCC cross-compiler distributions being so poorly ... Good stuff with your build script, ... Trying to imagine what the gcc development environment is like, ...
      (comp.sys.sun.hardware)