[Pythonmac-SIG] Pysqlite build problem

skip at pobox.com skip at pobox.com
Mon Oct 16 03:37:05 CEST 2006


    skip> I'm trying to get pysqlite 2.3.2 built on my Mac (OSX 10.4.8,
    skip> gcc-4.0, Python 2.4.4c1)....
    ...
    skip>     stdarg.h: No such file or directory/usr/include/stdarg.h:4:25:
    skip>      error: stdarg.h: No such file or directory

I updated setup.cfg to include /usr/lib/gcc/powerpc-apple-darwin8/4.0.0:

    [build_ext]
    define=
    include_dirs=/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include:/usr/local/include:/usr/include
    library_dirs=/usr/local/lib:/usr/lib/gcc/powerpc-apple-darwin8/4.0.0:/usr/lib
    libraries=sqlite3

Pysqlite builds with that change and passes all its tests.  What does it
take to get gcc to consider that directory by default?

Skip


More information about the Pythonmac-SIG mailing list