schmir / bbfreeze

UNMAINTAINED
http://pypi.python.org/pypi/bbfreeze/
92 stars 22 forks source link

Install is failing with XCode 5.1 #23

Closed vsolovyov closed 10 years ago

vsolovyov commented 10 years ago

When I try to install bbfreeze on OS X, it fails:

cc -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 -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _bbfreeze_loader/console.c -o build/temp.macosx-10.9-intel-2.7/_bbfreeze_loader/console.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 'cc' failed with exit status 1

As I understand, it happens only with a new version of XCode/clang:

> clang --version
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

It is still possible to install it using this command:

> ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future easy_install bbfreeze

But it will not be possible to do this in the future.

schmir commented 10 years ago

Sorry, OS X isn't supported by bbfreeze. You may try to use py2app instead.