From ab21763d686d43f61d8d31637b0203849cd6f8dd Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Thu, 31 Jul 2003 23:56:01 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1921 --- doc/install_python_mysqldb.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/install_python_mysqldb.txt b/doc/install_python_mysqldb.txt index c1a541f09f..17f14d7313 100644 --- a/doc/install_python_mysqldb.txt +++ b/doc/install_python_mysqldb.txt @@ -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