mod wsgi - Error installing mod_wsgi 3.2 -


I'm trying to install mod_wsgi 3.2 on Mac OSX 10.6.6 and when I

Installed assemblers are: /usr/bin/../libexec/gcc/darwin/x86_64/as Architectures for x86_64 /usr/bin/../libexec/gcc/darwin/i386/as i386 lipo: input file Can not open: /var/folders/XW/XWYalsEzG3Gkn+PhoNKF0k+++TI/-Tmp-//ccsEgbTa.out (no such file or directory) apxs: Error: Command failed with RC = 65536 Make: * [mod_wsgi.la] error 1

it's late The answer is, but I found a solution in my search and wanted to include it here for others This error usually occurs because you are trying to create a library for PPC architecture, which will not work because xcode4 is now available for PPC Does not include support for. You can set the following in your environment before running in your build (I put it in my .bash_profile, so I can not beat my head against the wall):

  export ARCHFLAGS = "- Arc I386 -arch x86_64"    

Comments