I've been trying to install MySQL-python-0.9.2 on Solaris 8 and to begin with I got this:
cc -xO3 -D_REENTRANT -I/usr/include/mysql -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/local/include/python2.1 -c _mysql.c -o build/temp.solaris-2.8-sun4u-2.1/_mysql.o -fPIC
unable to execute cc: No such file or directory
Having tried to link cc to gcc and alias cc to gcc (both of which failed), I adjusted setup.cfg with the lines:
[build]
compiler = gcc
and was greeted with the new error
distutils.errors.DistutilsPlatformError: don't know how to compile C/C++ code on platform 'posix' with 'gcc' compiler
Anybody got any ideas about how I might fix this?
Many thanks in advance.
CHEERS> SAM
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've been trying to install MySQL-python-0.9.2 on Solaris 8 and to begin with I got this:
cc -xO3 -D_REENTRANT -I/usr/include/mysql -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/local/include/python2.1 -c _mysql.c -o build/temp.solaris-2.8-sun4u-2.1/_mysql.o -fPIC
unable to execute cc: No such file or directory
Having tried to link cc to gcc and alias cc to gcc (both of which failed), I adjusted setup.cfg with the lines:
[build]
compiler = gcc
and was greeted with the new error
distutils.errors.DistutilsPlatformError: don't know how to compile C/C++ code on platform 'posix' with 'gcc' compiler
Anybody got any ideas about how I might fix this?
Many thanks in advance.
CHEERS> SAM