Patrick,
somewhere in you config, remove the -Wnewline-eof flag,
https://github.com/mozilla/rust/issues/4783



On Tue, Aug 13, 2013 at 8:46 PM, Patrick Higgins <[email protected]>wrote:

> Thanks Scott,
>
> Not sure why, but now I'm back to this error:
>
> Making all in lang/py/support
> g++ -DHAVE_CONFIG_H -I. -I/Users/Patrick/nupic-master/lang/py/support
> -I../../../build_system/unix    -I/Users/Patrick/nupic-master
> -I/Users/Patrick/nupic-master/external/common/include
> -I/Users/Patrick/nupic-master/external/darwin64/include -fvisibility=hidden
> -DNTA_INTERNAL -gfull -DNTA_ASSERTIONS_ON   -fPIC -DPIC -Wnewline-eof -m64
> -DNTA_PLATFORM_darwin64 -Wall -Wreturn-type -Wunused-variable
> -Wno-deprecated -DBOOST_NO_WREGEX -DNTA_INSTRUMENT_ON
> -DNTA_PYTHON_SUPPORT=2.6 -DNTAPY_INCLUDE="<python2.6/"
> -DNTAPY_PACKAGES="\"lib/python2.6/site-packages\""
> -I/System/Library/Frameworks/Python.framework/Versions/2.6/include
> -I/Users/Patrick/nupic-master/external/darwin64/lib/python2.6/site-packages/numpy/core/include
> -O3 -fno-strict-aliasing -falign-loops=16 -fpermissive  -DNUPIC2  -MT
> libsupport_a-NumpyVector.o -MD -MP -MF .deps/libsupport_a-NumpyVector.Tpo
> -c -o libsupport_a-NumpyVector.o `test -f 'NumpyVector.cpp' || echo
> '/Users/Patrick/nupic-master/lang/py/support/'`NumpyVector.cpp
> g++: error: unrecognized command line option '-Wnewline-eof'
> make[1]: *** [libsupport_a-NumpyVector.o] Error 1
> make: *** [all-recursive] Error 1
>
>
>
>
> Patrick
>
>
>
> On Aug 13, 2013, at 9:54 AM, Scott Purdy wrote:
>
> > You really don't want to sudo for the build steps.  The problem with the
> permissions was that you had a module installed via pip at the system
> level.  The simple solution to get NuPIC running is:
> >
> > sudo pip uninstall python-dateutil
> >
> > Now that you did the build with sudo, you will need to "sudo rm -r
> $BUILDDIR" and "sudo rm -r $NTA" to get rid of all the files with root
> permissions.  After all that, the build script without sudo should work.
>
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>



-- 
Marek Otahal :o)
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to