Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Problems configuring OpenSSH 3.5p1 on Sol 5.8

From: David Steiner <david.r.steiner(at)Dartmouth.EDU>
Date: Tue Feb 11 2003 - 13:47:56 EST


Greetings.

I am having a problem getting OpenSSH to configure on a Solaris 5.8 box.

I have installed gcc 3.2.2, OpenSSL 0.9.6g.

The config script dies with the error:

         OpenSSL version header not found.

OpenSSL is installed in /usr/local/ssl. A check of the config.log file indicates that the test program appears to be core dumping. I have included relavent (I hope) portions of config.log below.

Any pointers as to why this might be happening would be greatly appreciated.

TIA.



config.log
Do you need help?X

It was created by configure, which was
generated by GNU Autoconf 2.53. Invocation command line was

   $ ./configure --prefix=/usr/ssh --with-afs=/usr/afsws

--with-kerberos4=/usr/athena --with-tcp-wrappers=/usr/local 
--with-ssl-dir=/usr/local/ssl --sysconfdir=/etc/ssh 
--with-pid-dir=/var/run --with-ipv4-default 
--with-default-path=/usr/bin:/bin:/usr/sbin:/sbin:/usr/afsws/bin:/usr/ssh/bin:/usr/local/bin

## --------- ##

## Platform. ##
## --------- ##
hostname = cascade
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-12

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS

Node = cascade
Release = 5.8
KernelID = Generic_108528-12
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4

/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown

hostinfo               = unknown

/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin PATH: /usr/sbin PATH: /sbin PATH: /usr/bin PATH: /etc PATH: /usr/etc

PATH: /usr/bin/X11
PATH: /usr/ucb
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1286: checking for gcc
configure:1302: found /usr/local/bin/gcc
configure:1312: result: gcc

configure:1556: checking for C compiler version configure:1559: gcc --version </dev/null >&5 gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[snip]

configure:8543: checking OpenSSL header version configure:8574: gcc -o conftest -g -O2 -Wall -Wpointer-arith

-Wno-uninitialized -I/usr/local/ssl/include -I/usr/local/include 
-I/usr/local/include -L/usr/local/ssl/lib -R/usr/local/ssl/lib 
-L/usr/local/lib -R/usr/local/lib  -L/usr/local/lib -R/usr/local/lib 
conftest.c -lz -lsocket -lnsl -lcrypto >&5
configure: In function `main':
configure:8562: warning: implicit declaration of function `exit'
configure:8564: warning: unsigned int format, long int arg (arg 1)
configure:8577: $? = 0
configure:8579: ./conftest
./configure: line 1:  3404 Segmentation Fault      (core dumped) 
./conftest$ac_exeext
configure:8582: $? = 139
configure: program exited with status 139
configure: failed program was:

#line 8550 "configure"
#include "confdefs.h"
#include 
#include 
#include 
#define DATA "conftest.sslincver"
int main(void) {
         FILE *fd;
         int rc;

         fd = fopen(DATA,"w");
         if(fd == NULL)
                 exit(1);

	if ((rc = fprintf(fd ,"%x (%s)\n", OPENSSL_VERSION_NUMBER, 
OPENSSL_VERSION_TEXT)) <0)
		exit(1);

	exit(0);

}

configure:8595: result: not found
configure:8597: error: OpenSSL version header not found.

## ---------------- ##

## Cache variables. ##
## ---------------- ##

ac_cv_build=sparc-sun-solaris2.8
Do you need more help?X
ac_cv_build_alias=sparc-sun-solaris2.8 ac_cv_c_bigendian=yes ac_cv_c_compiler_gnu=yes ac_cv_c_inline=inline ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_func___b64_ntop=no ac_cv_func__getpty=no ac_cv_func_arc4random=no ac_cv_func_b64_ntop=no ac_cv_func_bcopy=yes ac_cv_func_bindresvport_sa=no ac_cv_func_clock=yes ac_cv_func_daemon=no ac_cv_func_dirname=yes ac_cv_func_endutent=yes ac_cv_func_endutxent=yes ac_cv_func_fchmod=yes ac_cv_func_fchown=yes ac_cv_func_freeaddrinfo=yes ac_cv_func_futimes=no ac_cv_func_gai_strerror=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getcwd=yes ac_cv_func_getgrouplist=no ac_cv_func_getnameinfo=yes ac_cv_func_getopt=yes ac_cv_func_getpagesize=yes ac_cv_func_getpeereid=no ac_cv_func_getpgrp_void=yes ac_cv_func_getrlimit=yes ac_cv_func_getrusage=yes ac_cv_func_getspnam=yes ac_cv_func_gettimeofday=yes ac_cv_func_getttyent=no ac_cv_func_getutent=yes ac_cv_func_getutid=yes ac_cv_func_getutline=yes ac_cv_func_getutxent=yes ac_cv_func_getutxid=yes ac_cv_func_getutxline=yes ac_cv_func_glob=yes ac_cv_func_inet_aton=no ac_cv_func_inet_ntoa=yes ac_cv_func_inet_ntop=yes ac_cv_func_innetgr=yes ac_cv_func_login_getcapbool=no ac_cv_func_logout=no ac_cv_func_logwtmp=no ac_cv_func_md5_crypt=no ac_cv_func_memmove=yes ac_cv_func_mkdtemp=no ac_cv_func_mmap=yes ac_cv_func_ngetaddrinfo=no ac_cv_func_ogetaddrinfo=no ac_cv_func_openpty=no ac_cv_func_pututline=yes ac_cv_func_pututxline=yes ac_cv_func_readpassphrase=no ac_cv_func_realpath=yes
Can we help you?X
ac_cv_func_recvmsg=yes ac_cv_func_rresvport_af=yes ac_cv_func_sendmsg=yes ac_cv_func_setdtablesize=no ac_cv_func_setegid=yes ac_cv_func_setenv=no ac_cv_func_seteuid=yes ac_cv_func_setgroups=yes ac_cv_func_setlogin=no ac_cv_func_setpcred=no ac_cv_func_setproctitle=no ac_cv_func_setresgid=no ac_cv_func_setreuid=yes ac_cv_func_setrlimit=yes ac_cv_func_setsid=yes ac_cv_func_setsockopt=no ac_cv_func_setutent=yes ac_cv_func_setutxent=yes ac_cv_func_setvbuf=yes ac_cv_func_sigaction=yes ac_cv_func_sigvec=no ac_cv_func_snprintf=yes ac_cv_func_socketpair=yes ac_cv_func_strcasecmp=yes ac_cv_func_strerror=yes ac_cv_func_strftime=yes ac_cv_func_strlcat=yes ac_cv_func_strlcpy=yes ac_cv_func_strmode=no ac_cv_func_strsep=no ac_cv_func_sysconf=yes ac_cv_func_tcgetpgrp=yes ac_cv_func_time=yes ac_cv_func_truncate=yes ac_cv_func_updwtmp=yes ac_cv_func_utimes=yes ac_cv_func_utmpname=yes ac_cv_func_utmpxname=yes ac_cv_func_vhangup=yes ac_cv_func_vsnprintf=yes ac_cv_func_waitpid=yes ac_cv_func_yp_match=no ac_cv_header_bstring_h=no ac_cv_header_crypt_h=yes ac_cv_header_endian_h=no ac_cv_header_floatingpoint_h=yes ac_cv_header_getopt_h=no ac_cv_header_glob_h=yes ac_cv_header_ia_h=no ac_cv_header_inttypes_h=yes ac_cv_header_lastlog_h=yes ac_cv_header_libgen_h=yes ac_cv_header_libutil_h=no ac_cv_header_limits_h=yes ac_cv_header_login_cap_h=no ac_cv_header_login_h=no ac_cv_header_maillock_h=yes ac_cv_header_memory_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netgroup_h=no ac_cv_header_netinet_in_systm_h=yes ac_cv_header_paths_h=no ac_cv_header_pty_h=no ac_cv_header_readpassphrase_h=no ac_cv_header_rpc_types_h=yes ac_cv_header_security_pam_appl_h=yes ac_cv_header_shadow_h=yes ac_cv_header_stdc=yes ac_cv_header_stddef_h=yes ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes
Can't find what you're looking for?X
ac_cv_header_strings_h=yes ac_cv_header_sys_bitypes_h=no ac_cv_header_sys_bsdtty_h=no ac_cv_header_sys_cdefs_h=no ac_cv_header_sys_mman_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_stropts_h=yes ac_cv_header_sys_sysmacros_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_un_h=yes ac_cv_header_time_h=yes ac_cv_header_tmpdir_h=no ac_cv_header_ttyent_h=no ac_cv_header_unistd_h=yes ac_cv_header_usersec_h=no ac_cv_header_util_h=no ac_cv_header_utime_h=yes ac_cv_header_utmp_h=yes ac_cv_header_utmpx_h=yes ac_cv_host=sparc-sun-solaris2.8 ac_cv_host_alias=sparc-sun-solaris2.8 ac_cv_lib_bsd_daemon=no ac_cv_lib_nsl_yp_match=yes ac_cv_lib_socket_setsockopt=yes ac_cv_lib_z_deflate=yes ac_cv_objext=o ac_cv_path_AR=/usr/local/bin/ar ac_cv_path_LOGIN_PROGRAM_FALLBACK=/usr/bin/login ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_SH=/sbin/sh ac_cv_path_TEST_MINUS_S_SH=/usr/bin/bash ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_search_login=no ac_cv_sys_file_offset_bits=64

ac_cv_sys_large_files=no
ac_cv_sys_largefile_CC=no
## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define WORDS_BIGENDIAN 1
#define _FILE_OFFSET_BITS 64
#define LOGIN_PROGRAM_FALLBACK "/usr/bin/login"
#define PAM_SUN_CODEBASE 1
#define LOGIN_NEEDS_UTMPX 1
#define LOGIN_NEEDS_TERM 1
#define PAM_TTY_KLUDGE 1
#define DISABLE_UTMP 1
#define DISABLE_WTMP 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_UNISTD_H 1
Don't know where to look next?X
#define HAVE_CRYPT_H 1 #define HAVE_FLOATINGPOINT_H 1 #define HAVE_GLOB_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MAILLOCK_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_RPC_TYPES_H 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_SHADOW_H 1 #define HAVE_STDDEF_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STROPTS_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_TIME_H 1 #define HAVE_UTIME_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LIBNSL 1 #define HAVE_LIBSOCKET 1 #define HAVE_LIBZ 1 #define HAVE_UPDWTMP 1 #define HAVE_STRFTIME 1 #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 #define LIBWRAP 1 #define HAVE_BCOPY 1 #define HAVE_CLOCK 1 #define HAVE_FCHMOD 1 #define HAVE_FCHOWN 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETCWD 1 #define HAVE_GETNAMEINFO 1 #define HAVE_GETOPT 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETRUSAGE 1 #define HAVE_GLOB 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_NTOP 1 #define HAVE_INNETGR 1 #define HAVE_MEMMOVE 1 #define HAVE_MMAP 1 #define HAVE_REALPATH 1 #define HAVE_RECVMSG 1 #define HAVE_RRESVPORT_AF 1 #define HAVE_SENDMSG 1 #define HAVE_SETEGID 1 #define HAVE_SETEUID 1 #define HAVE_SETGROUPS 1 #define HAVE_SETREUID 1 #define HAVE_SETRLIMIT 1 #define HAVE_SETSID 1 #define HAVE_SETVBUF 1 #define HAVE_SIGACTION 1 #define HAVE_SNPRINTF 1 #define HAVE_SOCKETPAIR 1 #define HAVE_STRERROR 1 #define HAVE_STRLCAT 1 #define HAVE_STRLCPY 1 #define HAVE_SYSCONF 1 #define HAVE_TCGETPGRP 1 #define HAVE_TRUNCATE 1 #define HAVE_UTIMES 1 #define HAVE_VHANGUP 1 #define HAVE_VSNPRINTF 1 #define HAVE_WAITPID 1
Confused? Frustrated?X
#define HAVE_DIRNAME 1 #define HAVE_LIBGEN_H 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_TIME 1 #define HAVE_ENDUTENT 1 #define HAVE_GETUTENT 1 #define HAVE_GETUTID 1 #define HAVE_GETUTLINE 1 #define HAVE_PUTUTLINE 1 #define HAVE_SETUTENT 1 #define HAVE_UTMPNAME 1 #define HAVE_ENDUTXENT 1 #define HAVE_GETUTXENT 1 #define HAVE_GETUTXID 1 #define HAVE_GETUTXLINE 1 #define HAVE_PUTUTXLINE 1 #define HAVE_SETUTXENT 1 #define HAVE_UTMPXNAME 1 #define HAVE_GETPAGESIZE 1

#define GETPGRP_VOID 1
#define HAVE_OPENSSL 1

configure: exit 1

-- 
David R. Steiner                               david.r.steiner@dartmouth.edu
UNIX System Manager                            Phone:  603.646.3127
Dartmouth College                              Fax:     603.646.1041
Received on Tue Feb 11 15:15:08 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:54 EDT

Call Pantek today for Open Source Technical Support at 1-877-546-8934 - 24/7/365X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library