Discussion:
Cannot install python 2.2.2 on hpux11.0
Laura Creighton
2003-01-08 04:27:34 UTC
Permalink
from comp.lang.python

------- Forwarded Message

From: ***@yahoo.com (X3)
Newsgroups: comp.lang.python
Subject: Re: python 2.2.2 on hpux11.0

Hello group,

I am adding stdout and stderr of configure and make. please let me
know if any questions. I think I need c compiler and stuff. thanks.

configure output:
- -----------------

loading cache ./config.cache
checking MACHDEP... hp-ux11
checking for --without-gcc... no
checking for --with-cxx=<compiler>... no
checking for c++... no
checking for g++... no
checking for gcc... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for AIX... no
checking for minix/config.h... (cached) no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for --with-suffix...
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(CC)
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... (cached) ranlib
checking for ar... (cached) ar
checking for a BSD compatible install... ./install-sh -c
checking for --with-pydebug... no
checking whether cc -Ae accepts -OPT:Olimit=0... (cached) no
checking whether cc -Ae accepts -Olimit 1500... (cached) no
checking whether pthreads are available without options... (cached) no
checking whether cc -Ae accepts -Kpthread... (cached) no
checking for ANSI C header files... (cached) yes
checking for dlfcn.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking for limits.h... (cached) yes
checking for langinfo.h... (cached) yes
checking for locale.h... (cached) yes
checking for ncurses.h... (cached) no
checking for poll.h... (cached) yes
checking for pthread.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for thread.h... (cached) no
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for termios.h... (cached) yes
checking for sys/audioio.h... (cached) no
checking for sys/file.h... (cached) yes
checking for sys/lock.h... (cached) yes
checking for sys/modem.h... (cached) yes
checking for db_185.h... (cached) no
checking for db.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/utsname.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for pty.h... (cached) no
checking for term.h... (cached) yes
checking for libutil.h... (cached) no
checking for ndbm.h... (cached) yes
checking for db1/ndbm.h... (cached) no
checking for gdbm/ndbm.h... (cached) no
checking for sys/resource.h... (cached) yes
checking for netpacket/packet.h... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for clock_t in time.h... yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of void *... (cached) 4
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of float... (cached) 4
checking size of double... (cached) 8
checking size of fpos_t... (cached) 8
checking for long long support... yes
checking size of long long... (cached) 8
checking for uintptr_t support... no
checking size of off_t... (cached) 8
checking whether to enable large file support... yes
checking size of time_t... (cached) 4
checking for pthread_t... yes
checking size of pthread_t... (cached) 0
checking for --enable-toolbox-glue... no
checking for --enable-framework... no
checking for dyld... no
checking SO... .sl
checking LDSHARED... ld -b
checking CCSHARED... +z
checking LINKFORSHARED... -Wl,-E -Wl,+s
- -Wl,+b$(BINLIBDEST)/lib-dynload
checking CFLAGSFORSHARED...
checking for dlopen in -ldl... (cached) no
checking for shl_load in -ldld... (cached) yes
checking for t_open in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
checking for --with-libs... no
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking for _POSIX_THREADS in unistd.h... yes
checking for mach/cthreads.h... (cached) no
checking for --with-pth... no
checking for pthread_create in -lpthread... checking for
pthread_detach... (cached) yes
checking if PTHREAD_SCOPE_SYSTEM is supported... (cached) no
checking for pthread_sigmask... (cached) yes
checking for usconfig in -lmpc... (cached) no
checking for thr_create in -lthread... (cached) no
checking if --enable-ipv6 is specified... no
checking for --with-cycle-gc... yes
checking for --with-pymalloc... no
checking for --with-wctype-functions... no
checking for --with-sgi-dl... no
checking for --with-dl-dld... no
checking for dlopen... (cached) no
checking DYNLOADFILE... dynload_hpux.o
checking MACHDEP_OBJS... MACHDEP_OBJS
checking for alarm... (cached) yes
checking for chown... (cached) yes
checking for chroot... (cached) yes
checking for clock... (cached) yes
checking for confstr... (cached) yes
checking for ctermid... (cached) yes
checking for ctermid_r... (cached) no
checking for execv... (cached) yes
checking for flock... (cached) no
checking for fork... (cached) yes
checking for fsync... (cached) yes
checking for fdatasync... (cached) yes
checking for fpathconf... (cached) yes
checking for ftime... (cached) yes
checking for ftruncate... (cached) yes
checking for gai_strerror... (cached) no
checking for getgroups... (cached) yes
checking for getlogin... (cached) yes
checking for getpeername... (cached) yes
checking for getpid... (cached) yes
checking for getpwent... (cached) yes
checking for getwd... (cached) yes
checking for hstrerror... (cached) no
checking for inet_pton... (cached) no
checking for kill... (cached) yes
checking for link... (cached) yes
checking for lstat... (cached) yes
checking for mkfifo... (cached) yes
checking for mktime... (cached) yes
checking for mremap... (cached) no
checking for nice... (cached) yes
checking for pathconf... (cached) yes
checking for pause... (cached) yes
checking for plock... (cached) yes
checking for poll... (cached) yes
checking for pthread_init... (cached) no
checking for putenv... (cached) yes
checking for readlink... (cached) yes
checking for select... (cached) yes
checking for setegid... (cached) no
checking for seteuid... (cached) no
checking for setgid... (cached) yes
checking for setgroups... (cached) yes
checking for setlocale... (cached) yes
checking for setregid... (cached) yes
checking for setreuid... (cached) yes
checking for setsid... (cached) yes
checking for setpgid... (cached) yes
checking for setuid... (cached) yes
checking for setvbuf... (cached) yes
checking for snprintf... (cached) yes
checking for sigaction... (cached) yes
checking for siginterrupt... (cached) yes
checking for sigrelse... (cached) yes
checking for strftime... (cached) yes
checking for strptime... (cached) yes
checking for symlink... (cached) yes
checking for sysconf... (cached) yes
checking for tcgetpgrp... (cached) yes
checking for tcsetpgrp... (cached) yes
checking for tempnam... (cached) yes
checking for timegm... (cached) no
checking for times... (cached) yes
checking for tmpfile... (cached) yes
checking for tmpnam... (cached) yes
checking for tmpnam_r... (cached) no
checking for truncate... (cached) yes
checking for uname... (cached) yes
checking for unsetenv... (cached) no
checking for waitpid... (cached) yes
checking for _getpty... (cached) no
checking for getpriority... (cached) yes
checking for openpty... (cached) no
checking for openpty in -lutil... (cached) no
checking for forkpty... (cached) no
checking for forkpty in -lutil... (cached) no
checking for fseek64... (cached) no
checking for fseeko... (cached) yes
checking for fstatvfs... (cached) yes
checking for ftell64... (cached) no
checking for ftello... (cached) yes
checking for statvfs... (cached) yes
checking for dup2... (cached) yes
checking for getcwd... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for memmove... (cached) yes
checking for getpgrp... (cached) yes
checking for setpgrp... (cached) yes
checking for gettimeofday... (cached) yes
checking for getaddrinfo... no
checking for getnameinfo... (cached) no
checking whether time.h and sys/time.h may both be included...
(cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached)
time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking for st_blocks in struct stat... (cached) yes
checking for time.h that defines altzone... (cached) no
checking whether sys/select.h and sys/time.h may both be included...
no
checking for addrinfo... (cached) no
checking for sockaddr_storage... (cached) no
checking whether char is unsigned... (cached) no
checking for working const... (cached) no
checking for working volatile... yes
checking for working signed char... no
checking for prototypes... no
checking for variable length prototypes and stdarg.h... no
checking if sockaddr has sa_len member... no
checking for bad static forward... (cached) no
checking whether va_list is an array... no
checking for gethostbyname_r... (cached) no
checking for gethostbyname... (cached) yes
checking for __fpu_control... (cached) no
checking for __fpu_control in -lieee... (cached) no
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for hypot... (cached) yes
checking what malloc(0) returns... (cached) null
checking for wchar.h... (cached) yes
checking size of wchar_t... (cached) 0
checking what type to use for unicode... unsigned short
checking whether byte ordering is bigendian... (cached) yes
checking whether right shift extends the sign bit... (cached) yes
checking for getc_unlocked() and friends... (cached) yes
checking for rl_pre_input_hook in -lreadline... (cached) no
checking for rl_completion_matches in -lreadline... (cached) no
checking for broken nice()... (cached) no
checking whether mvwdelch is an expression... (cached) no
checking whether WINDOW has _flags... (cached) no
checking for socklen_t... (cached) yes
checking for build directories... done
creating ./config.status
creating Makefile.pre
creating Modules/Setup.config
creating pyconfig.h
pyconfig.h is unchanged
creating Setup
creating Setup.local
creating Makefile




make output:
- -------------
cc -Ae -c -DNDEBUG -O -I. -I./Include -DHAVE_CONFIG_H -o
Modules/python.o Modules/python.c
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -O option is available only with the
C/ANSI C product; ignored.
cpp: "./Include/Python.h", line 44: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/pyport.h", line 86: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/pyport.h", line 462: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/pyport.h", line 480: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/pyport.h", line 86: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/pyport.h", line 462: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/pyport.h", line 480: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/objimpl.h", line 187: warning 2013: Unknown
preprocessing directive.
cpp: "./Include/unicodeobject.h", line 73: warning 2013: Unknown
preprocessing directive.
(Bundled) cc: "Include/pymem.h", line 88: error 1000: Unexpected
symbol: "size_t".
(Bundled) cc: "Include/object.h", line 103: error 1000: Unexpected
symbol: "*".
(Bundled) cc: "Include/object.h", line 104: error 1000: Unexpected
symbol: "*".
(Bundled) cc: error 2017: Cannot recover from earlier errors,
terminating.
*** Error exit code 1

Stop.
I did fresh install on hpux 11.00 (typical install). I then tried
installing python 2.2.2 and it gave errors in make. Actually during
configure it has many "no" output.
could one guide how to proceed?
Some more information is going to be required if anyone is going to help
you. As in the exact errors you got.
- --
http://mail.python.org/mailman/listinfo/python-list

------- End of Forwarded Message

Loading...