geocommit
geocommit copied to clipboard
Setup script exited with error: command 'clang' failed with exit status 1
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.
Sounds like this might be a compatibility problem with the latest OS X, @peritus?
Not sure if this is related... looking into it:
http://support.apple.com/kb/HT5403
I had this problem with the released version, but the code in GitHub seems to work.
Same issue with released version. How about new release?
@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.