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

Ed Leafe ed at leafe.com
Fri Feb 27 08:12:15 EST 2004


On Feb 26, 2004, at 8:55 PM, Matthew T. Kromer wrote:

> It seems to me that the Python provided with OS X is (was?) b0rked so 
> you couldnt't complile your own extensions properly.  I would suggest 
> you try building Python 2.3 yourself from source, and then I think 
> you'll have better luck.

	OK, I DL'd the source, and tried to build, following the instructions 
for OS X. Configure seemed to run OK, but make threw a ton of errors 
and quickly exited. Looking at the config.log file, there was some 
normal result lines, but then a lot of problem lines, beginning with:

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
/usr/local/include/stdio.h:68:23: sys/cdefs.h: No such file or directory
/usr/local/include/stdio.h:70:26: machine/ansi.h: No such file or 
directory
In file included from configure:2526:
/usr/local/include/stdio.h:73: error: parse error before "size_t"
/usr/local/include/stdio.h:81: error: parse error before "fpos_t"
/usr/local/include/stdio.h:143: error: parse error before "fpos_t"
/usr/local/include/stdio.h:160: error: parse error before "_offset"

	I ran a quick 'locate stdio.h' as root, and there was no such file on 
my system. I do have the Xcode dev tools installed, if that makes a 
difference.

	Again, apologies for the non-Zopish nature of the questions. If anyone 
can recommend a more appropriate source for help, I would be grateful.

      ___/
     /
    __/
   /
  ____/
  Ed Leafe

Linux Love:
unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep




More information about the Zope-DB mailing list