I don't know. Some folks have MACOSX_DEPLOYMENT_TARGET set properly on their macs, some don't. I still think that Xcode is changing this environment variable, very possibly when command line tools are installed. --------- Matt Taylor OS Community Flag-Bearer Numenta
On Wed, Aug 5, 2015 at 4:50 AM, cogmission (David Ray) <[email protected]> wrote: > Do we know whether this is going to be a requirement going forward? Apple > added this clang configuration only for 10.10 or will it be so going forward > and do we need to add this to the instructions? > > On Tue, Aug 4, 2015 at 9:40 PM, Chirag <[email protected]> wrote: >> >> I agree with this.. >> >> >> This exact command worked for me.. >> >> sudo MACOSX_DEPLOYMENT_TARGET=10.10 ARCHFLAGS="-arch x86_64" pip install >> nupic >> >> I followed these pre-instructions >> >> 1) https://github.com/numenta/nupic/wiki/Running-NuPIC-on-OS-X >> >> 2) And then this page.. >> >> https://github.com/numenta/nupic/blob/master/README.md >> >> But on this 2nd page, >> >> instead of pip install nupic >> >> I used this command.. >> >> sudo MACOSX_DEPLOYMENT_TARGET=10.10 ARCHFLAGS="-arch x86_64" pip install >> nupic >> >> >> The error I was getting was this: >> >> clang: error: invalid deployment target for -stdlib=libc++ (requires OS >> X 10.7 or later) >> >> error: command 'gcc' failed with exit status 1 >> >> >> Regards, >> >> Chirag >> >> http://www.autovimana.com >> >> >> >> >> >> >> On Tue, Aug 4, 2015 at 7:44 AM, Jamie Gabriel <[email protected]> wrote: >>> >>> Hey Adam, >>> >>> I just ran into this issue myself. Check out the thread at: >>> https://github.com/numenta/nupic/issues/2061 >>> >>> Try including export MACOSX_DEPLOYMENT_TARGET=10.10 before your run the >>> install. I am not quiet sure how this fixed it, but it did the trick. >>> Cheers, Jamie >>> >>> On Tue, Aug 4, 2015 at 9:13 PM, Adam Casper <[email protected]> wrote: >>>> >>>> I’m trying to get the newest version of n NuPIC up and running but i’m >>>> having some trouble with the build. >>>> >>>> I’m getting these errors. Any help would be appreciated. Thanks, Adam >>>> >>>> clang: error: invalid deployment target for -stdlib=libc++ (requires OS >>>> X 10.7 or later) >>>> error: command '/usr/bin/clang' failed with exit status 1 >>>> >>>> >>>> >>>> >>>> clang: error: invalid deployment target for -stdlib=libc++ (requires OS >>>> X 10.7 or later) >>>> error: command 'clang' failed with exit status 1 >>> >>> >> >> >> >> -- >> Chirag > > > > > -- > With kind regards, > > David Ray > Java Solutions Architect > > Cortical.io > Sponsor of: HTM.java > > [email protected] > http://cortical.io
