- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 06:32 AM
06-18-2007 06:32 AM
Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
Getting OpenSSH requires int64_t support.
The openssh-4.01p was previously compiled on this server so I expect I'm missing some CPLAGS or other environment variable settings.
# getconf HW_32_64_CAPABLE
1
# getconf KERNEL_BITS
64
# uname -a
HP-UX romulus B.11.11 U 9000/800 330323300 unlimited-user license
# ./configure --prefix=/usr/local
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking whether byte ordering is bigendian... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking how to run the C preprocessor... cc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /opt/imake/bin/install -c
checking for ar... /usr/bin/ar
checking for cat... /usr/bin/cat
checking for kill... /usr/bin/kill
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sed... /usr/bin/sed
checking for ent... no
checking for bash... no
checking for ksh... /usr/bin/ksh
checking for sh... (cached) /usr/bin/ksh
checking for sh... /usr/bin/sh
checking for groupadd... /usr/sbin/groupadd
checking for useradd... /usr/sbin/useradd
checking for pkgmk... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for login... /usr/bin/login
checking for passwd... /usr/bin/passwd
checking for inline... __inline
checking for t_error in -lxnet... yes
checking compiler and flags for sanity... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking ia.h usability... no
checking ia.h presence... no
checking for ia.h... no
checking lastlog.h usability... no
checking lastlog.h presence... no
checking for lastlog.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking login.h usability... no
checking login.h presence... no
checking for login.h... no
checking login_cap.h usability... no
checking login_cap.h presence... no
checking for login_cap.h... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netgroup.h usability... no
checking netgroup.h presence... no
checking for netgroup.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking readpassphrase.h usability... no
checking readpassphrase.h presence... no
checking for readpassphrase.h... no
checking rpc/types.h usability... yes
checking rpc/types.h presence... yes
checking for rpc/types.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) no
checking for strings.h... (cached) yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/strtio.h usability... yes
checking sys/strtio.h presence... yes
checking for sys/strtio.h... yes
checking sys/audit.h usability... yes
checking sys/audit.h presence... yes
checking for sys/audit.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking sys/bsdtty.h usability... yes
checking sys/bsdtty.h presence... yes
checking for sys/bsdtty.h... yes
checking sys/cdefs.h usability... no
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/pstat.h usability... yes
checking sys/pstat.h presence... yes
checking for sys/pstat.h... yes
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
checking for sys/stat.h... (cached) yes
checking sys/stream.h usability... yes
checking sys/stream.h presence... yes
checking for sys/stream.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timers.h usability... yes
checking sys/timers.h presence... yes
checking for sys/timers.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tmpdir.h usability... no
checking tmpdir.h presence... no
checking for tmpdir.h... no
checking ttyent.h usability... no
checking ttyent.h presence... no
checking for ttyent.h... no
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking vis.h usability... no
checking vis.h presence... no
checking for vis.h... no
checking for sys/ptms.h... no
checking for yp_match... no
checking for yp_match in -lnsl... yes
checking for setsockopt... yes
checking for dirname... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for getspnam... yes
checking for library containing basename... none required
checking for deflate in -lz... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlib 1.1.4 or greater... yes
checking for strcasecmp... yes
checking for utimes... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for library containing login... no
checking for logout... no
checking for updwtmp... no
checking for logwtmp... no
checking for strftime... yes
checking for GLOB_ALTDIRFUNC support... no
checking for gl_matchc field in glob_t... no
checking whether struct dirent allocates space for d_name... yes
checking for /proc/pid/fd directory... no
checking for arc4random... no
checking for __b64_ntop... no
checking for b64_ntop... no
checking for __b64_pton... no
checking for b64_pton... no
checking for bcopy... yes
checking for bindresvport_sa... no
checking for clock... yes
checking for closefrom... no
checking for dirfd... no
checking for fchdir... yes
checking for fchmod... yes
checking for fchown... yes
checking for freeaddrinfo... yes
checking for futimes... no
checking for getaddrinfo... yes
checking for getcwd... yes
checking for getgrouplist... no
checking for getnameinfo... yes
checking for getopt... yes
checking for getpeereid... no
checking for _getpty... no
checking for getrlimit... yes
checking for getttyent... no
checking for glob... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for innetgr... yes
checking for login_getcapbool... no
checking for md5_crypt... no
checking for memmove... yes
checking for mkdtemp... no
checking for mmap... yes
checking for ngetaddrinfo... no
checking for nsleep... no
checking for ogetaddrinfo... no
checking for openlog_r... no
checking for openpty... no
checking for pstat... yes
checking for prctl... no
checking for readpassphrase... no
checking for realpath... yes
checking for recvmsg... yes
checking for rresvport_af... yes
checking for sendmsg... yes
checking for setdtablesize... no
checking for setegid... no
checking for setenv... no
checking for seteuid... no
checking for setgroups... yes
checking for setlogin... no
checking for setpcred... no
checking for setproctitle... no
checking for setregid... yes
checking for setreuid... yes
checking for setrlimit... yes
checking for setsid... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... no
checking for snprintf... yes
checking for socketpair... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strmode... no
checking for strnvis... no
checking for strtoul... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for truncate... yes
checking for unsetenv... no
checking for updwtmpx... no
checking for utimes... (cached) yes
checking for vhangup... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for gai_strerror... yes
checking for library containing nanosleep... none required
checking whether strsep is declared... no
checking whether getrusage is declared... yes
checking for getrusage... yes
checking whether tcsendbreak is declared... yes
checking whether h_errno is declared... yes
checking for setresuid... yes
checking if setresuid seems to work... yes
checking for setresgid... yes
checking if setresgid seems to work... yes
checking for gettimeofday... yes
checking for time... yes
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... 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 system supports SO_PEERCRED getsockopt... no
checking if getaddrinfo seems to work... no
checking for conflicting getspnam in shadow.h... no
checking whether getpgrp requires zero arguments... yes
checking OpenSSL header version... 90805f (OpenSSL 0.9.8e 23 Feb 2007)
checking OpenSSL library version... 90805f (OpenSSL 0.9.8e 23 Feb 2007)
checking whether OpenSSL's headers match the library... yes
checking whether OpenSSL's PRNG is internally seeded... yes
checking for ls... /usr/bin/ls
checking for netstat... /usr/bin/netstat
checking for arp... /usr/sbin/arp
checking for ifconfig... /usr/sbin/ifconfig
checking for jstat... no
checking for ps... /usr/bin/ps
checking for sar... /usr/bin/sar
checking for w... /usr/bin/w
checking for who... /usr/bin/who
checking for last... /usr/bin/last
checking for lastlog... no
checking for df... /usr/bin/df
checking for vmstat... /usr/bin/vmstat
checking for uptime... /usr/bin/uptime
checking for ipcs... /usr/bin/ipcs
checking for tail... /usr/bin/tail
checking for char... yes
checking size of char... 1
checking for short int... yes
checking size of short int... 2
checking for int... yes
checking size of int... 4
checking for long int... yes
checking size of long int... 4
checking for long long int... no
checking size of long long int... 0
checking for u_int type... yes
checking for intXX_t types... yes
checking for int64_t type... no
checking for u_intXX_t types... no
checking for u_intXX_t types in sys/socket.h... no
checking for u_int64_t types... no
checking for u_int64_t type in sys/bitypes.h... no
checking for uintXX_t types... yes
checking for uintXX_t types in stdint.h... no
checking for u_char... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking for in_addr_t... yes
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... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct addrinfo... yes
checking for struct timeval... yes
checking for struct timespec... yes
OpenSSH requires int64_t support. Contact your vendor or install
an alternative compiler (I.E., GCC) before continuing.
# pwd
/usr/local/src/openssh-4.0p1
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 06:38 AM
06-18-2007 06:38 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
# /usr/local/sbin/sshd -V
sshd: illegal option -- V
OpenSSH_4.0p1, OpenSSL 0.9.7l 28 Sep 2006
usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]
[-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]
# ldd /usr/local/sbin/sshd
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libsec.2 => /usr/lib/libsec.2
/usr/lib/libm.2 => /usr/lib/libm.2
/usr/lib/libxnet.2 => /usr/lib/libxnet.2
/usr/lib/libxti.2 => /usr/lib/libxti.2
/usr/lib/libnsl.1 => /usr/lib/libnsl.1
/usr/lib/libxti.2 => /usr/lib/libxti.2
/usr/lib/libcrypto.sl => /usr/lib/libcrypto.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
# file /usr/local/sbin/sshd
/usr/local/sbin/sshd: PA-RISC2.0 shared executable dynamically linked
# what /usr/local/sbin/sshd
/usr/local/sbin/sshd:
$Revision: 92453-07 linker linker crt0.o B.11.41 040906 $
$OpenBSD: sshd.c,v 1.308 2005/02/08 22:24:57 dtucker Exp $
$OpenBSD: auth-rhosts.c,v 1.32 2003/11/04 08:54:09 djm Exp $
$OpenBSD: auth-passwd.c,v 1.33 2005/01/24 11:47:13 dtucker Exp $
$OpenBSD: auth-rsa.c,v 1.62 2004/12/11 01:48:56 dtucker Exp $
$OpenBSD: auth-rh-rsa.c,v 1.37 2003/11/04 08:54:09 djm Exp $
$OpenBSD: sshpty.c,v 1.12 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: sshlogin.c,v 1.13 2004/08/12 09:18:24 djm Exp $
$OpenBSD: servconf.c,v 1.139 2005/03/01 10:09:52 djm Exp $
$OpenBSD: serverloop.c,v 1.117 2004/08/11 21:43:05 avsm Exp $
$OpenBSD: auth.c,v 1.57 2005/01/22 08:17:59 dtucker Exp $
$OpenBSD: auth1.c,v 1.59 2004/07/28 09:40:29 markus Exp $
$OpenBSD: auth2.c,v 1.107 2004/07/28 09:40:29 markus Exp $
$OpenBSD: auth-options.c,v 1.29 2005/03/01 10:09:52 djm Exp $
$OpenBSD: session.c,v 1.181 2004/12/23 17:35:48 markus Exp $
$OpenBSD: auth-chall.c,v 1.9 2003/11/03 09:03:37 djm Exp $
$OpenBSD: auth2-chall.c,v 1.22 2005/01/19 13:11:47 dtucker Exp $
$OpenBSD: groupaccess.c,v 1.6 2003/04/08 20:21:28 itojun Exp $
$OpenBSD: auth-skey.c,v 1.20 2002/06/30 21:59:45 deraadt Exp $
$OpenBSD: auth-bsdauth.c,v 1.6 2005/01/19 13:11:47 dtucker Exp $
$OpenBSD: auth2-hostbased.c,v 1.6 2004/01/19 21:25:15 markus Exp $
$OpenBSD: auth2-kbdint.c,v 1.2 2002/05/31 11:35:15 markus Exp $
$OpenBSD: auth2-none.c,v 1.7 2004/05/11 19:01:43 deraadt Exp $
$OpenBSD: auth2-passwd.c,v 1.5 2003/12/31 00:24:50 dtucker Exp $
$OpenBSD: auth2-pubkey.c,v 1.9 2004/12/11 01:48:56 dtucker Exp $
$OpenBSD: monitor_mm.c,v 1.9 2004/05/11 19:01:43 deraadt Exp $
$OpenBSD: monitor.c,v 1.62 2005/01/30 11:18:08 dtucker Exp $
$OpenBSD: monitor_wrap.c,v 1.39 2004/07/17 05:31:41 dtucker Exp $
$OpenBSD: kexdhs.c,v 1.2 2004/06/13 12:53:24 djm Exp $
$OpenBSD: kexgexs.c,v 1.1 2003/02/16 17:09:57 markus Exp $
$OpenBSD: auth-krb5.c,v 1.15 2003/11/21 11:57:02 djm Exp $
$Id: loginrec.c,v 1.67 2005/02/15 11:19:28 dtucker Exp $
$Id: auth-pam.c,v 1.121 2005/01/20 02:29:51 dtucker Exp $
$Id: auth-shadow.c,v 1.6 2005/02/16 03:20:06 dtucker Exp $
$OpenBSD: authfile.c,v 1.60 2004/12/11 01:48:56 dtucker Exp $
$OpenBSD: bufaux.c,v 1.34 2004/12/06 16:00:43 markus Exp $
$OpenBSD: buffer.c,v 1.22 2004/10/29 23:56:17 djm Exp $
$OpenBSD: canohost.c,v 1.42 2005/02/18 03:05:53 djm Exp $
$OpenBSD: channels.c,v 1.212 2005/03/01 10:09:52 djm Exp $
$OpenBSD: cipher.c,v 1.73 2005/01/23 10:18:12 djm Exp $
$OpenBSD: compat.c,v 1.71 2005/03/01 10:09:52 djm Exp $
$OpenBSD: fatal.c,v 1.2 2003/09/23 20:17:11 markus Exp $
$OpenBSD: hostfile.c,v 1.33 2005/03/01 10:40:26 djm Exp $
$OpenBSD: log.c,v 1.29 2003/09/23 20:17:11 markus Exp $
$OpenBSD: match.c,v 1.19 2002/03/01 13:12:10 markus Exp $
$OpenBSD: nchan.c,v 1.51 2004/07/11 17:48:47 deraadt Exp $
$OpenBSD: packet.c,v 1.116 2004/10/20 11:48:53 markus Exp $
$OpenBSD: rsa.c,v 1.24 2001/12/27 18:22:16 markus Exp $
$OpenBSD: tildexpand.c,v 1.15 2004/05/21 08:43:03 markus Exp $
$OpenBSD: ttymodes.c,v 1.19 2003/04/08 20:21:29 itojun Exp $
$OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp $
$OpenBSD: atomicio.c,v 1.12 2003/07/31 15:50:16 avsm Exp $
$OpenBSD: key.c,v 1.57 2004/10/29 23:57:05 djm Exp $
$OpenBSD: dispatch.c,v 1.16 2003/04/08 20:21:28 itojun Exp $
$OpenBSD: kex.c,v 1.60 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: mac.c,v 1.6 2003/09/18 13:02:21 miod Exp $
$OpenBSD: uidswap.c,v 1.24 2003/05/29 16:58:45 deraadt Exp $
$OpenBSD: misc.c,v 1.28 2005/03/01 10:09:52 djm Exp $
$OpenBSD: monitor_fdpass.c,v 1.6 2004/08/13 02:51:48 djm Exp $
$OpenBSD: dh.c,v 1.31 2004/08/04 10:37:52 djm Exp $
$OpenBSD: kexdh.c,v 1.19 2003/02/16 17:09:57 markus Exp $
$OpenBSD: kexgex.c,v 1.23 2003/02/16 17:09:57 markus Exp $
$OpenBSD: msg.c,v 1.7 2003/11/17 09:45:39 djm Exp $
$Id: entropy.c,v 1.48 2003/11/21 12:56:47 djm Exp $
$Id: cipher-acss.c,v 1.2 2004/02/06 04:26:11 dtucker Exp $
$OpenBSD: cipher-bf1.c,v 1.1 2003/05/15 03:08:29 markus Exp $
$OpenBSD: cipher-ctr.c,v 1.5 2004/12/22 02:13:19 djm Exp $
$OpenBSD: cipher-3des1.c,v 1.2 2003/12/22 20:29:55 markus Exp $
$OpenBSD: compress.c,v 1.21 2004/01/13 19:45:15 markus Exp $
$OpenBSD: deattack.c,v 1.19 2003/09/18 08:49:45 markus Exp $
$OpenBSD: uuencode.c,v 1.17 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-dss.c,v 1.19 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-rsa.c,v 1.31 2003/11/10 16:23:41 jakob Exp $
$Id: bsd-arc4random.c,v 1.10 2005/02/16 02:01:28 djm Exp $
$Id: bsd-closefrom.c,v 1.1 2004/08/15 08:41:00 djm Exp $
$Id: bsd-misc.c,v 1.26 2005/02/25 23:07:38 dtucker Exp $
$Id: fake-rfc2553.c,v 1.5 2003/09/22 02:08:23 dtucker Exp $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 06:55 AM
06-18-2007 06:55 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 07:22 AM
06-18-2007 07:22 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
See http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
to download the latest version.
Also, these versions are fully supported by HP and is often upgraded promptly whenever there are vulnerabilities/exploits discovered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 07:30 AM
06-18-2007 07:30 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
I did try the openssh depot but got the wonderfull message about openssl version mismatch with openssh.
Surely I should be able to recompile a previous built version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 07:44 AM
06-18-2007 07:44 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 07:47 AM
06-18-2007 07:47 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 07:48 AM
06-18-2007 07:48 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
I don't think you need to install OpenSSL and ZLib ... the HP SecureShell already includes them:
HP-UX Secure Shell Versions A.04.50.003, A.04.50.004, and A.04.50.005 contain the following libraries:
zlib v1.2.3
OpenSSL v0.9.7l (OpenSSL is a shared library on HP-UX 11i v3)
TCP Wrappers v7.6-ipv6.4
It is a self-contained package. Try it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 07:57 AM
06-18-2007 07:57 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
The people who provide the source code and depots should easily be able to replicate the steps used to compile it?
How about it, any takers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 08:06 AM
06-18-2007 08:06 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
Even the HP-UX Porting Site - http://hpux.connect.org.uk/ no longer has a build of their own.
Otherwise, I guess you'd have to the the builds yourself.... 3 Years ago when we were still building ours -- I got more success using HP's aCC compiler instead of GNU C compiler...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 09:10 AM
06-18-2007 09:10 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
> depots should easily be able to replicate
> the steps used to compile it?
One of those steps could have been to use
GCC, which may or may not be consistent with
your plan.
Not having tried it, hence knowing nothing,
I'd probably try constructing a helper for
inttypes.h which included a typedef for each
missing type. It could be an augmentation of
/usr/include/inttypes.h, or it could be just
a booster which does a few things itself and
then includes /usr/include/inttypes.h. Then,
I'd put it somewhere convenient, and try
adding "-I
in the hope that "cc" would find my
inttypes.h first, and be happy. No bets.
I'm assuming that it's expecting these things
in inttypes.h, but you might need to look
into the "configure" stuff to see what it's
using for a test program for the missing
types.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2007 05:50 AM
06-19-2007 05:50 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
and HP aCC/aCC++ compiler would work. The obsolete,
bundled c compiler (cc_bundled(1)) would likely not work
and I'm guessing that is what you're using here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2007 06:23 AM
06-19-2007 06:23 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
swlist ...
C-ANSI-C B.11.11.12 HP C/ANSI C Compiler
C-Analysis-Tools B.11.11.12 C Language Analysis Tools
C-Dev-Tools B.11.11.12 C Language Development Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2007 03:05 PM
06-19-2007 03:05 PM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
int64_t should be in
These seem wrong:
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for long long int... no
checking size of long long int... 0
checking for int64_t type... no
You need to find the compile line for each of these tests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 06:39 AM
06-20-2007 06:39 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
[legeret@romulus] /home/legeret $ ls -al /bin/cc
lr-xr-xr-t 1 root sys 17 Jun 30 2005 /bin/cc -> /opt/ansic/
bin/cc
[legeret@romulus] /usr/include/sys $ grep int64_t _inttypes.h
typedef long long int64_t; /* 64-bit signed integer */
typedef unsigned long long uint64_t; /* 64-bit unsigned integer */
typedef long int64_t; /* 64-bit signed integer */
typedef unsigned long uint64_t; /* 64-bit unsigned integer */
typedef int64_t intmax_t; /* largest signed integer supported */
typedef uint64_t uintmax_t; /* largest unsigned integer supported */
typedef int64_t int_least64_t;
typedef int64_t int_fast64_t;
typedef uint64_t uint_least64_t;
typedef uint64_t uint_fast64_t;
typedef uint64_t ptr64_t;
[legeret@romulus] /usr/include $ grep -i int64 inttypes.h
#define INT64_C(__c) __CONCAT_L__(__c,l)
#define UINT64_C(__c) __CONCAT_L__(__c,ul)
** maximum for that datatype is defined. For example, if #ifdef UINT64_MAX
#define INT64_MAX INT64_C(9223372036854775807)
#define INT64_MIN (-INT64_MAX - 1)
#define INT_LEAST64_MIN INT64_MIN
#define INT_FAST64_MIN INT64_MIN
#define UINT64_MAX UINT64_C(18446744073709551615)
#define INTMAX_MAX INT64_MAX
#define UINTMAX_MAX UINT64_MAX
#define INT_LEAST64_MAX INT64_MAX
#define INT_FAST64_MAX INT64_MAX
** uint64_t u;
[legeret@romulus] /usr/include $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 07:11 AM
06-20-2007 07:11 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
> Yes cc is linked...
that's good. When you install the HP
C compiler is supposed to 'replace' the
bundled c compiler with this link.
So at this point:
- check config.log. It should show the code
snippet that configure is trying
to compile. It should also show the cc
options being used.
- if it's not clear from config.log
find the section in configure that's
generating the code snippet and put
in a strategically placed set -x.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 08:46 AM
06-20-2007 08:46 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
I did try openssh-4.6p1 on an 11.23 PA
system using HP C/C++ compiler A.03.65.
It was fine. I have gcc and aCC on
this system so i used ./configure CC=aCC.
The 4.6p1 configure script is
different/updated from 4.01p1 one but
you had the same failure for both
so it's likely a not a configure-specific
issue. Don't know if it will help
but I've attached my 4.6p1 results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 08:56 AM
06-20-2007 08:56 AM
Re: Compile openssh-4.6p1 problem (non-gcc), HP/UX 11.11
If that doesn't work, you can always use the tusc hammer. :-)
One thing you don't want to use is the -Aa option.
I assume you didn't export CCOPTS?