*** empty log message ***

svn path=/trunk/boinc/; revision=1921
This commit is contained in:
Karl Chen 2003-07-31 23:56:01 +00:00
parent 8d5f8d4236
commit ab21763d68
1 changed files with 8 additions and 4 deletions

View File

@ -70,14 +70,18 @@ Unix/Linux: compiled statically into Python
$ cp MySQL-python-0.9.2/_mysql_exceptions.py Python-2.3/Lib/
$ cp -r MySQL-python-0.9.2/MySQLdb Python-2.3/Lib/
6. Configure python
8. Enter the MySQL module in the Python extension setup file.
$ cd Python-2.3/
$ ./configure --prefix=/path/to/install/python
7. Enter the MySQL module in the Python extension setup file.
$ perl -wpi.bak -e "s,^_sre _sre.c,_mysql _mysql.c `mysql_config --cflags` `mysql_config --libs`\n$&," Modules/Setup
(This adds the line '_mysql _msql.c [flags]' to Modules/Setup)
$ perl -wpi.bak -e 's,^LIBSUBDIRS=\s+,$&MySQLdb ,' Makefile.pre.in
(This adds MySQLdb to the list of libraries to install)
7. Configure python
$ cd Python-2.3/
$ ./configure --prefix=/path/to/install/python
8. Build
$ make