Compilation --with-python fails on Solaris 8

Arcady Genkin <a.genkin@utoronto.ca>

From: Arcady Genkin <a.genkin@utoronto.ca>
To: pgsql-bugs@postgresql.org
Date: 2001-05-25T20:54:11Z
Lists: pgsql-bugs
Trying to compile 7.1.1 on the system:

g9genarc@eddie:~$ uname -a
SunOS eddie 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
g9genarc@eddie:~$ gcc -v
Reading specs from /local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
g9genarc@eddie:~$ python -V
Python 2.1

with the following options to ./configure:

env CFLAGS='-O2 -pipe' ./configure --prefix=/opt/pgsql \
       --with-perl --with-python --with-CXX

the compilation fails while compiling the Python interface with the
following (very long) error message: