Closed ajnachakra closed 9 years ago
$ pip install pypcap
fails with:
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -DHAVE_PCAP_SETNONBLOCK=1 -DHAVE_PCAP_COMPILE_NOPCAP=1 -DHAVE_PCAP_FILE=1 -I/usr/include/pcap -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pcap.c -o build/temp.macosx-10.8-intel-2.7/pcap.o clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future error: command 'clang' failed with exit status 1
I tried, to no avail, a suggested workaround:
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install pcap
Any other ideas?
Context:
I'm thinking the pcap lib isn't necessary. I think I just added it in by mistake. I updated the script without "import pcap".
Thanks for the quick response =) I'll reclone and run again.
fails with:
I tried, to no avail, a suggested workaround:
Any other ideas?
Context: