Building packages with NT port of Python

Bob Kline bobklin at idt.net
Fri Sep 10 11:05:47 EDT 1999


This is a re-post of a question I posted a week ago.  I didn't
get a response from anyone who knows the answer, so I'd
like to ask for advice from those who have more experience
with this newsgroup for how to modify the presentation of the
question so as to increase the chances I'll get an answer.

For example, perhaps I was too specific, and I should have
asked a more general question, like "what do need to know
or read in order to build contributed packages on NT if I'm
using the version installed from the py152.exe downloaded
from the Web site?"

TIA.

Here's the original question:
--------------------------------------------
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