This fix should be done in such a way that it is not wiped out by doing
a new configure which rebuilds config.h from config.h.in.  


----- Begin Included Message -----

>From [EMAIL PROTECTED] Sun May  9 08:25:02 1999
X-Authentication-Warning: lohi.clinet.fi: majordom set sender to [EMAIL PROTECTED] 
using -f
From: Sami Lehtinen <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Sun,  9 May 1999 17:18:49 +0300 (EEST)
To: "Cimarron Ryan" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject: RE: ssh on redhat 6.0
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
Content-Length: 1191

Cimarron Ryan writes:
  : http://www.replay.com/redhat/ssh.html
  : 
  : Down at the very bottom of the page.

--quote--
Remove the line: 
#define HAVE_UTMPX_H 1 
in config.h and apply this patch to login.c to get 1.2.26 to compile under
RedHat 6.0: 

*** login.c.dist        Wed Jul  8 09:40:36 1998
--- login.c     Fri Apr 30 14:43:33 1999
***************
*** 434,440 ****
      ux.ut_session = pid;
      strncpy(ux.ut_host, host, sizeof(ux.ut_host));
      ux.ut_host[sizeof(ux.ut_host) - 1] = 0;
-     ux.ut_syslen = strlen(ux.ut_host);
  #ifdef HAVE_SYSLEN_IN_UTMPX      ux.ut_syslen = strlen(ux.ut_host);
  #endif--- 434,439 ----
--end quote--

Why is it needed to remove the HAVE_UTMPX_H definition? I just
compiled ssh2 with and without that removed in sshconf.h (equivalent
to config.h in ssh1) and there was nothing that would've suggested a
change in ssh's behaviour.

(Obviously I had to patch ssh2 a bit, because vanilla ssh-2.0.12
doesn't compile with glibc-2.1.)

-- 
[[EMAIL PROTECTED]           --  Sami J. Lehtinen  --           [EMAIL PROTECTED]]
[work:+358 9 43543214][gsm:+358 50 5170 258][http://www.iki.fi/~sjl]
[SSH Communications Security Ltd.                http://www.ssh.fi/]


----- End Included Message -----

Reply via email to