Compiling Python 2.2 for HPUX 10.20 does not work

pekka niiranen krissepu at vip.fi
Tue Mar 5 04:15:00 EST 2002


Hi,

I tried the build script below in HP-UX 10.20
( HP-UX B.10.20 A 9000/777 2002144332 two-user license)
and got the following errors during make:

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: "Python.h", line 44: warning 2013: Unknown preprocessing directive.
cpp: "pyport.h", line 86: warning 2013: Unknown preprocessing directive.
cpp: "pyport.h", line 419: warning 2013: Unknown preprocessing directive.
cpp: "pyport.h", line 437: warning 2013: Unknown preprocessing directive.
cpp: "pyport.h", line 86: warning 2013: Unknown preprocessing directive.
cpp: "pyport.h", line 419: warning 2013: Unknown preprocessing directive.
cpp: "pyport.h", line 437: warning 2013: Unknown preprocessing directive.
cpp: "objimpl.h", line 187: warning 2013: Unknown preprocessing directive.
cpp: "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                                                        


Anybody had luck with compiling ?
       
-pekka-

czrpb wrote:

>Michael:
>
>That seemed to work, thanks!
>
>Could I bother you to explain why and more importantly why Python
>itself can not figure this out?
>
>thanks!! -- Quentin
>
>--- In python-list at y..., Michael Piotrowski <mxp at d...> wrote:
>
>>"czrpb" <nanotech at e...> writes:
>>
>>>I am having the following issues compiling:
>>>
>>>HPUX 11.0
>>>=========
>>>
>>[...]
>>
>>I just tried building Python 2.2 on HP-UX and had no problems; here's
>>my build script:
>>
>>---------------------------------------------------------------------
>>#! /usr/bin/sh
>>
>>unset LANG
>>export CCOPTS='+z'
>>
>>make distclean
>>
>>CC=cc ./configure --without-gcc --without-cxx \
>> --prefix=/opt/python && make
>>---------------------------------------------------------------------
>>
>>HTH
>>
>>-- 
>>Michael Piotrowski, M.A.                                  <mxp at d...>
>>-- 
>>http://mail.python.org/mailman/listinfo/python-list
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20020305/77b1ab9c/attachment.html>


More information about the Python-list mailing list