openssh 2.9p1 on Solaris 2.6 with AFS

David R Boldt dboldt at usgs.gov
Wed May 16 08:15:46 EST 2001


hello,

I'm attempting to compile 2.9p1 on Solaris 2.6 with AFS support.

I am not using Kerberos aside from AFS.  The installation notes state
that Kerberos IV is required by AFS.  Since the Kerberos libraries and
header files do not appear to be distributed with AFS, I downloaded and
installed  ftp://ftp.pdc.kth.se/pub/krb/src/krb4-1.0.8.tar.gz


./configure --sysconfdir=/etc/ssh --with-tcp-wrappers
--with-egd-pool=/var/run/egd-pool \
     --with-kerberos4=/usr/athena --with-afs=/usr/afsws \
--with-default-path=/usr/local/bin:/usr/xpg4/bin:/usr/bin:/opt/SUNWspro/bin:/usr/opt/SUNWmd/sbin:/usr/ucb:/usr/ccs/bin:/usr/openwin/bin:/usr/sbin


creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... sparc-sun-solaris2.6
checking whether byte ordering is bigendian... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD compatible install... ./install-sh -c
checking for ar... /usr/opt/bin/ar
checking for perl5... /usr/bin/perl5
checking for ent... no
checking for filepriv... no
checking for bash... /usr/opt/bin/bash
checking for ksh... (cached) /usr/opt/bin/bash
checking for sh... (cached) /usr/opt/bin/bash
checking for login... /usr/bin/login
checking for inline... inline
checking for obsolete utmp and wtmp in solaris2.x... no
checking for yp_match in -lnsl... yes
checking for main in -lsocket... yes
checking for innetgr in -lrpc... no
checking for getspnam in -lgen... yes
checking for deflate in -lz... yes
checking for login in -lutil... no
checking for regcomp... yes
checking for strcasecmp... yes
checking for utimes... yes
checking for strftime... yes
checking for bstring.h... no
checking for crypt.h... yes
checking for endian.h... no
checking for floatingpoint.h... yes
checking for getopt.h... no
checking for glob.h... yes
checking for lastlog.h... yes
checking for limits.h... yes
checking for login.h... no
checking for login_cap.h... no
checking for maillock.h... yes
checking for netdb.h... yes
checking for netgroup.h... no
checking for netinet/in_systm.h... yes
checking for paths.h... no
checking for poll.h... yes
checking for pty.h... no
checking for regex.h... yes
checking for shadow.h... yes
checking for security/pam_appl.h... yes
checking for sys/bitypes.h... no
checking for sys/bsdtty.h... no
checking for sys/cdefs.h... no
checking for sys/poll.h... yes
checking for sys/queue.h... no
checking for sys/select.h... yes
checking for sys/stat.h... yes
checking for sys/stropts.h... yes
checking for sys/sysmacros.h... yes
checking for sys/time.h... yes
checking for sys/ttcompat.h... yes
checking for sys/un.h... yes
checking for stddef.h... yes
checking for time.h... yes
checking for ttyent.h... no
checking for usersec.h... no
checking for util.h... no
checking for utime.h... yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for vis.h... no
checking for GLOB_ALTDIRFUNC support... no
checking for gl_matchc field in glob_t... no
checking whether struct dirent allocates space for d_name... no
checking for libwrap... yes
checking for arc4random... no
checking for atexit... yes
checking for b64_ntop... no
checking for bcopy... yes
checking for bindresvport_sa... no
checking for clock... yes
checking for fchown... yes
checking for fchmod... yes
checking for freeaddrinfo... no
checking for futimes... no
checking for gai_strerror... no
checking for getcwd... yes
checking for getaddrinfo... no
checking for getgrouplist... no
checking for getnameinfo... no
checking for getrlimit... yes
checking for getrusage... yes
checking for getttyent... no
checking for getusershell... yes
checking for glob... yes
checking for inet_aton... no
checking for inet_ntoa... yes
checking for inet_ntop... no
checking for innetgr... yes
checking for login_getcapbool... no
checking for md5_crypt... no
checking for memmove... yes
checking for mkdtemp... no
checking for on_exit... no
checking for openpty... no
checking for realpath... yes
checking for rresvport_af... no
checking for setdtablesize... no
checking for setenv... yes
checking for setegid... yes
checking for seteuid... yes
checking for setlogin... no
checking for setproctitle... no
checking for setresgid... no
checking for setreuid... yes
checking for setrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for sigvec... no
checking for snprintf... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strmode... no
checking for strsep... no
checking for strtok_r... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for utimes... (cached) yes
checking for vsnprintf... yes
checking for vhangup... yes
checking for vis... no
checking for waitpid... yes
checking for _getpty... no
checking for __b64_ntop... no
checking for gettimeofday... yes
checking for time... yes
checking for libutil.h... no
checking for login... no
checking for logout... no
checking for updwtmp... yes
checking for logwtmp... no
checking for endutent... yes
checking for getutent... yes
checking for getutid... yes
checking for getutline... yes
checking for pututline... yes
checking for setutent... yes
checking for utmpname... yes
checking for endutxent... yes
checking for getutxent... yes
checking for getutxid... yes
checking for getutxline... yes
checking for pututxline... yes
checking for setutxent... yes
checking for utmpxname... yes
checking for getuserattr... no
checking for getuserattr in -ls... theno
checking for login... (cached) no
checking for login in -lbsd... no
checking for daemon... no
checking for daemon in -lbsd... no
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings... yes
checking whether getpgrp takes no argument... yes
checking for OpenSSL directory... /usr/local/ssl
checking for RSA support... yes
checking size of char... 1
checking size of short int... 2
checking size of int... 4
checking size of long int... 4
checking size of long long int... 8
checking for u_int type... yes
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... no
checking for u_int64_t types... no
checking for uintXX_t types... yes
checking for socklen_t... no
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... no
checking for struct sockaddr_in6... no
checking for struct in6_addr... no
checking for struct addrinfo... no
checking for struct timeval... yes
checking for ut_host field in utmp.h... no
checking for ut_host field in utmpx.h... yes
checking for syslen field in utmpx.h... yes
checking for ut_pid field in utmp.h... yes
checking for ut_type field in utmp.h... yes
checking for ut_type field in utmpx.h... yes
checking for ut_tv field in utmp.h... no
checking for ut_id field in utmp.h... yes
checking for ut_id field in utmpx.h... yes
checking for ut_addr field in utmp.h... no
checking for ut_addr field in utmpx.h... no
checking for ut_addr_v6 field in utmp.h... no
checking for ut_addr_v6 field in utmpx.h... no
checking for ut_exit field in utmp.h... yes
checking for ut_time field in utmp.h... yes
checking for ut_time field in utmpx.h... yes
checking for ut_tv field in utmpx.h... yes
checking for st_blksize in struct stat... yes
checking for sun_len field in struct sockaddr_un... no
checking for ss_family field in struct sockaddr_storage... no
checking for __ss_family field in struct sockaddr_storage... no
checking for pw_class field in struct passwd... no
checking if libc defines __progname... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for krb.h... yes
checking for main in -lkrb... yes
checking for des_cbc_encrypt in -ldes...  theyes
checking for dn_expand in -lresolv... yes
checking for rsh... /usr/opt/bin/rsh
checking for xauth... /usr/openwin/bin/xauth
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for /dev/urandom... no
checking for PRNGD/EGD socket... /var/run/egd-pool
checking for ls... /usr/xpg4/bin/ls
checking for netstat... /usr/bin/netstat
checking for arp... /usr/sbin/arp
checking for ifconfig... /usr/sbin/ifconfig
checking for ps... /usr/bin/ps
checking for w... /usr/bin/w
checking for who... /usr/xpg4/bin/who
checking for last... /usr/bin/last
checking for lastlog... no
checking for df... /usr/xpg4/bin/df
checking for vmstat... /usr/bin/vmstat
checking for uptime... /usr/bin/uptime
checking for ipcs... /usr/bin/ipcs
checking for tail... /usr/opt/bin/tail
checking for nroff... /usr/bin/nroff
checking if the systems has expire shadow information... yes
checking if we need to convert IPv4 in IPv6-mapped addresses... no
(default)
checking whether to install ssh as suid root... yes
checking if your system defines LASTLOG_FILE... no
checking if your system defines _PATH_LASTLOG... no
checking if your system defines UTMP_FILE... yes
checking if your system defines WTMP_FILE... yes
checking if your system defines UTMPX_FILE... yes
checking if your system defines WTMPX_FILE... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix...  atno
updating cache ./config.cache
creating ./config.status
 acreating Makefile
creating openbsd-compat/Makefile
creating ssh_prng_cmds
creating config.h
 unit of the right to
OpenSSH has been configured with the following options:
                 User binaries: /usr/local/bin
               System binaries: /usr/local/sbin
           Configuration files: /etc/ssh
               Askpass program: /usr/local/libexec/ssh-askpass
                  Manual pages: /usr/local/man/manX
                      PID file: /var/run
        sshd default user PATH:
/usr/local/bin:/usr/xpg4/bin:/usr/bin:/opt/SUNWspro/bin:/usr/opt/SUNWmd/sbin:/usr/ucb:/usr/ccs/bin:/usr/openwin/bin:/usr/sbin
      Random number collection: PRNGD/EGD (socket /var/run/egd-pool)
                Manpage format: man
                   PAM support: no
            KerberosIV support: yes
                   AFS support: yes
                 S/KEY support: no
          TCP Wrappers support: yes
          MD5 password support: no
   IP address in $DISPLAY hack: no
      Use IPv4 by default hack: no
       Translate v4 in v6 hack: no

              Host: sparc-sun-solaris2.6
          Compiler: gcc
    Compiler flags: -g -O2 -Wall
Preprocessor flags: -I/usr/local/ssl/include  -I/usr/local/include
-I/usr/athena/include -I/usr/afsws/include
      Linker flags: -R/usr/local/ssl/lib -L/usr/local/ssl/lib
-L/usr/local/lib -R/usr/local/lib -L/usr/athena/lib -R/usr/athena/lib
-L/usr/afsws/lib
         Libraries: -lkafs -lresolv -ldes -lkrb -lwrap -lz -lsocket -lnsl
-lgen -lcrypto -ldes



attempting to compile generates the following error messages:

gcc -O2 -Wall -I. -I. -I/usr/local/ssl/include  -I/usr/local/include
-I/usr/athena/include -I/usr/afsws/include -DETCDIR=\"/etc/ssh\"
-D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT
=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER
=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_PIDDIR=\"/var/run\"
-DHAVE_CONFIG_H -c radix.c
In file included from /usr/athena/include/krb.h:17,
                 from radix.c:31:
/usr/athena/include/ktypes.h:14: redefinition of `u_int8_t'
defines.h:169: `u_int8_t' previously declared here
/usr/athena/include/ktypes.h:15: redefinition of `u_int16_t'
defines.h:170: `u_int16_t' previously declared here
/usr/athena/include/ktypes.h:16: redefinition of `u_int32_t'
defines.h:171: `u_int32_t' previously declared here
gmake: *** [radix.o] Error 1


                                          -- David Boldt
                                             <dboldt at usgs.gov>





More information about the openssh-unix-dev mailing list