Error installing mod_wsgi 3.2

前端 未结 4 1778
悲&欢浪女
悲&欢浪女 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条回答
  •  萌比男神i
    2021-01-22 11:30

    This is a late answer, but I found a solution in my searching and wanted to include it here for others. This error typically occurs because you are trying to build libraries for ppc architecture which won't work as xcode4 doesn't no longer includes support for ppc. You can get around this by setting the following in your environment before running your build (I put this in my .bash_profile so I don't beat my head against the wall later):

    export ARCHFLAGS="-arch i386 -arch x86_64"
    

提交回复
热议问题