Re: Compiling OpenSSH with Kerberos support

From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 11/27/05


Date: Sun, 27 Nov 2005 12:57:10 -0500


"Vishal" <vishal@ti.com> wrote in message
news:dmcrdk$htt$1@home.itg.ti.com...
>I am trying to compile OpenSSH 3.7.1 for kerberos support on Solaris (8 &
>9)
>
> I am getting th efollowing error while running "make" on the openssh
> package.
>
> PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SER
> VER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/lib
> exec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DI
> R=\"/.empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAV
> E_CONFIG_H -c sshconnect1.c
> "auth.h", line 42: cannot find include file: <krb5.h>
> "auth.h", line 64: syntax error before or at: krb5_context
> "auth.h", line 64: cannot recover from previous errors
> cc: acomp failed for sshconnect1.c
> *** Error code 2
> make: Fatal error: Command failed for target `sshconnect1.o'
>
>
> Can somebody please help me.
>
> Thanks and regards,
>
> Vishal

Well, first, you're using OpenSSH 3.7.1. If possible, you should be using
the "p1" versions of OpenSSH that have the portability patches, and you
should be using the latest version, so that would be 4.2p1.

Second, it's clear you've left out some of the "make" results, because I
don't see your compiler in there. gcc, for example, will look in
/usr/local/lib and /usr/local/include, and might find your krb5.h include
file if you have it there. Sun's commercial compilers traditionally do *NOT*
look in /usr/local/lib or /usr/local/include, you'd need ot set up your
configuration appropriately to find those.



Relevant Pages

  • Re: SSH
    ... >> Although there is OpenSSH, I recommend you by it directly from ... Regards, ... Tom Hall ...
    (comp.unix.solaris)
  • Solaris 9 & sun ssh version or openssh ?
    ... How many of them use openssh rather than sun_ssh on solaris 9? ... Regards ... Fia ...
    (comp.unix.solaris)
  • FreeBSD Security Advisory: FreeBSD-SA-01:63.openssh
    ... OpenSSH is an implementation of the SSH1 and SSH2 secure shell ... An experimental upgrade package is available for users who wish to ... Verify the detached PGP signature using your PGP utility. ... Upgrade your entire ports collection and rebuild the OpenSSH port. ...
    (FreeBSD-Security)
  • FreeBSD Security Advisory FreeBSD-SA-01:63.openssh
    ... OpenSSH is an implementation of the SSH1 and SSH2 secure shell ... An experimental upgrade package is available for users who wish to ... Verify the detached PGP signature using your PGP utility. ... Upgrade your entire ports collection and rebuild the OpenSSH port. ...
    (FreeBSD-Security)
  • 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)