Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem installing SSH

Status
Not open for further replies.

maslett

Technical User
Mar 11, 2004
121
GB
Hi, I have to install SSH on a unix IVR at work - I have some Unix experience but am a tad stuck on this.

The program I'm trying to install is ssh-2.0.13, I have done:
Code:
./configure
make
The configure seemed to run OK but I got a fatal error during the make. The logs are below.

Thanks in advance - if I get this done the boss will be happy :)

configure.log
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:634: checking host system type
configure:655: checking target system type
configure:673: checking build system type
configure:696: checking cached information
configure:723: checking for a BSD compatible install
configure:776: checking whether build environment is sane
configure:833: checking whether make sets ${MAKE}
configure:879: checking for working aclocal
configure:892: checking for working autoconf
configure:905: checking for working automake
configure:918: checking for working autoheader
configure:931: checking for working makeinfo
configure:954: checking for gcc
configure:1031: checking whether the C compiler (cc -g ) works
configure:1045: cc -o conftest -g   conftest.c  1>&5
configure:1065: checking whether the C compiler (cc -g ) is a cross-compiler
configure:1070: checking whether we are using GNU C
configure:1146: checking whether to enable verbose warnings
configure:1193: checking for POSIXized ISC
configure:1217: checking for ranlib
configure:1252: checking for ar
configure:1285: checking for gm4
configure:1315: checking whether make sets ${MAKE}
configure:1352: checking for a BSD compatible install
configure:1423: checking how to run the C preprocessor
configure:1484: checking for ANSI C header files
configure:1588: checking whether time.h and sys/time.h may both be included
configure:1627: checking for dirent.h that defines DIR
configure:1665: checking for opendir in -ldir
configure:1748: checking whether stat file-mode macros are broken
configure:1804: checking for sys/wait.h that is POSIX.1 compatible
configure:1847: checking return type of signal handlers
configure:1888: checking for size_t
configure:1921: checking for off_t
configure:1954: checking for mode_t
configure:1987: checking size of long
configure:2026: checking size of int
configure:2065: checking size of short
configure:2104: checking size of long long
configure:2146: checking for getenv
configure:2146: checking for geteuid
configure:2146: checking for localtime
configure:2146: checking for nanosleep
configure:2146: checking for sleep
configure:2200: checking for working const
configure:2275: checking for inline
configure:2315: checking whether byte ordering is bigendian
configure:2410: checking for termios.h
configure:2451: checking for sys/ioctl.h
configure:2489: checking whether to enable light debugging
configure:2514: checking whether to enable heavy debugging
configure:2543: checking whether to enable EFENCE memory allocation debugger
configure:2566: checking whether to enable assembler optimized subroutines
configure:2774: checking for main in -lnsl
configure:2819: checking for socket in -lsocket
configure:2868: checking for sys/wait.h that is POSIX.1 compatible
configure:2913: checking for lastlog.h
configure:2913: checking for utmp.h
configure:2913: checking for shadow.h
configure:2953: checking for sys/select.h
configure:2953: checking for sys/ioctl.h
configure:2993: checking for utime.h
configure:2993: checking for ulimit.h
configure:2993: checking for sys/resource.h
configure:2993: checking for netdb.h
configure:2993: checking for netgroup.h
configure:3031: checking for bcopy in -lbsd
configure:3081: checking for gettimeofday
configure:3081: checking for times
configure:3081: checking for getrusage
configure:3081: checking for ftruncate
configure:3136: checking for strchr
configure:3136: checking for memcpy
configure:3136: checking for clock
configure:3136: checking for fchmod
configure:3136: checking for ulimit
configure:3136: checking for umask
configure:3191: checking for waitpid
configure:3249: checking for X
configure:4080: checking whether ln -s works
configure:4163: checking whether to support SecurID
configure:4206: checking whether to support TIS authentication server
configure:4235: checking whether to use libwrap
configure:4339: checking whether to allow group writeability
configure:4358: checking for ssh1
configure:4388: checking for compatible ssh1
configure:4414: checking whether to include the ssh-agent1 compatibility
configure:4441: checking for default SOCKS server
configure:4469: checking etcdir
configure:4497: checking whether to install ssh-signer as suid root
configure:4519: checking whether to disable tcp-port forwardings
configure:4541: checking whether to disable X11 forwarding
configure:4577: checking for times
configure:4577: checking for clock
configure:4632: checking for getpid
configure:4632: checking for getppid
configure:4632: checking for getuid
configure:4632: checking for getgid
configure:4632: checking for getpgrp
configure:4691: checking for nm
configure:4725: checking whether compiled symbols are prepended with underscore
configure:4790: checking for times
configure:4790: checking for clock
configure:4865: checking for tgetent in -ltermcap
configure:4944: checking for tgetent in -lxcurses
configure:4991: checking for tgetent in -lncurses
configure:5041: checking for termcap.h
configure:5041: checking for term.h
configure:5041: checking for curses.h
configure:5041: checking for termios.h
configure:5041: checking for termio.h
configure:5589: checking for utmpx.h
configure:5631: checking for vhangup
configure:5689: checking for setsid
configure:5744: checking for sys/wait.h that is POSIX.1 compatible
configure:5789: checking for sgtty.h
configure:5789: checking for libutil.h
configure:5789: checking for usersec.h
configure:5789: checking for login_cap.h
configure:5789: checking for sys/resource.h
configure:5829: checking for sia.h
configure:5829: checking for sys/mkdev.h
configure:5829: checking for util.h
configure:5829: checking for shadow.h
configure:5829: checking for arpa/inet.h
configure:5869: checking for sys/stream.h
configure:5869: checking for sys/conf.h
configure:5908: checking for revoke
configure:5908: checking for openpty
configure:5908: checking for _getpty
configure:5908: checking for setpgrp
configure:5908: checking for setpgid
configure:5908: checking for ttyslot
configure:5908: checking for authenticate
configure:5963: checking for makeutx
configure:5963: checking for setlogin
configure:5963: checking for openpty
configure:5963: checking for _getpty
configure:5963: checking for innetgr
configure:5963: checking for initgroups
configure:5963: checking for setpgrp
configure:6018: checking for signal
configure:6018: checking for setrlimit
configure:6018: checking for getrlimit
configure:6018: checking for setluid
configure:6018: checking for getpt
configure:6071: checking for crypt in -lc
configure:6158: checking for getspnam in -lsec
configure:6205: checking for get_process_stats in -lseq
configure:6255: checking for getspnam
configure:6255: checking for daemon
configure:6312: checking for minor
configure:6370: checking if minor is defined as a macro in <sys/mkdev.h>
configure:6382: cc -o conftest -g   conftest.c -ltermcap -lsocket -lnsl  1>&5
configure:6399: checking for /etc/default/login
configure:6412: checking for shadow passwords
configure:6426: checking for getspent in -lshadow
configure:6473: checking whether spwd have sp_expire field
configure:6494: checking whether spwd have sp_inact field
configure:6535: checking location of mail spool files
configure:6656: checking location of utmp
configure:6692: checking location of wtmp
configure:6726: checking location of lastlog
configure:6781: checking whether /var/adm/lastlog is a directory
configure:6795: checking for getpwnam in -lsun
configure:6844: checking for openpty in -lbsd
configure:6892: checking for login in -lutil
configure:6940: checking for vhangup
configure:6998: checking for setsid
configure:7053: checking for pseudo ttys
configure:7178: checking for main in -lnsl
configure:7272: checking for socket in -lsocket
configure:7323: checking for strchr
configure:7323: checking for memcpy
configure:7323: checking for gethostname
configure:7323: checking for gettimeofday
configure:7323: checking for ctime
configure:7323: checking for signal
configure:7378: checking for getservbyname
configure:7378: checking for getservbyport
configure:7433: checking for popen
configure:7433: checking for lockf
configure:7433: checking for getrusage
configure:7433: checking for uname
configure:7488: checking for getpid
configure:7488: checking for getppid
configure:7488: checking for getuid
configure:7488: checking for getgid
configure:7488: checking for getpgrp
configure:7543: checking for endpwent
configure:7543: checking for endgrent
configure:7543: checking for getgrgid
configure:7543: checking for getpwuid
configure:7598: checking for truncate
configure:7598: checking for ftruncate
configure:7598: checking for chown
configure:7598: checking for fchown
configure:7598: checking for chmod
configure:7598: checking for fchmod
configure:7598: checking for fstat
configure:7653: checking for lutimes
configure:7653: checking for futimes
configure:7653: checking for utime
configure:7653: checking for utimes
configure:7653: checking for usleep
configure:7653: checking for lstat
configure:7653: checking for localtime
configure:7709: checking for strerror
configure:7709: checking for memmove
configure:7709: checking for memset
configure:7709: checking for remove
configure:7709: checking for random
configure:7709: checking for putenv
configure:7766: checking for strcasecmp
configure:7766: checking for strncasecmp
configure:7766: checking for crypt
configure:7766: checking for getopt
configure:7828: checking for snprintf
configure:7888: checking for unistd.h
configure:7888: checking for netinet/in_systm.h
configure:7888: checking for netinet/in.h
configure:7928: checking for machine/endian.h
configure:7928: checking for endian.h
configure:7928: checking for paths.h
configure:7928: checking for sys/un.h
configure:7928: checking for sys/utsname.h
configure:7968: checking for machine/spl.h
configure:7968: checking for sys/callout.h
configure:8008: checking for termcap.h
configure:8008: checking for rusage.h
configure:8008: checking for pwd.h
configure:8008: checking for grp.h
configure:8008: checking for sys/time.h
configure:8008: checking for dirent.h
configure:8046: checking for tgetent in -ltermcap
configure:8102: checking whether inet_ntoa is broken
configure:8132: cc -o conftest -g   conftest.c -ltermcap -lsocket -lnsl -L/usr/local/lib -ltermcap -lsocket -lnsl  1>&5
configure:8152: checking whether S_IFSOCK is defined
configure:8161: cc -o conftest -g   conftest.c -ltermcap -lsocket -lnsl -L/usr/local/lib -ltermcap -lsocket -lnsl  1>&5
configure:8177: checking whether to enable TCP_NODELAY
configure:8203: checking whether to use blocking connect system call
configure:8226: checking whether struct tm has member tm_gmtoff
configure:8242: cc -c -g  conftest.c 1>&5
UX:acomp: ERROR: "configure", line 8234: undefined struct/union member: tm_gmtoff
UX:acomp: WARNING: "configure", line 8235: improper member use: tm_gmtoff
configure: failed program was:
#line 8228 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
long test()
{
  struct tm tm;
  tm.tm_gmtoff = 0;
  return ((long)(tm.tm_gmtoff));
}
int main() {

; return 0; }
configure:8259: checking whether struct tm has member tm_isdst
configure:8275: cc -c -g  conftest.c 1>&5
configure:8292: checking whether to use system provided localtime
configure:8326: checking whether to include PGP library

make.log
Code:
	cd . \
	  && CONFIG_FILES= CONFIG_HEADERS=sshconf.h \
	     /bin/sh ./config.status
creating sshconf.h
sshconf.h is unchanged
	make all-recursive
Making all in lib
Making all in zlib
Making all in sshmath
Making all in tests
Making all in sshreadline
Making all in tests
Making all in sshutil
Making all in tests
Making all in sshapputil
Making all in tests
Making all in sshcrypt
Making all in tests
Making all in sshproto
Making all in tests
Making all in sshsession
Making all in sshpgp
Making all in tests
	if test '!' -d ../include; then mkdir ../include; fi
	for i in zlib/zlib.h zlib/zconf.h; do   \
	  if test -f ./$i; then		  \
	    ../copy_include ./$i ../include;	  \
	  fi;						  \
	done
	for dir in zlib sshmath sshreadline sshutil sshapputil sshcrypt sshproto sshsession sshpgp; do \
		if test "$dir" != "zlib" && test "$dir" != "gmp"; then \
		  ( cd $dir && make includes) ; \
		fi; \
	done
	for file in sshmp.h			 sshmp-kernel.h			 sieve.h			 sshmath-types.h; do \
		../../copy_include ./$file ../../include/$file ; \
	done
	for file in sshreadline.h; do \
		../../copy_include ./$file ../../include/$file; \
	done
	for file in sshincludes.h		 sshincludes_unix.h	 sshstream.h		 sshtimeouts.h		 sshsnprintf.h		 sshunixeloop.h		 sshgetput.h		 sshdebug.h		 sshbufaux.h		 sshbuffer.h		 sshfilebuffer.h		 sshenum.h		 sshencode.h		 sshunixfdstream.h	 sshmiscstring.h		 sshstreampair.h		 sshtcp.h		 sshsocks.h		 sshmatch.h		 sshmpaux.h		 sshfilterstream.h	 sshbase64.h		 sshutf8.h		 sshlocalstream.h	 sshfilexfer.h		 sshsignals.h		 sshurl.h		 sshgetopt.h		 sshinet.h		 sshcstack.h		 sshvlint32.h		 sshcrc32.h		 sshfilelock.h		 sshfileio.h		 sshtimemeasure.h	 sshdllist.h		 sshmapping.h		 sshdsprintf.h		 sshtime.h		 sshaudit.h		 sshpacketstream.h	 sshmalloc.h; do \
		../../copy_include ./$file ../../include/$file ; \
	done
	for file in sshuserfile.h  sshuserfilebuf.h; do \
		../../copy_include ./$file ../../include/$file ; \
	done
	for file in sshcrypt.h  namelist.h  sshcrypti.h  sshrotate.h  sha.h  md5.h  ripemd160.h  des.h  blowfish.h  arcfour.h  twofish.h  hmac.h  macs.h  genmp.h  dlglue.h  dlfix.h  bufzip.h  keyblob.h  ssh2pubkeyencode.h  libmonitor.h; do \
		../../copy_include ./$file ../../include/$file ; \
	done
	for file in sshtrans.h sshcross.h sshauth.h sshconn.h sshmsgs.h  sshcipherlist.h; do \
		../../copy_include ./$file ../../include/$file ; \
	done
	for file in sshunixpipestream.h sshunixptystream.h sigchld.h sshtty.h  sshttymodes.h  sshsessionincludes.h sshuser.h sshsia.h; do \
		../../copy_include ./$file ../../include/$file; \
	done
	for file in sshpgp.h; do \
		../../copy_include ./$file ../../include/$file ; \
	done
Making all in apps
Making all in ssh
	cc -g  -o ssh2  ssh2.o -L. -L../../lib -lssh2 -lssh -ltermcap -lsocket -lnsl -L/usr/local/lib -ltermcap -lsocket -lnsl 
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top