[Python-Dev] Config problems in 2.1 for Digital Unix

Cameron Laird claird@starbase.neosoft.com
Thu, 5 Apr 2001 17:36:46 -0500 (CDT)


Host:  Digital Unix V4.0 (also Tru64 Unix 4.0G, also OSF1).

Successful installation requires
  ./configure --with-cxx=gcc
  sed -e "s/-O -Olimit 1500/-O/" Makefile > /tmp/Makefile
  mv /tmp/Makefile Makefile

The result of a plain configure is
  loading cache ./config.cache
  checking MACHDEP... osf1V4
  checking for --without-gcc...
  checking for --with-cxx=<compiler>... no
  checking for c++... c++
  checking whether the C++ compiler (c++  ) works... no
  configure: error: installation or configuration problem: C++ compiler cannot create executables.       

If I leave the Makefile unaltered, I see
  gcc -c -O -Olimit 1500 -I. -I./Include -DHAVE_CONFIG_H  -o Modules/ccpython.o ./
  Modules/ccpython.cc
  gcc: 1500: No such file or directory
  cc1plus: Invalid option `-Olimit'
  make: *** [Modules/ccpython.o] Error 1 

Yes, there's probably a way to configure this in one line.
I think this is a better explanation, for now.

Do I need to figure out the correct patch to configure.in,
or is there a specialist who takes responsibility for that?