I see thank you! ENV done now.
here is the complete list of steps I have done and that will eventually
lead to the CLANG error:

- download nupic-darwin64  ( https://github.com/numenta/nupic-darwin64 )
- saved to /User/giuseppe/
- in terminal run: source nupic-darwin64/bin/activate   ( I have not run
*make* within nupic-darwin64  just activate)
- download nupic  ( https://github.com/numenta/nupic )
- saved to /User/giuseppe/
- in Terminal *cd nupic* and then *ARCHFLAGS="-arch x86_64" python setup.py
install*

At this stage, after a bit a get the CLANG error...
/G



On Sun, Mar 29, 2015 at 10:55 PM, cogmission (David Ray) <
[email protected]> wrote:

> Mine is /Users/cogmission/git/nupic... for instance
>
> On Sun, Mar 29, 2015 at 3:55 PM, cogmission (David Ray) <
> [email protected]> wrote:
>
>> that means do:  "export NUPIC=<path to your nupic dir>"
>>
>>
>>
>> On Sun, Mar 29, 2015 at 3:49 PM, Giuseppe Torre <[email protected]>
>> wrote:
>>
>>> Hi David,
>>>   I do have Xcode 6.1.1, command line tool as well as all required stuff
>>>  installed..
>>> but I still get that CLANG error.
>>> The only step I did not do is: "*Set the NUPIC environment variable to
>>> the absolute path to your local checkout of NuPIC." *because I am not
>>> sure what it means...I wonder if this is cause of the Clang issue...
>>> Thanks though
>>> /G
>>>
>>> On Sun, Mar 29, 2015 at 8:46 PM, cogmission (David Ray) <
>>> [email protected]> wrote:
>>>
>>>> Hi Giuseppe,
>>>>
>>>> I am in no way a Python/C++ NuPIC installation guru - but I would first
>>>> recommend
>>>> making sure you have both Xcode installed then make sure you install
>>>> the "command line tools" -->
>>>> http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
>>>>
>>>> Cheers...
>>>>
>>>> On Sun, Mar 29, 2015 at 12:39 PM, Giuseppe Torre <
>>>> [email protected]> wrote:
>>>>
>>>>> Hello,
>>>>>   I have a problem and a doubt.
>>>>> I will start with the doubt (I am a newbie so apologies in advance):
>>>>> In the documentation you ask :
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Set the NUPIC environment variable to the absolute path to your local
>>>>> checkout of NuPIC.export NUPIC=<repo-path>If you are going to run tests,
>>>>> you might need to add py.test to your $PATH for tests to run. This will be
>>>>> in different locations depending on your python environment, so we'll 
>>>>> leave
>>>>> this up to you.*
>>>>>
>>>>> What do you mean? What am I suppose to do?
>>>>>
>>>>> The problem:
>>>>> I have tries to compile using ARCHFLAGS="-arch x86_64" python setup.py
>>>>> install
>>>>> ....but I get the following CLANG error:
>>>>>
>>>>> building 'nupic.libcpp_region' extension
>>>>>
>>>>> clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
>>>>> -Qunused-arguments -Qunused-arguments -arch x86_64 -DNUPIC2 
>>>>> -DNTA_OS_DARWIN
>>>>> -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON
>>>>> -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX
>>>>> -I/Users/giuseppetorre/nupic/external/darwin64/include
>>>>> -I/Users/giuseppetorre/nupic/external/common/include
>>>>> -I/Users/giuseppetorre/nupic/extensions -I/Users/giuseppetorre/nupic
>>>>> -I/Users/giuseppetorre/nupic/extensions/core/build/release/include
>>>>> -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
>>>>> -I/Users/giuseppetorre/nupic-darwin64/lib/python2.7/site-packages/numpy/core/include
>>>>> -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c
>>>>> extensions/py_support/NumpyVector.cpp -o
>>>>> build/temp.macosx-10.6-intel-2.7/extensions/py_support/NumpyVector.o
>>>>> -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type
>>>>> -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++
>>>>>
>>>>> clang: error: invalid deployment target for -stdlib=libc++ (requires
>>>>> OS X 10.7 or later)
>>>>>
>>>>> error: command 'clang' failed with exit status 1
>>>>>
>>>>> Thanks in advance for your help
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *With kind regards,*
>>>>
>>>> David Ray
>>>> Java Solutions Architect
>>>>
>>>> *cortical.io <http://cortical.io/>*
>>>> Sponsor of:  HTM.java <https://github.com/numenta/htm.java>
>>>>
>>>> [email protected]
>>>> http://cortical.io
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> *With kind regards,*
>>
>> David Ray
>> Java Solutions Architect
>>
>> *cortical.io <http://cortical.io/>*
>> Sponsor of:  HTM.java <https://github.com/numenta/htm.java>
>>
>> [email protected]
>> http://cortical.io
>>
>
>
>
> --
> *With kind regards,*
>
> David Ray
> Java Solutions Architect
>
> *cortical.io <http://cortical.io/>*
> Sponsor of:  HTM.java <https://github.com/numenta/htm.java>
>
> [email protected]
> http://cortical.io
>



--

Reply via email to