Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup script exited with error: command 'clang' failed with exit status 1 #11

Open
manifestinteractive opened this issue Nov 24, 2012 · 5 comments

Comments

@manifestinteractive
Copy link

Running this command on OSX Mountain Lion ( Python 2.7.2 ):

sudo easy_install geocommit

Outputs:

Searching for geocommit
Reading http://pypi.python.org/simple/geocommit/
Reading http://pypi.python.org/geocommit
Best match: geocommit 0.9.3beta1
Downloading http://pypi.python.org/packages/source/g/geocommit/geocommit-0.9.3beta1.tar.gz#md5=69c84413274917d107ddfac5ee952c4f
Processing geocommit-0.9.3beta1.tar.gz
Running geocommit-0.9.3beta1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-H2DJtm/geocommit-0.9.3beta1/egg-dist-tmp-U5rpSD
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-mno-fused-madd'
src/geocommit/provider/corelocation/GGCLDelegate.m:41:11: error: 'locationServicesEnabled' is unavailable: not available on Mac OS X
if (![locationManager locationServicesEnabled]) return YES;
      ^
/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:125:37: note: declaration has been explicitly marked unavailable here
@property(readonly, nonatomic) BOOL locationServicesEnabled __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,__MAC_NA,__IPHONE_2_0,__IPHONE_4_0);
                                ^
1 error generated.
error: Setup script exited with error: command 'clang' failed with exit status 1

Tried using pip method as well, neither worked. Looks like the main issue is the _BOOL locationServicesEnabled _OSX_AVAILABLE_BUT_DEPRECATED so I figured I would ask if anyone knew what was up with that.

@naderman
Copy link
Collaborator

Sounds like this might be a compatibility problem with the latest OS X, @peritus?

@manifestinteractive
Copy link
Author

Not sure if this is related... looking into it:

http://support.apple.com/kb/HT5403

@MatthewWilkes
Copy link

I had this problem with the released version, but the code in GitHub seems to work.

@AlekSi
Copy link

AlekSi commented May 26, 2013

Same issue with released version. How about new release?

@zbeekman
Copy link

@MatthewWilkes : Would you mind telling me what you did to build this from source? I’m having the same issues and the authors only document installing with pip or easy_install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants