Error installing mod_wsgi 3.2

前端 未结 4 1777
悲&欢浪女
悲&欢浪女 2021-01-22 10:30

I am trying to install mod_wsgi 3.2 on Mac OSX 10.6.6 and am getting this error when I attempt to make

Installed assemblers are: /usr/bin/../libexec/gcc/darwin/x86_64/as

4条回答
  •  难免孤独
    2021-01-22 11:15

    Edit the Make file like:

    CPPFLAGS = -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DNDEBUG 
    CFLAGS = -Wc,"-arch i386" -Wc,"-arch x86_64" -Wc
    LDFLAGS = -arch i386 -arch x86_64 -F/Library/Frameworks -framework Python -u _PyMac_Error 
    LDLIBS = -ldl  -framework CoreFoundation
    

提交回复
热议问题