Help building Python-2.1.1 under HP-UX Release 11.00

juan.alcolea at bt.es juan.alcolea at bt.es
Mon Sep 10 07:43:29 EDT 2001


Hi,

	I've been playing a little with Python under Windows, and I've found
it's a very interesting tool. I'm trying to build
Python-2.1.1 under HP-UX Release 11.00, so I can do some sample development
in our test server, but I'm getting some problems (please note that I'm not
a unix administrator, just a plain basic user). I downloaded the .tgz file,
decompressed it and ran the "configure" script. Then a did a "make", and
this is what I got:

----8<-----------------8<------------8<-----------8<-----------8<-----------
8<-----------8<-----------8<-----------8<-----------8<-----------8<---------
--
$ make
        cc -Ae -c -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 77: warning 2013: Unknown preprocessing
directive.
cpp: "./Include/pyport.h", line 404: warning 2013: Unknown preprocessing
directive.
cpp: "./Include/pyport.h", line 422: warning 2013: Unknown preprocessing
directive.
cpp: "./Include/pyport.h", line 77: warning 2013: Unknown preprocessing
directive.
cpp: "./Include/pyport.h", line 404: warning 2013: Unknown preprocessing
directive.
cpp: "./Include/pyport.h", line 422: 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.

----8<-----------------8<------------8<-----------8<-----------8<-----------
8<-----------8<-----------8<-----------8<-----------8<-----------8<---------
--

Can somebody help me with this? Any special actions required to build it
under HP-UX?


Big thanks in advance.

P.S. : I include the STDOUT of the "configure" script:


----8<-----------------8<------------8<-----------8<-----------8<-----------
8<-----------8<-----------8<

creating cache ./config.cache
checking MACHDEP... hp-uxB
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... no
checking for cc... 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... no
checking whether cc accepts -g... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for --with-suffix... 
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(CC)
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD compatible install... ./install-sh -c
checking how to run the C preprocessor... /lib/cpp
checking for AIX... no
checking for minix/config.h... no
checking whether cc -Ae accepts -OPT:Olimit=0... no
checking whether cc -Ae accepts -Olimit 1500... no
checking for ANSI C header files... yes
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for ncurses.h... no
checking for poll.h... yes
checking for pthread.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for thread.h... no
checking for unistd.h... yes
checking for utime.h... yes
checking for termios.h... yes
checking for sys/audioio.h... no
checking for sys/file.h... yes
checking for sys/lock.h... yes
checking for sys/modem.h... yes
checking for db_185.h... no
checking for db.h... no
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... no
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/un.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for pty.h... no
checking for libutil.h... no
checking for ndbm.h... yes
checking for db1/ndbm.h... no
checking for gdbm/ndbm.h... no
checking for sys/resource.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for clock_t in time.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking size of int... 4
checking size of long... 4
checking size of void *... 4
checking size of char... 1
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking size of fpos_t... 4
checking for long long support... yes
checking size of long long... 8
checking for uintptr_t support... no
checking size of off_t... 4
checking whether to enable large file support... no
checking size of time_t... 4
checking for pthread_t... yes
checking size of pthread_t... 0
checking for --with-next-framework... no
checking for --with-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... no
checking for shl_load in -ldld... yes
checking for --with-pydebug... no
checking for t_open in -lnsl... yes
checking for socket in -lsocket... 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 mach/cthreads.h... no
checking for --with-pth... no
checking for pthread_create in -lpthread... no
checking for pthread_detach... no
checking for kernel/OS.h... no
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lc_r... no
checking for __d6_pthread_create in -lthread... no
checking for __pthread_create_system in -lpthread... yes
checking for usconfig in -lmpc... no
checking for thr_create in -lthread... 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... yes
checking DYNLOADFILE... dynload_hpux.o
checking for alarm... yes
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for ctermid_r... no
checking for execv... yes
checking for flock... no
checking for fork... yes
checking for fsync... yes
checking for fdatasync... yes
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getpeername... yes
checking for getpid... yes
checking for getpwent... yes
checking for getwd... yes
checking for kill... yes
checking for link... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mktime... yes
checking for mremap... no
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... yes
checking for poll... yes
checking for pthread_init... no
checking for putenv... yes
checking for readlink... yes
checking for select... yes
checking for setegid... no
checking for seteuid... no
checking for setgid... yes
checking for setlocale... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setuid... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for strptime... yes
checking for symlink... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... no
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... no
checking for truncate... yes
checking for uname... yes
checking for waitpid... yes
checking for _getpty... no
checking for getpriority... yes
checking for openpty... no
checking for openpty in -lutil... no
checking for forkpty... no
checking for forkpty in -lutil... no
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for strerror... yes
checking for memmove... yes
checking for getpgrp... yes
checking for setpgrp... yes
checking for gettimeofday... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included... no
checking whether char is unsigned... no
checking for working const... 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 for bad static forward... no
checking whether va_list is an array... no
checking for gethostbyname_r... no
checking for gethostbyname... yes
checking for __fpu_control... no
checking for __fpu_control in -lieee... no
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for hypot... yes
checking what malloc(0) returns... null
checking for wchar.h... yes
checking for usable wchar_t... no
checking whether byte ordering is bigendian... yes
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking for rl_completion_matches in -lreadline... no
checking for broken nice()... no
checking for socklen_t... yes
checking for build directories... done
updating cache ./config.cache
creating ./config.status
creating Makefile.pre
creating Modules/Setup.config
creating config.h
config.h is unchanged
creating Setup
creating Setup.local
creating Makefile
----8<-----------------8<------------8<-----------8<-----------8<-----------
8<-----------8<-----------8<



Juan Jesús Alcolea Picazo - jjalcolea at inad.es



********************************************** 
Noticia legal 
Este mensaje electrónico contiene información de BT Telecomunicaciones S.A.
que es privada y confidencial, siendo para el uso exclusivo de la persona(s)
o entidades arriba mencionadas. Si usted no es el destinatario señalado, le
informamos que cualquier divulgación, copia, distribución o uso de los
contenidos está prohibida. Si usted ha recibido este mensaje por error, por
favor borre su contenido y comuníquenoslo en la dirección postmaster at bt.es. 
Gracias




More information about the Python-list mailing list