TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Hallvard B Furuseth
h.b.furuseth at usit.uio.no
Mon Aug 30 21:31:10 CEST 2004
> Set your environment 'CC' environment variable to gcc and it should go
How do I set this environmet variable ??
I don't have a lot of linux experience ;-)
> For Bourne-style shells (BASH, ZSH, etc.) ``export CC=gcc`` will do it
> for the current shell (won't save it for future use, that requires
> setting it in your shell's config file.
Nitpick: That works for bash and zsh - and therefore for Martin, since
he uses Linux - but not for plain non-Linux Bourne 'sh'. The portable
Bourne way is
CC=gcc; export CC
> For CSH style I think it is ``setenv CC gcc`` but I am not sure.
And the standard way which works for both Bourne and CSH style, but for
just one command at a time (in this case ./configure), is
env CC=gcc ./configure
More information about the Python-list