Distutils error on a VPS

tracy s. ruggles trace at reinventnow.com
Wed Jun 13 11:15:32 EDT 2001


Has anyone out there had experience installing new packages on a VPS
(virtual private server)?  I've posted a few question about trying to
install MySQLdb and haven't received any response...

Are there any tricks to installing on a VPS?

All of the code in distutils/sysconfig.py spits out wrong directory paths
for the include and header directories.  I've tried altering that code but
to no avail... I still get this error:

building '_mysql' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC
-I~/usr/local/mysql-3.23.38/include/mysql
-I/usr/home/ol0401/usr/local/Python-2.1/Lib -c _mysql.c -o
build/temp.solaris-2.6-sun4u-2.1/_mysql.o
_mysql.c:31: Python.h: No such file or directory
_mysql.c:40: structmember.h: No such file or directory
_mysql.c:41: mysql.h: No such file or directory
_mysql.c:42: mysqld_error.h: No such file or directory
_mysql.c:43: errmsg.h: No such file or directory
error: command 'gcc' failed with exit status 1

Does anyone know what's going?

Thanks,
Tracy

-- 
Tracy S. Ruggles -- COPI / OutputLinks -- http://www.outputlinks.com
    Email)  TR at 888999copi.com
    Phone)  888/999.copi ext "TR"




More information about the Python-list mailing list