Failure building MySQLdb

Bob Kline bobklin at idt.net
Sat Sep 4 12:50:51 EDT 1999


I'm trying to build MySQLdb version 0.0.3.  The README is a bit sparse.  It
says:

"To build:       python build.py
To install:     follow additional instructions after build.

Uh, that's it."

OK, worked fine on Linux (2.2.5).  On NT the following diagnostics are
spewed out:

cp: f:\python/lib/python1.5/config/Makefile.pre.in: No such file or
directory
make: Makefile.pre.in: No such file or directory
make: *** No rule to make target `Makefile.pre.in'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
Traceback (innermost last):
  File "build.py", line 14, in ?
    import MySQLdb
  File "MySQLdb.py", line 19, in ?
    from _mysql import *
ImportError: No module named _mysql

The version of Python:
Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Installed from py152.exe and python-win32all-125.exe, downloaded from
http://www.python.org/download/download_windows.html.  Obviously the
NT installation is missing some pieces.  Can I get a tip on where to look
for the missing pieces?  If it's in the FAQ (I looked) just whack me over
the head and give me a string to search for.

Thanks.

Bob Kline
bkline at rksystems.com







More information about the Python-list mailing list