Matt Bailey wrote:
> File "/usr/lib/python2.3/distutils/sysconfig.py", line 159, in
>customize_compiler
> cpp = cc + " -E" # not always
>TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>
>Any ideas?
>
>
From the lines above this line, looks like you haven't got any C
compiler specified in your configuration files:
(cc, cxx, opt, basecflags, ccshared, ldshared, so_ext) = \
get_config_vars('CC', 'CXX', 'OPT', 'BASECFLAGS',
'CCSHARED', 'LDSHARED', 'SO')
I've never had this before so not sure why! The comments suggest that
they should be in Python's Makefile. Perhaps the python installed on
your system doesn't have a makefile, or indeed sources. You might want
to download the latest version of Python as sources, compile+install,
and maybe it will work then?
Ben.
|