Menu

Install on Mac OS X 10.1?

Help
2001-10-25
2012-09-19
  • Chris Muldrow

    Chris Muldrow - 2001-10-25

    I'm havng trouble installing on Mac OS X 10.1. I'm using the latest version of the developer tools. This is the tail of the error message:

    running build_ext
    building '_mysql' extension
    creating build/temp.darwin-1.4-Power Macintosh-2.1
    cc -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/mysql -I/usr/local/include/python2.1 -c _mysql.c -o build/temp.darwin-1.4-Power Macintosh-2.1/_mysql.o
    In file included from /usr/local/include/python2.1/pyport.h:84,
                     from /usr/local/include/python2.1/Python.h:54,
                     from _mysql.c:31:
    /usr/include/math.h:191: warning: function declaration isn't a prototype
    cc -bundle -undefined suppress build/temp.darwin-1.4-Power Macintosh-2.1/_mysql.o -L/usr/local/lib/mysql -lmysqlclient -lz -o build/lib.darwin-1.4-Power Macintosh-2.1/_mysql.so
    /usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect
    error: command 'cc' failed with exit status 1

     
    • Luca De Santis

      Luca De Santis - 2001-11-03

      Chris

      the explanation (and the solution) for this problem can be found here:
      http://sourceforge.net/tracker/index.php?func=detail&aid=476337&group_id=22307&atid=374932
      (bug #476337  for this project).

      I just followed the instructions and everything worked fine. I was even able to install the MySql DA module for Zope on my Mac OS 10.1 (beware: just use - as it seems you are doing - the latest dev tools from Apple).

      Hope this helps.

      Ciao
      Luca Dex

       

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.