Menu

Mac OSX leopard build problems...

2008-04-16
2012-09-19
  • Justin McLaughlin

    I'm getting this message, with the error at the bottom:

    running build
    running build_py
    copying MySQLdb/release.py -> build/lib.macosx-10.5-i386-2.5/MySQLdb
    running build_ext
    building '_mysql' extension
    gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -pipe -Dversion_info=(1,2,2,'final',0) -D__version__=1.2.2 -I/Applications/xampp/xamppfiles/include/mysql -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c _mysql.c -o build/temp.macosx-10.5-i386-2.5/_mysql.o -arch i386 -arch ppc
    unable to execute gcc: No such file or directory
    error: command 'gcc' failed with exit status 1

     
    • Lloyd Kvam

      Lloyd Kvam - 2008-04-16

      unable to execute gcc: No such file or directory

      You need the C compiler to compile the core of the package.
      I don't know if there is a binary (pre-compiled) install file for the Mac.

       
      • Justin McLaughlin

        Ah. Stupid. That's what I get for trying to do things beyond my skill level. Thanks!

         
        • Oliver Bock

          Oliver Bock - 2008-04-16

          You need to install the Apple Developer Tools DVD (Xcode et al) that comes with OS X.

           

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.