aburan28 / py-radix

Automatically exported from code.google.com/p/py-radix
Other
0 stars 0 forks source link

Compiler flags need to be updated for MAC #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run: 'sudo python setup.py build install'
2. You'll see: radix.c:675: fatal error: error writing to -: Broken pipe

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
py-radix version: 0.5
MAC OSX 10.6.7

Please provide any additional information below.
This is not a bug with py-radix, but with OSX.  Thought I'd post it to save 
someone the hour of searching to find the solution (maybe add to readme?). 

It has to do with Apple trying to keep backwards compatibility with PPC.  
However, this breaks ARCHFLAGS...

You can fix by running:

sudo ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build

Original issue reported on code.google.com by jwoodbri...@gmail.com on 12 Jul 2011 at 4:32