Re: problem after patching openssh 3.7.1p2

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 11/26/03

  • Next message: Suresh Bangalore: "large files > 2GB support ?"
    Date: Wed, 26 Nov 2003 04:41:58 GMT
    
    

    In article <64b3dda3.0311251258.78a77c8e@posting.google.com>,
    Vahid <sunman@ureach.com> wrote:
    >Hi,
    >I am trying to get password expiry to work with openssh 3.7.1.p2
    >snapshot 20031118 on Solaris 8 so I applied
    >openssh-3.7.1p2-pwexp26.patch But I get the following compile error:
    >cc1: warning: changing search order for system directory
    >"/usr/local/include"
    >cc1: warning: as it has already been specified as a non-system
    >directory
    >auth-passwd.c: In function `do_tty_change_password':
    >auth-passwd.c:172: `PASSWD_PROGRAM_PATH' undeclared (first use in this
    >function)
    >auth-passwd.c:172: (Each undeclared identifier is reported only once
    >auth-passwd.c:172: for each function it appears in.)
    >make: *** [auth-passwd.o] Error 1
    >
    >I also applied patches pwexp24, 25 and then 26 for ssh 3.7.1.p2 but I
    >am still having problem compiling it.
    >What am I missing?

    You need to re-run configure (make distclean && ./configure) as the
    location of the "passwd" program is detected at configure time.

    >Also, I need to compile openssh on an HP-UX and AIX as well, do I need
    >to add other patches to the same tarball and carry the tarball on
    >different platforms to compile or I have to add patch to the base
    >tarball on each platform then compile it.

    You can compile the patched tarball on all those platforms (as long
    as you do "make distclean" before running configure). You do not need to
    re-patch.

    >Is there a reason that the latest OpenSSH tarball does not include all
    >the latest patches?

    There's a few: it's a large patch and the OpenSSH developers tend to be
    cautious, and there a a few pieces that the patch needs that are not
    present in OpenBSD's OpenSSH (on which the Portable OpenSSH is based).

    >Thank you,

    You're welcome.

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
        Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: Suresh Bangalore: "large files > 2GB support ?"

    Relevant Pages

    • Re: problem after patching openssh 3.7.1p2
      ... >>to add other patches to the same tarball and carry the tarball on ... >>tarball on each platform then compile it. ... it's a large patch and the OpenSSH developers tend to be ...
      (comp.security.ssh)
    • problem after patching openssh 3.7.1p2
      ... Also, I need to compile openssh on an HP-UX and AIX as well, do I need ... to add other patches to the same tarball and carry the tarball on ... different platforms to compile or I have to add patch to the base ...
      (comp.security.ssh)
    • Problem compiling openssh 3.9p1 on Solaris 8
      ... I just downloaded the source for OpenSSH 3.9p1 and tried to compile it ... We have gcc 3.2.2 and gcc 3.4.1 which I have tried both, ... make: Fatal error: Command failed for target `bsd-arc4random.o' ...
      (SSH)
    • Problem compiling openssh 3.9p1 on Solaris 8
      ... I just downloaded the source for OpenSSH 3.9p1 and tried to compile it ... We have gcc 3.2.2 and gcc 3.4.1 which I have tried both, ... make: Fatal error: Command failed for target `bsd-arc4random.o' ...
      (SSH)
    • Memory safety in OpenSSH
      ... instrumented version of the OpenSSH daemon on our group's server. ... If anyone is interested in using CCured to compile SSH on your system, ...
      (comp.security.ssh)