Menu

Error in Building for OS X 10.6

Help
Philip C
2009-09-01
2012-09-19
  • Philip C

    Philip C - 2009-09-01

    I'm attempting to build 1.2.3c1 on OS X 10.6 installed, but keep getting this error message:

    MySQL-python-1.2.3c1$ python setup.py build
    running build
    running build_py
    copying MySQLdb/release.py -> build/lib.macosx-10.3-i386-2.6/MySQLdb
    running build_ext
    building '_mysql' extension
    gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Dversion_info=(1,2,3,'gamma',1) -Dversion=1.2.3c1 -I/usr/local/mysql/include/mysql -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.3-i386-2.6/_mysql.o -arch x86_64 -fno-omit-frame-pointer -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL
    In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
    from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
    from pymemcompat.h:10,
    from _mysql.c:29:
    /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
    error: command 'gcc' failed with exit status 1

    Any ideas?

     
    • Lee Hinde

      Lee Hinde - 2009-09-05

      did you update your XCode install? There's an installer for it on the SL DVD

       
  • Anonymous

    Anonymous - 2009-12-24

    I have the same problem, and none of the suggested solutions help. When I do
    an ls /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h, I get the file
    shown to be there.

    Have you found a solution?

    John

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.