[Zope-DB] Installing MySQLdb on OS X 10.3 (Panther)

Dieter Maurer dieter at handshake.de
Sat Feb 28 06:36:10 EST 2004

Ed Leafe wrote at 2004-2-27 08:12 -0500:
> ...
>configure:2570: gcc  -c -g -O2  conftest.c >&5
>In file included from configure:2526:
>/usr/local/include/stdio.h:65:23: sys/types.h: No such file or directory

What a strange place to look for "stdio.h".

It seems as if your "gcc" were installed in a strange way.

"stdio.h" and "sys/types.h" usually live in "/usr/include".

It might be possible to get Python compiled when you add
an appropriate "-I" option to "gcc".

You should check, where your "sys/types.h" is and
then try to change the configure script to add additional
places to look for includes.

"configure" is often generated by "autoconf" (not sure whether
this is true for Python). If you have "autoconf" installed,
you might try this route.


More information about the Zope-DB mailing list