Whoops, I missed that. Do you mind filing a bug report?

https://github.com/numenta/nupic/issues/new?body=%3E%20What%20did%20you%20do%3F%20(steps%20to%20reproduce)%0A%0A%3E%20What%20happened%3F%20(actual%20results)%0A%0A%3E%20What%20should%20have%20happened%3F%20(expected%20results)%0A%0A%3E%20Additional%20Information%20(operating%20system%2C%20python%20version%2C%20NuPIC%20commit%20SHA%2C%20etc.)

Thanks,
---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Thu, Mar 5, 2015 at 10:18 AM, David Wood <[email protected]> wrote:
> Hi Matt,
>
> That’s what I tried when I tried compiling:
> [[
> $ ARCHFLAGS="-arch x86_64" python setup.py install —user
> ]]
>
> Regards,
> Dave
> --
> http://about.me/david_wood
>
>
>
>> On Mar 5, 2015, at 12:39, Matthew Taylor <[email protected]> wrote:
>>
>> Instead of 'sudo', can you try installing with "python setup.py install 
>> --user"?
>> ---------
>> Matt Taylor
>> OS Community Flag-Bearer
>> Numenta
>>
>>
>> On Thu, Mar 5, 2015 at 9:23 AM, David Wood <[email protected]> wrote:
>>> Hi NuPIC,
>>>
>>> Following my success getting NuPIC running on Linux, I thought (naively) 
>>> that I should get it set up on my Mac laptop so I could take advantage of 
>>> offline development and the ability to visualize the output graphs more 
>>> easily. Unfortunately, I have run into the same error with both the binary 
>>> installation and compiling from source.
>>>
>>> This is on a mid-2014 MacBook Pro running OS X 10.10.2. I am using the 
>>> system Python, version 2.7.6.
>>>
>>> Here are the steps I took and the error messages. Any ideas on what I 
>>> should try next? Thanks!
>>>
>>> Setup dependencies:
>>> [[
>>> # First run XCode and opt to "Install Optional Components"
>>> $ xcode-select --install # Also needed
>>> $ sudo easy_install pip
>>> $ sudo pip install wheel
>>> $ sudo pip install numpy
>>> ]]
>>>
>>> Steps to install the binary:
>>> [[
>>> $ sudo pip install nupic
>>> ...
>>> _imagingft.c:237:34: error: use of undeclared identifier 
>>> 'FT_GLYPH_BBOX_SUBPIXELS'
>>>
>>>        FT_Glyph_Get_CBox(glyph, FT_GLYPH_BBOX_SUBPIXELS, &bbox);
>>> ...
>>> error: command 'cc' failed with exit status 1
>>> ]]
>>>
>>>
>>> Steps to compile:
>>> [[
>>> $ export NUPIC=/Users/dwood/code/nupic
>>> $ mkdir $NUPIC; cd !$
>>> $ git clone https://github.com/numenta/nupic.git # or clone via GitHub 
>>> Desktop
>>> $ ARCHFLAGS="-arch x86_64" python setup.py install --user
>>> ...
>>> /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56:
>>>  note: expanded from macro 'Py_SIZE'
>>> #define Py_SIZE(ob)             (((PyVarObject*)(ob))->ob_size)
>>>                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
>>> _imagingft.c:237:34: error: use of undeclared identifier 
>>> 'FT_GLYPH_BBOX_SUBPIXELS'
>>> ...
>>> error: command 'cc' failed with exit status 1
>>> ]]
>>>
>>>
>>> Regards,
>>> Dave
>>> --
>>> http://about.me/david_wood
>>>
>>>
>>>
>>>
>>
>
>

Reply via email to